From 536573480453c3b6a7908b90b210fe3958fe44df Mon Sep 17 00:00:00 2001 From: Steve McIntyre Date: Fri, 21 Aug 2015 10:53:44 +0100 Subject: [PATCH] Add firmware bundles in cpio.gz format too to help netboot users. Thanks to Alex Owen for the patch, slightly tweaked. --- debian/changelog | 2 ++ tools/make-firmware-image | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 4cdcd0b6..ad67ed7f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,6 +14,8 @@ debian-cd (3.1.18) UNRELEASED; urgency=medium checked. Now fixed. * Try to make VOLIDs shorter when given long alpha / beta release names in DEBVERSION + * Add firmware bundles in cpio.gz format too to help netboot users. + Thanks to Alex Owen for the patch, slightly tweaked. [ Didier Raboud ] * For stretch, swap amd64 and i386 to let the first be the norm, and the diff --git a/tools/make-firmware-image b/tools/make-firmware-image index 501bec22..6f593941 100755 --- a/tools/make-firmware-image +++ b/tools/make-firmware-image @@ -39,4 +39,5 @@ cd $TMPDIR/firmware tar czf ../firmware.tar.gz . zip -9rq ../firmware.zip . cd .. -ls -l $PWD/firmware.tar.gz $PWD/firmware.zip +find firmware | cpio --quiet -o -H newc | gzip -9 > firmware.cpio.gz +ls -l $PWD/firmware.cpio.gz $PWD/firmware.tar.gz $PWD/firmware.zip