Add a sudo instruction in func_install_blfs
This commit is contained in:
parent
b9b4e313cd
commit
81cd513e46
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue