From 81cd513e46f4e60270a8d6a480878dc62e8fc685 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Fri, 9 Mar 2012 20:27:22 +0000 Subject: [PATCH] Add a sudo instruction in func_install_blfs --- common/libs/func_install_blfs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/libs/func_install_blfs b/common/libs/func_install_blfs index bfb3aec..cf2a1dd 100644 --- a/common/libs/func_install_blfs +++ b/common/libs/func_install_blfs @@ -24,7 +24,9 @@ sed -i s@tracking-dir@$TRACKING_DIR@ \ ${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)