From eb8667a45d834901ebca019b2c660011f6acf4b4 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Wed, 1 Mar 2017 16:07:26 +0000 Subject: [PATCH] Install units rather than bootscripts when REV=systemd --- BLFS/xsl/make_book.xsl | 24 ++++++++++++++++++-- BLFS/xsl/scripts.xsl | 51 ++++++++++++++++++++++++++++++++++++------ 2 files changed, 66 insertions(+), 9 deletions(-) diff --git a/BLFS/xsl/make_book.xsl b/BLFS/xsl/make_book.xsl index 2f00cdb..c381246 100644 --- a/BLFS/xsl/make_book.xsl +++ b/BLFS/xsl/make_book.xsl @@ -8,6 +8,18 @@ + + + + + systemd + + + sysv + + + + Preface - + + + + + + + + @@ -112,7 +131,8 @@ - + diff --git a/BLFS/xsl/scripts.xsl b/BLFS/xsl/scripts.xsl index 5c34a13..5f47bd9 100644 --- a/BLFS/xsl/scripts.xsl +++ b/BLFS/xsl/scripts.xsl @@ -9,6 +9,18 @@ + + + + + systemd + + + sysv + + + + @@ -24,7 +36,7 @@ - + @@ -427,12 +439,20 @@ wrapInstall ' - - - [[ ! -d $SRC_DIR/blfs-bootscripts ]] && mkdir $SRC_DIR/blfs-bootscripts -pushd $SRC_DIR/blfs-bootscripts + + + + [[ ! -d $SRC_DIR/blfs- + + ]] && mkdir $SRC_DIR/blfs- + + +pushd $SRC_DIR/blfs- + + URL= - + + BOOTPACKG=$(basename $URL) if [[ ! -f $BOOTPACKG ]] ; then if [[ -f $SRC_ARCHIVE/$PKG_DIR/$BOOTPACKG ]] ; then @@ -459,9 +479,26 @@ else fi cd $BOOTUNPACKDIR + + + + + + + + + + + + + + - + popd