r3599 - jhalfs/branches/ablfs/common/libs

pierre at linuxfromscratch.org pierre at linuxfromscratch.org
Fri Mar 9 12:27:27 PST 2012


Author: pierre
Date: 2012-03-09 13:27:22 -0700 (Fri, 09 Mar 2012)
New Revision: 3599

Modified:
   jhalfs/branches/ablfs/common/libs/func_install_blfs
Log:
Add a sudo instruction in func_install_blfs

Modified: jhalfs/branches/ablfs/common/libs/func_install_blfs
===================================================================
--- jhalfs/branches/ablfs/common/libs/func_install_blfs	2012-03-09 17:06:11 UTC (rev 3598)
+++ jhalfs/branches/ablfs/common/libs/func_install_blfs	2012-03-09 20:27:22 UTC (rev 3599)
@@ -24,7 +24,9 @@
     ${BUILDDIR}${BLFS_ROOT}/{Makefile,gen-makefile.sh}
 
 # Downloads the book, initialize the tracking file and the package database
-make -j1 -C $BUILDDIR$BLFS_ROOT TRACKING_DIR=$BUILDDIR$TRACKING_DIR \
+# sudo is needed if $BUILDDIR/var/lib is owned by root and /var/lib/jhalfs
+# has to be created
+sudo make -j1 -C $BUILDDIR$BLFS_ROOT TRACKING_DIR=$BUILDDIR$TRACKING_DIR \
     $BUILDDIR$BLFS_ROOT/packages.xml
 
 # Because the BLFS Makefile is supposed to be used in chroot (or booted)




More information about the alfs-log mailing list