Author: pierre
Date: Fri May 8 01:22:55 2020
New Revision: 4159
Log:
Prevent a permission problem when using blfs tools with the cros-chap5 branch:
/var/lib needs to be owned by LUSER during chap 5, but it is owned
by root after installing the blfs tools. SO chown it.
Modified:
jhalfs/trunk/common/libs/func_install_blfs
Modified: jhalfs/trunk/common/libs/func_install_blfs
==============================================================================
--- jhalfs/trunk/common/libs/func_install_blfs Fri May 1 12:36:10 2020
(r4158)
+++ jhalfs/trunk/common/libs/func_install_blfs Fri May 8 01:22:55 2020
(r4159)
@@ -61,6 +61,10 @@
SVN=$SVN_2/BLFS/$BLFS_TREE \
$BUILDDIR$BLFS_ROOT/packages.xml
+# But then $BUILDDIR/var/lib/ is owned by root if just created, which
+# prevents $LUSER to create "nss_db". Change ownership here
+sudo chown $LUSER:$LGROUP $BUILDDIR/var/lib
+
# Because the BLFS Makefile is supposed to be used in chroot (or booted)
# mode, the tracking file has wrong path for DTD. Change it:
sudo sed -i s@$BUILDDIR@@ $BUILDDIR$TRACKING_DIR/instpkg.xml
--
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page