mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-06 00:41:14 +00:00
* ubuntu-core:
- include the dpkg.list in the device tarball - store /usr/share/snappy/dpkg.list manifest on the OS tarball
This commit is contained in:
parent
d7b02005c1
commit
51a5cca323
8
debian/changelog
vendored
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
|
||||
|
||||
* 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 $linux_package"
|
||||
|
||||
Chroot chroot "dpkg -l" > chroot/dpkg.list
|
||||
|
||||
# clean up
|
||||
lb chroot_devpts remove "$@"
|
||||
lb chroot_sysfs remove "$@"
|
||||
@ -436,6 +438,9 @@ case $PROJECT:$SUBPROJECT in
|
||||
esac
|
||||
fi
|
||||
|
||||
# copy dpkg manifest
|
||||
cp -ar dpkg.list $TMPDIR/
|
||||
|
||||
# create hardware.yaml
|
||||
# this assumes armhf == u-boot
|
||||
# and all others grub
|
||||
|
@ -8,6 +8,12 @@ echo "I: Removing the debian legacy"
|
||||
|
||||
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
|
||||
(cd $PREFIX
|
||||
chroot . dpkg --purge apt
|
||||
|
Loading…
x
Reference in New Issue
Block a user