mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-12 22:07:10 +00:00
Merge branch 'dk/focal-buildd-unpack-kernel-initrd' of git+ssh://git.launchpad.net/~davidkrauser/livecd-rootfs/+git/livecd-rootfs into ubuntu/focal
(Cherry-pick commit 065c82314464fa78337d5122e1d4826a7d6edbb0)
This commit is contained in:
commit
cc13644b6a
9
debian/changelog
vendored
9
debian/changelog
vendored
@ -1,3 +1,12 @@
|
||||
livecd-rootfs (2.664.17) UNRELEASED; urgency=medium
|
||||
|
||||
* buildd: produce kernel and initrd as separate artifacts LP: #1910557
|
||||
* buildd: call update-initramfs for all installed kernels
|
||||
We only have one kernel installed, so we don't need to
|
||||
specify an explicit version. LP: #1910557
|
||||
|
||||
-- David Krauser <david.krauser@canonical.com> Tue, 20 Oct 2020 15:00:38 -0400
|
||||
|
||||
livecd-rootfs (2.664.16) focal; urgency=medium
|
||||
|
||||
[ Cody Shepherd ]
|
||||
|
@ -56,8 +56,11 @@ chroot "$mount_d" update-grub
|
||||
undivert_grub "$mount_d"
|
||||
|
||||
# Update initramfs image
|
||||
chroot "$mount_d" \
|
||||
sh -c 'update-initramfs -c -v -k $(ls /boot/vmlinuz*generic | sed 1q | cut -d- -f2-3)'
|
||||
chroot "$mount_d" update-initramfs -c -v -k all
|
||||
|
||||
# extract kernel and initrd
|
||||
cp $mount_d/boot/initrd.img-* livecd.$PROJECT.initrd-generic
|
||||
cp $mount_d/boot/vmlinuz-* livecd.$PROJECT.vmlinuz-generic
|
||||
|
||||
# Cleanup
|
||||
env DEBIAN_FRONTEND=noninteractive chroot "$mount_d" apt-get \
|
||||
|
Loading…
x
Reference in New Issue
Block a user