From f5337a92d76d11bc5e599e5e68672230038ca1d5 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 22 Dec 2013 16:59:31 +0000 Subject: [PATCH] merge trunk r3766 --- LFS/master.sh | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/LFS/master.sh b/LFS/master.sh index 484e7e3..f4ab2be 100644 --- a/LFS/master.sh +++ b/LFS/master.sh @@ -330,7 +330,8 @@ chapter78_Makefiles() { # as a dependency. Also call the echo_message function. CHROOT_wrt_target "${this_script}" "$PREV" - # Find the bootscripts and kernel package names + # Find the bootscripts or networkscripts (for systemd) + # and kernel package names case "${this_script}" in *bootscripts) name="lfs-bootscripts" @@ -340,6 +341,14 @@ chapter78_Makefiles() { fi CHROOT_Unpack "$pkg_tarball" ;; + *network-scripts) + name="lfs-network-scripts" + pkg_tarball=$(get_package_tarball_name $name) + if [ "${INSTALL_LOG}" = "y" ] ; then + CHROOT_wrt_TouchTimestamp + fi + CHROOT_Unpack "$pkg_tarball" + ;; *kernel) name="linux" pkg_tarball=$(get_package_tarball_name $name) @@ -366,14 +375,18 @@ chapter78_Makefiles() { esac case "${this_script}" in - *bootscripts) CHROOT_wrt_RemoveBuildDirs "dummy" - if [ "${INSTALL_LOG}" = "y" ] ; then - CHROOT_wrt_LogNewFiles "$name" - fi ;; - *kernel) CHROOT_wrt_RemoveBuildDirs "dummy" - if [ "${INSTALL_LOG}" = "y" ] ; then - CHROOT_wrt_LogNewFiles "$name" - fi ;; + *bootscripts) CHROOT_wrt_RemoveBuildDirs "dummy" + if [ "${INSTALL_LOG}" = "y" ] ; then + CHROOT_wrt_LogNewFiles "$name" + fi ;; + *network-scripts) CHROOT_wrt_RemoveBuildDirs "dummy" + if [ "${INSTALL_LOG}" = "y" ] ; then + CHROOT_wrt_LogNewFiles "$name" + fi ;; + *kernel) CHROOT_wrt_RemoveBuildDirs "dummy" + if [ "${INSTALL_LOG}" = "y" ] ; then + CHROOT_wrt_LogNewFiles "$name" + fi ;; esac # Include a touch of the target name so make can check