Changeset 088130f for LFS


Ignore:
Timestamp:
09/17/2020 03:30:29 PM (4 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
5562bf1
Parents:
426e40b
Message:

Fix changing the ownership of $BUILDDIR/var/lib to LUSER when it has been
created by func_install_blfs. Fixes ticket #1729

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/master.sh

    r426e40b r088130f  
    7171    esac
    7272    # 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"
    7474    name=`echo ${this_script} | sed -e 's@[0-9]\{3,4\}-@@' \
    7575                                    -e 's@-pass[0-9]\{1\}@@' \
     
    143143      *addinguser)
    144144(
     145# /var/lib may already exist and be owned by root if blfs tools
     146# have been installed.
    145147cat << EOF
    146148        @if [ -f luser-id ]; then \\
     
    153155        \$(PRT_DU) >>logs/\$@
    154156        @chown \$(LUSER):\$(LGROUP) envars
     157        @[ -d "\$(MOUNT_PT)/var/lib" ] && \\
     158            chown \$(LUSER):\$(LGROUP) \$(MOUNT_PT)/var/lib
    155159        @chmod -R a+wt $JHALFSDIR
    156160        @chmod a+wt \$(SRCSDIR)
Note: See TracChangeset for help on using the changeset viewer.