Author: pierre Date: Fri Mar 15 01:55:01 2019 New Revision: 4085 Log: Remove sudo from commands run as root (and some DEBUG lines)
Modified: jhalfs/trunk/LFS/master.sh Modified: jhalfs/trunk/LFS/master.sh ============================================================================== --- jhalfs/trunk/LFS/master.sh Thu Mar 14 14:02:58 2019 (r4084) +++ jhalfs/trunk/LFS/master.sh Fri Mar 15 01:55:01 2019 (r4085) @@ -462,10 +462,6 @@ sed -e 's|^| |' \ -e 's|umount|@-sudo &|' \ -e 's|\$LFS|$(MOUNT_PT)|'` -#echo [DEBUG] -#echo devices=$devices -#echo teardown=$teardown -#echo teardownat=$teardownat # Drop in the main target 'all:' and the chapter targets with each sub-target # as a dependency. ( @@ -588,8 +584,8 @@ if [ "$INITSYS" = systemd ]; then ( cat << EOF - sudo mkdir -pv \$(MOUNT_PT)/run/systemd/resolve - sudo cp -v /etc/resolv.conf \$(MOUNT_PT)/run/systemd/resolve + mkdir -pv \$(MOUNT_PT)/run/systemd/resolve + cp -v /etc/resolv.conf \$(MOUNT_PT)/run/systemd/resolve EOF ) >> $MKFILE -- http://lists.linuxfromscratch.org/listinfo/alfs-log Unsubscribe: See the above information page