diff --git a/Makefile b/Makefile index 7914fe2ee..608690b79 100644 --- a/Makefile +++ b/Makefile @@ -103,6 +103,17 @@ wget-list: $(Q)xsltproc --xinclude --nonet --output $(BASEDIR)/wget-list \ stylesheets/wget-list.xsl chapter03/chapter03.xml +md5sums: + @echo "Generating md5sum file..." + $(Q)mkdir -p $(BASEDIR) + $(Q)xsltproc --xinclude --nonet --output $(BASEDIR)/md5sums \ + stylesheets/md5sum.xsl chapter03/chapter03.xml + $(Q)sed -i -e "s/BOOTSCRIPTS-MD5SUM/$(shell md5sum lfs-bootscripts*.tar.bz2 | cut -d' ' -f1)/" \ + $(BASEDIR)/md5sums + $(Q)sed -i -e "s/UDEV-MD5SUM/$(shell md5sum udev-config*.tar.bz2 | cut -d' ' -f1)/" \ + $(BASEDIR)/md5sums + + dump-commands: validxml @echo "Dumping book commands..." $(Q)xsltproc --output $(DUMPDIR)/ \ @@ -111,7 +122,7 @@ dump-commands: validxml validate: maketar validxml @echo "Validation complete." -all: lfs nochunks pdf dump-commands +all: lfs nochunks pdf dump-commands md5sums .PHONY : all dump-commands lfs nochunks pdf profile-html tmpdir validate \ - validxml wget-list maketar + validxml wget-list maketar md5sums diff --git a/bootscripts/Makefile b/bootscripts/Makefile index 65eafc888..e4afb51ec 100644 --- a/bootscripts/Makefile +++ b/bootscripts/Makefile @@ -21,7 +21,9 @@ create-dirs: install -d -m ${DIRMODE} ${EXTDIR}/rc.d/rcS.d install -d -m ${DIRMODE} ${EXTDIR}/rc.d/init.d install -d -m ${DIRMODE} ${EXTDIR}/sysconfig - install -d -m ${DIRMODE} ${LIBDIR} + install -d -m ${DIRMODE} ${EXTDIR}/sysconfig + install -d -m ${DIRMODE} ${MAN8} + install -d -m ${DIRMODE} ${SBIN} ln -svf services ${DESTDIR}/lib/lsb ln -sf rc.d/init.d ${EXTDIR}/init.d diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 1782ba264..c3831c38b 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,11 @@ 2011-10-07 + + [bdubbs] - Miror update to bootscripts Makefile. Fixes + #2939. + + [matthew] - Remove Pkg-Config, and its dependencies PCRE and Glib. E2fsprogs, Man-DB and Udev can all be built without Pkg-Config, diff --git a/packages.ent b/packages.ent index b2cbef24c..93dc58dcc 100644 --- a/packages.ent +++ b/packages.ent @@ -290,7 +290,7 @@ - + diff --git a/stylesheets/md5sum.xsl b/stylesheets/md5sum.xsl new file mode 100644 index 000000000..d179594af --- /dev/null +++ b/stylesheets/md5sum.xsl @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +