add dpkg.list to assets of the kernel snap

This commit is contained in:
Michael Vogt 2016-03-09 23:17:18 +01:00
parent de38cca7b4
commit 5439a48096
2 changed files with 12 additions and 0 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
livecd-rootfs (2.386) UNRELEASED; urgency=medium
* add dpkg.list to assets of the kernel snap
-- Michael Vogt <michael.vogt@ubuntu.com> Wed, 09 Mar 2016 23:16:55 +0100
livecd-rootfs (2.385) xenial; urgency=medium
* add snap building for kernel snaps

View File

@ -491,11 +491,17 @@ EOF
# compress everything
cd $TMPDIR
tarname="device.tar.gz"
manifestname="device.manifest"
if [ "$devarch" = "raspi2" ];then
tarname="raspi2.$tarname"
manifestname="$devarch.$manifestname"
fi
# create tarfile
tar -c -z -f $HERE/$PREFIX.$tarname system assets hardware.yaml
# create device specific manifest to track kernel dpkg version
cp assets/dpkg.list $HERE/$PREFIX.$manifestname
# show size of initrd and kernel in the log
ls -lh assets/