Changeset 2c1a763
- Timestamp:
- 03/30/2022 08:35:12 PM (2 years ago)
- Branches:
- ablfs-more, trunk
- Children:
- 2bf44e2
- Parents:
- 1242857
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/libs/func_install_blfs
r1242857 r2c1a763 33 33 # book has already been validated, tmp is posterior to the others, and 34 34 # validation will not be done again. 35 cp -ruT --preserve=timestamps $BLFS_WC_LOCATION \ 35 # sudo is needed because make (below) may already have been run and 36 # may have put some files owned by root 37 sudo cp -ruT --preserve=timestamps $BLFS_WC_LOCATION \ 36 38 ${BUILDDIR}${BLFS_ROOT}/$BLFS_XML 37 39 fi … … 39 41 # Copy the LFS book. Note that now, the book is downloaded before running 40 42 # the BLFS tools. 41 cp -ruT --preserve=timestamps $BOOK \43 sudo cp -ruT --preserve=timestamps $BOOK \ 42 44 ${BUILDDIR}${BLFS_ROOT}/$LFS_XML 43 45 44 46 # Downloads the book if necessary, initialize the tracking file and the 45 47 # package database. 48 # updating first is needed if the xml sources have already been cloned 49 # and we want to set the branches. 50 # Note that if LFS-BRANCH or BLFS-BRANCH is empty, which may happen 51 # if using a working copy, then the corresponding update is not 52 # performed by make (see BLFS/Makefile). 46 53 # sudo is needed if $BUILDDIR/var/lib is owned by root and /var/lib/jhalfs 47 54 # has to be created 55 sudo make -j1 -C $BUILDDIR$BLFS_ROOT \ 56 REV=$INITSYS \ 57 LFS-BRANCH=${COMMIT} \ 58 BLFS-BRANCH=${BLFS_TREE} \ 59 update 48 60 sudo make -j1 -C $BUILDDIR$BLFS_ROOT \ 49 61 REV=$INITSYS \ … … 53 65 BLFS_XML=$BUILDDIR$BLFS_ROOT/$BLFS_XML \ 54 66 BLFS-BRANCH=${BLFS_TREE} \ 67 update \ 55 68 $BUILDDIR$BLFS_ROOT/packages.xml 56 69
Note:
See TracChangeset
for help on using the changeset viewer.