* ubuntu-core:

- include the dpkg.list in the device tarball
  - store /usr/share/snappy/dpkg.list manifest on the OS tarball
ubuntu/yakkety
Michael Vogt 9 years ago
parent d7b02005c1
commit 51a5cca323

8
debian/changelog vendored

@ -1,3 +1,11 @@
livecd-rootfs (2.374) UNRELEASED; urgency=medium
* ubuntu-core:
- include the dpkg.list in the device tarball
- store /usr/share/snappy/dpkg.list manifest on the OS tarball
-- Michael Vogt <michael.vogt@ubuntu.com> Thu, 28 Jan 2016 18:27:23 +0100
livecd-rootfs (2.373) xenial; urgency=medium livecd-rootfs (2.373) xenial; urgency=medium
* Set timeout options so ppc64el cloud images don't display a grub boot * Set timeout options so ppc64el cloud images don't display a grub boot

@ -395,6 +395,8 @@ case $PROJECT:$SUBPROJECT in
Chroot chroot "apt-get -y install initramfs-tools-ubuntu-core linux-firmware xz-utils" Chroot chroot "apt-get -y install initramfs-tools-ubuntu-core linux-firmware xz-utils"
Chroot chroot "apt-get -y install $linux_package" Chroot chroot "apt-get -y install $linux_package"
Chroot chroot "dpkg -l" > chroot/dpkg.list
# clean up # clean up
lb chroot_devpts remove "$@" lb chroot_devpts remove "$@"
lb chroot_sysfs remove "$@" lb chroot_sysfs remove "$@"
@ -436,6 +438,9 @@ case $PROJECT:$SUBPROJECT in
esac esac
fi fi
# copy dpkg manifest
cp -ar dpkg.list $TMPDIR/
# create hardware.yaml # create hardware.yaml
# this assumes armhf == u-boot # this assumes armhf == u-boot
# and all others grub # and all others grub

@ -8,6 +8,12 @@ echo "I: Removing the debian legacy"
PREFIX=binary/boot/filesystem.dir PREFIX=binary/boot/filesystem.dir
# store manifest of all installed packages
(cd $PREFIX
install -m755 -d usr/share/snappy
chroot . dpkg -l > usr/share/snappy/dpkg.list
)
# dpkg-deb and dpkg purposefully left behind # dpkg-deb and dpkg purposefully left behind
(cd $PREFIX (cd $PREFIX
chroot . dpkg --purge apt chroot . dpkg --purge apt

Loading…
Cancel
Save