Changeset 088130f
- Timestamp:
- 09/17/2020 03:30:29 PM (4 years ago)
- Branches:
- ablfs-more, legacy, trunk
- Children:
- 5562bf1
- Parents:
- 426e40b
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/master.sh
r426e40b r088130f 71 71 esac 72 72 # Grab the name of the target 73 # This is only use to check the name in "opt_override" or "BLACKIST"73 # This is only used to check the name in "opt_override" or "BLACKIST" 74 74 name=`echo ${this_script} | sed -e 's@[0-9]\{3,4\}-@@' \ 75 75 -e 's@-pass[0-9]\{1\}@@' \ … … 143 143 *addinguser) 144 144 ( 145 # /var/lib may already exist and be owned by root if blfs tools 146 # have been installed. 145 147 cat << EOF 146 148 @if [ -f luser-id ]; then \\ … … 153 155 \$(PRT_DU) >>logs/\$@ 154 156 @chown \$(LUSER):\$(LGROUP) envars 157 @[ -d "\$(MOUNT_PT)/var/lib" ] && \\ 158 chown \$(LUSER):\$(LGROUP) \$(MOUNT_PT)/var/lib 155 159 @chmod -R a+wt $JHALFSDIR 156 160 @chmod a+wt \$(SRCSDIR) -
common/libs/func_install_blfs
r426e40b r088130f 63 63 64 64 # But then $BUILDDIR/var/lib/ is owned by root if just created, which 65 # prevents $LUSER to create "nss_db". Change ownership here 66 sudo chown $LUSER:$LGROUP $BUILDDIR/var/lib 65 # prevents $LUSER to create "nss_db". The problem is that $LUSER 66 # May not have been created yet. So do not change ownership here 67 # and do it in master.sh for chapter 4. 68 #sudo chown $LUSER:$LGROUP $BUILDDIR/var/lib 67 69 68 70 # Because the BLFS Makefile is supposed to be used in chroot (or booted)
Note:
See TracChangeset
for help on using the changeset viewer.