Le dimanche 29 juin à 21:58, Bruce Dubbs a écrit :
> Philippe Delavalade wrote:
> >Le dimanche 29 juin à 20:13, Bruce Dubbs a écrit :
> >>Philippe Delavalade wrote:
> >>>Hi all.
> >>>
> >>>In 6.4 bokk says in a note :
> >>>
> >>>    It is important that all the commands throughout the remainder of this
> >>>    chapter and the following chapters are run from within the chroot
> >>>    environment. If you leave this environment for any reason (rebooting
> >>>    for example), ensure that the virtual kernel filesystems are mounted as
> >>>    explained in Section 6.2.2, "Mounting and Populating /dev" and
> >>>    Section 6.2.3, "Mounting Virtual Kernel File Systems" and enter chroot
> >>>    again before continuing with the installation.
> >>>
> >>>But after building bash we enter the command :
> >>>exec /bin/bash --login +h
> >>>
> >>>I wonder why there is no note about rebooting after this point because I
> >>>think that this command should be given too.
> >>>
> >>>Am I wrong ?
> >>
> >>Yes.  Running 'exec' just replaces the current shell with the target
> >>(/bin/bash) with new parameters.  No rebooting is needed or desired.
> >
> >That's not what I meant ; I was saying that, if someone reboots in chapter
> >6 after the installation of bash, he has certainly to issue the command
> >"exec..." after the chroot command.
> 
> No. The standard chroot command will take care of it in that situation.

OK ; thanks.

-- 
Ph. Delavalade
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to