From 0a0b60984cc91f5c7b9da6f45120e55b13f5e080 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sat, 17 Aug 2019 08:30:36 +0000 Subject: [PATCH] Several things: - refactor again process-install. Allows for better generation of test instructions - only output the instructions of the first sect2 with role="installation". this will miss the vaapi intel driver, the installation of help files in GIMP, and the second method for which - always run porg logging in "append" mode - allows pass1 in sect2 (libva again) --- BLFS/xsl/make_book.xsl | 89 +++++++++++- BLFS/xsl/process-install.xsl | 258 +++++++++++++++++++---------------- BLFS/xsl/scripts.xsl | 3 +- pkgmngt/packInstall.sh.porg | 2 +- 4 files changed, 232 insertions(+), 120 deletions(-) diff --git a/BLFS/xsl/make_book.xsl b/BLFS/xsl/make_book.xsl index c5bed33..f08d44e 100644 --- a/BLFS/xsl/make_book.xsl +++ b/BLFS/xsl/make_book.xsl @@ -102,13 +102,16 @@ - + + + + + + + + + -pass1 + + filename="-pass1.html" + + + + + + + + + + + + + + + sect3 + sect4 + + + + + + + + + + + + + + + + + + + + + + + + + + (in full book) + + + + + + + + + + + -pass1 + + + + + + + + + + + + + + + + + + + + + + @@ -35,7 +36,8 @@ - + + @@ -54,15 +56,15 @@ - - - - - - - - + + + + + + + + + - + + @@ -91,8 +94,15 @@ - + + + + + + + + @@ -108,9 +118,14 @@ - + + + + + @@ -195,8 +211,10 @@ echo Size after install: $(sudo du -skx --exclude home /) >> $INFOLOG + + @@ -220,14 +238,15 @@ echo Size after install: $(sudo du -skx --exclude home /) >> $INFOLOG - - - - - - - - + + + + + + + + + > $INFOLOG - + + @@ -261,14 +281,15 @@ echo Size after install: $(sudo du -skx --exclude home /) >> $INFOLOG - - - - - - - - + + + + + + + + + > $INFOLOG + @@ -309,36 +331,10 @@ echo Size after install: $(sudo du -skx --exclude home /) >> $INFOLOG + - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -347,76 +343,104 @@ echo Size after install: $(sudo du -skx --exclude home /) >> $INFOLOG - - - - + + + + + - - - - - - - - - - - - - - - - - - + + - - - + + + + + + + + + + + + + + + + + # + - - - - - - - - - + + + make -k + - - - + + + + >> $TESTLOG 2>&1 + + || true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + # + + + + + + + + + # + diff --git a/BLFS/xsl/scripts.xsl b/BLFS/xsl/scripts.xsl index 98b8592..b719808 100644 --- a/BLFS/xsl/scripts.xsl +++ b/BLFS/xsl/scripts.xsl @@ -189,7 +189,8 @@ cd $SRC_DIR - + cd $BUILD_DIR find . -maxdepth 1 -mindepth 1 -type d | xargs diff --git a/pkgmngt/packInstall.sh.porg b/pkgmngt/packInstall.sh.porg index 44fb8cf..aafa526 100644 --- a/pkgmngt/packInstall.sh.porg +++ b/pkgmngt/packInstall.sh.porg @@ -116,7 +116,7 @@ PACKAGE=${PACKAGE,,} # name is not normalized, several hacks are necessary (now in function # extract_version)... VERSION=$(extract_version $PCKGVRS) -porg -lp ${PACKAGE}-${VERSION} sh << PORG_EOF +porg -+ -lp ${PACKAGE}-${VERSION} sh << PORG_EOF $* PORG_EOF }