From 200cc0151e7be09cd85ad2ae9b06f2f1e619a763 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Tue, 12 Sep 2023 22:58:55 +0200 Subject: [PATCH] All the targets after mk_SUDO depend on "devices" Now that devices.sh can be run even if the fs are already mounted all the targets after mounting the virtual kernel fs can depend on "devices". This way, if for some reason a partial build is restarted after a reboot, the virtual kernel fs are automatically re-mounted. Fixes #1737 --- LFS/master.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/LFS/master.sh b/LFS/master.sh index ba06e7e..7e4e919 100644 --- a/LFS/master.sh +++ b/LFS/master.sh @@ -368,24 +368,24 @@ mk_SUDO: mk_LUSER @sudo make BREAKPOINT=\$(BREAKPOINT) SUDO @touch \$@ -mk_CHROOT: mk_SUDO +mk_CHROOT: mk_SUDO devices @\$(call echo_CHROOT_request) @( sudo \$(CHROOT1) -c "cd \$(SCRIPT_ROOT) && make BREAKPOINT=\$(BREAKPOINT) CHROOT") @touch \$@ -mk_BOOT: mk_CHROOT +mk_BOOT: mk_CHROOT devices @\$(call echo_CHROOT_request) @( sudo \$(CHROOT1) -c "cd \$(SCRIPT_ROOT) && make BREAKPOINT=\$(BREAKPOINT) BOOT") @touch \$@ -mk_BLFS_TOOL: create-sbu_du-report +mk_BLFS_TOOL: create-sbu_du-report devices @if [ "\$(ADD_BLFS_TOOLS)" = "y" ]; then \\ \$(call sh_echo_PHASE,Building BLFS_TOOL); \\ (sudo \$(CHROOT1) -c "make -C $BLFS_ROOT/work"); \\ fi; @touch \$@ -mk_CUSTOM_TOOLS: mk_BLFS_TOOL +mk_CUSTOM_TOOLS: mk_BLFS_TOOL devices @if [ "\$(ADD_CUSTOM_TOOLS)" = "y" ]; then \\ \$(call sh_echo_PHASE,Building CUSTOM_TOOLS); \\ sudo mkdir -p ${BUILDDIR}${TRACKING_DIR}; \\