[ALFS Trac] #1738: "make chroot" should umount kernfs even if the shell exits with non-zero code
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
#1738: "make chroot" should umount kernfs even if the shell exits with non-zero
code
--------------------+------------------------
Reporter: xry111 | Owner: alfs-log@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: jhalfs | Version: GIT
Severity: normal | Keywords:
--------------------+------------------------
"make chroot" will start an interactive shell, and it's too easy to make
it exit with non-zero code (for example, pressing Ctrl+C before typing
"exit").
So I think we should make the exit code of the shell ignored:
{{{
chroot: devices
-sudo $(CHROOT1)
$(MAKE) teardown
}}}
Add a "-" before "sudo" here.
--
Ticket URL: <https://wiki.linuxfromscratch.org/alfs /ticket/1738>
ALFS Trac <https://wiki.linuxfromscratch.org/alfs/>
Automated Linux From Scratch
--
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page