Le 06/06/2013 17:49, Philippe Delavalade a écrit : > Le jeudi 06 juin à 15:48, Pierre Labastie a écrit : >> Le 06/06/2013 14:50, Philippe Delavalade a écrit : >> _prompt_command() >> { >> local status="$?"; >> if [ $status != 0 ]; then >> echo -n "$status " 1>&2; >> fi >> } >> PROMPT_COMMAND=_prompt_command >> I haven't tried, but I would say that it could go in .bashlogin in >> /root. Then if you use the chroot command of 6.4, .bashlogin is sourced. >> >> Pierre > Thanks but I have just .bash_history in /root. > > Did I missed something ? > Sorry, I meant, put the lines from "_prompt_command()" to "PROMPT_COMMAND=..." into $LFS/root/.bashlogin (using copy/paste or an editor), and then chroot using the command on page 6.4.
Pierre -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page