Changeset 532ede6 for LFS


Ignore:
Timestamp:
12/22/2013 08:04:06 AM (10 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, new_features, trunk
Children:
65d7d46
Parents:
6ed3dd7
Message:

Add network-scripts case in chapter 7 for systemd branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/master.sh

    r6ed3dd7 r532ede6  
    331331    CHROOT_wrt_target "${this_script}" "$PREV"
    332332
    333     # Find the bootscripts and kernel package names
     333    # Find the bootscripts or networkscripts (for systemd)
     334    # and kernel package names
    334335    case "${this_script}" in
    335336      *bootscripts)
    336337            name="lfs-bootscripts"
     338            pkg_tarball=$(get_package_tarball_name $name)
     339            if [ "${INSTALL_LOG}" = "y" ] ; then
     340              CHROOT_wrt_TouchTimestamp
     341            fi
     342            CHROOT_Unpack "$pkg_tarball"
     343        ;;
     344      *network-scripts)
     345            name="lfs-network-scripts"
    337346            pkg_tarball=$(get_package_tarball_name $name)
    338347            if [ "${INSTALL_LOG}" = "y" ] ; then
     
    367376
    368377    case "${this_script}" in
    369       *bootscripts)  CHROOT_wrt_RemoveBuildDirs "dummy"
    370                      if [ "${INSTALL_LOG}" = "y" ] ; then
    371                        CHROOT_wrt_LogNewFiles "$name"
    372                      fi ;;
    373       *kernel)       CHROOT_wrt_RemoveBuildDirs "dummy"
    374                      if [ "${INSTALL_LOG}" = "y" ] ; then
    375                        CHROOT_wrt_LogNewFiles "$name"
    376                      fi ;;
     378      *bootscripts)      CHROOT_wrt_RemoveBuildDirs "dummy"
     379                         if [ "${INSTALL_LOG}" = "y" ] ; then
     380                           CHROOT_wrt_LogNewFiles "$name"
     381                         fi ;;
     382      *network-scripts)  CHROOT_wrt_RemoveBuildDirs "dummy"
     383                         if [ "${INSTALL_LOG}" = "y" ] ; then
     384                           CHROOT_wrt_LogNewFiles "$name"
     385                         fi ;;
     386      *kernel)           CHROOT_wrt_RemoveBuildDirs "dummy"
     387                         if [ "${INSTALL_LOG}" = "y" ] ; then
     388                           CHROOT_wrt_LogNewFiles "$name"
     389                         fi ;;
    377390    esac
    378391
Note: See TracChangeset for help on using the changeset viewer.