aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2019-06-30 19:25:49 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2019-06-30 19:25:49 +0000
commit43194f056d48087fe8c3a524d0ca3749e077d420 (patch)
treee56f4fdb5bcb6719c6333b29a9b4756a284c06bb
parent918e500203bf553107068a43b0675a69e321ee3d (diff)
Convert bootscripts and udev tarballs to xz
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11628 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--Makefile2
-rwxr-xr-xaux-file-data.sh4
-rw-r--r--lfs-bootscripts-20190524.tar.xzbin0 -> 32452 bytes
-rwxr-xr-xmake-aux-files.sh4
-rw-r--r--packages.ent6
5 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index f4a00ecc1..9183ca5b8 100644
--- a/Makefile
+++ b/Makefile
@@ -186,7 +186,7 @@ $(BASEDIR)/md5sums: stylesheets/wget-list.xsl chapter03/chapter03.xml \
stylesheets/md5sum.xsl \
$(RENDERTMP)/sysv-md5sum.xml
$(Q)sed -i -e \
- "s/BOOTSCRIPTS-MD5SUM/$(shell md5sum lfs-bootscripts*.tar.bz2 | cut -d' ' -f1)/" \
+ "s/BOOTSCRIPTS-MD5SUM/$(shell md5sum lfs-bootscripts*.tar.xz | cut -d' ' -f1)/" \
$(BASEDIR)/md5sums
#dump-commands: validate
diff --git a/aux-file-data.sh b/aux-file-data.sh
index f13f6d044..8be1b1d15 100755
--- a/aux-file-data.sh
+++ b/aux-file-data.sh
@@ -10,8 +10,8 @@ FILE=$1
./make-aux-files.sh
# Bootscript data
-bootscripts=$(ls lfs-bootscripts*.bz2)
-base=$(basename $bootscripts .tar.bz2)
+bootscripts=$(ls lfs-bootscripts*.xz)
+base=$(basename $bootscripts .tar.xz)
bootsize=$(ls -l --block-size=1024 $bootscripts | cut -f5 -d" ")
bootmd5=$(md5sum $bootscripts | cut -f1 -d" ")
diff --git a/lfs-bootscripts-20190524.tar.xz b/lfs-bootscripts-20190524.tar.xz
new file mode 100644
index 000000000..a8d8c7e8e
--- /dev/null
+++ b/lfs-bootscripts-20190524.tar.xz
Binary files differ
diff --git a/make-aux-files.sh b/make-aux-files.sh
index fbec73302..ad8bcea6f 100755
--- a/make-aux-files.sh
+++ b/make-aux-files.sh
@@ -1,13 +1,13 @@
#!/bin/bash
-rm -f lfs-bootscripts*.tar.bz2
+rm -f lfs-bootscripts*.tar.?z*
# Get base file name and move bootscripts directory to that name
version=`grep "ENTITY lfs-bootscripts-version" packages.ent |cut -d'"' -f2`
mv bootscripts lfs-bootscripts-$version
# Create the tarball and clean up
-tar -cjf lfs-bootscripts-$version.tar.bz2 --exclude .svn lfs-bootscripts-$version
+tar -cJf lfs-bootscripts-$version.tar.xz --exclude .svn lfs-bootscripts-$version
mv lfs-bootscripts-$version bootscripts
#rm -f udev-config*.bz2
diff --git a/packages.ent b/packages.ent
index d1c42838e..de2147b6f 100644
--- a/packages.ent
+++ b/packages.ent
@@ -383,7 +383,7 @@
<!ENTITY lfs-bootscripts-version "20190524"> <!-- Scripts depend on this format -->
<!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">
-<!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2">
+<!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.xz">
<!ENTITY lfs-bootscripts-md5 "BOOTSCRIPTS-MD5SUM">
<!ENTITY lfs-bootscripts-home " ">
<!ENTITY lfs-bootscripts-ch7-du "BOOTSCRIPTS-INSTALL-KB KB">
@@ -683,8 +683,8 @@
<!ENTITY udev-lfs-version "udev-lfs-20171102">
<!ENTITY udev-lfs-size "11 KB">
-<!ENTITY udev-lfs-url "&anduin-sources;/&udev-lfs-version;.tar.bz2">
-<!ENTITY udev-lfs-md5 "d92afb0c6e8e616792068ee4737b0d24">
+<!ENTITY udev-lfs-url "&anduin-sources;/&udev-lfs-version;.tar.xz">
+<!ENTITY udev-lfs-md5 "27cd82f9a61422e186b9d6759ddf1634">
<!ENTITY udev-lfs-home " ">
<!ENTITY util-linux-minor "2.34">