Ignore:
Timestamp:
07/07/2020 03:27:54 PM (4 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
ee842e2
Parents:
b6e981a
Message:

Various fixes for recent pacman with new book

  • add createfiles instructions of packageManager.xml for new book too
  • remove unneeded chown when installing pacman (not needed thanks to the above)
  • Use a dedicated user "builder" for running makepkg: user "tester" is removed at the end of chapter 8, but is needed in following chapters.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pkgmngt/packInstall.sh.pacman

    rb6e981a r3484658  
    3434# to /sources/$PACKAGE/src.
    3535mkdir -p ../$PACKAGE/src
    36 # We'll build as user tester. We need this directory to be owned by that user.
    37 chown -R tester ../$PACKAGE
     36# We'll build as user builder. We need this directory to be owned by that user.
     37chown -R builder ../$PACKAGE
    3838mv * ../$PACKAGE/src
    39 chown -R tester $PKG_DEST
     39chown -R builder $PKG_DEST
    4040chmod -R o+r ../$PACKAGE
    4141
     
    5252EOF
    5353# Building the binary package
    54 su tester -c"PATH=$PATH; makepkg -c --skipinteg" || true
     54su builder -c"PATH=$PATH; makepkg -c --skipinteg" || true
    5555# Installing it on LFS
    5656if ! pacman -U --noconfirm /var/lib/packages/$ARCHIVE_NAME; then
Note: See TracChangeset for help on using the changeset viewer.