mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-10-24 13:34:16 +00:00
Imported using git-ubuntu import.
Changelog parent: b668a9f9f9048b0fa06523dc084d8fb308fcd9c5
New changelog entries:
[ Michael Vogt ]
* ubuntu-core:
- include the dpkg.list in the device tarball
- store /usr/share/snappy/dpkg.list manifest on the OS tarball
[ Dimitri John Ledkov ]
* ubuntu-cpc:
- exclude s390x from should_install_grub
[ Steve Langasek ]
* Refactor/reorder ubuntu-cpc support for consistency with other flavors,
so that subarch overrides can be applied correctly.
[ Ben Howard ]
* ubuntu-cpc:
- fixed loop setup due to change of kpartx output
- only use grub-install logic for Intel architectures
31 lines
621 B
Bash
Executable File
31 lines
621 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# removing debian packaging artifacts
|
|
|
|
set -ex
|
|
|
|
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
|
|
rm -r \
|
|
var/lib/dpkg \
|
|
var/log/apt
|
|
rm \
|
|
usr/bin/dpkg-query \
|
|
usr/bin/dpkg-split \
|
|
usr/bin/dpkg-divert \
|
|
usr/bin/dpkg-trigger \
|
|
usr/bin/dpkg-statoverride \
|
|
usr/bin/dpkg-maintscript-helper
|
|
)
|