Refactor ubuntu-cpc hooks to always produce a 'plain' rootfs via

live-build and reuse this for the tarball, instead of lb_binary_rootfs
creating some artifact that we ignore / throw away.
ubuntu/yakkety
Steve Langasek 9 years ago
parent 375554f157
commit 0b279f731b

5
debian/changelog vendored

@ -35,6 +35,11 @@ livecd-rootfs (2.376ubuntu1) UNRELEASED; urgency=medium
* Chroot to execute zipl, because it's nice.
* Use the right loop device to install zipl onto.
[ Steve Langasek ]
* Refactor ubuntu-cpc hooks to always produce a 'plain' rootfs via
live-build and reuse this for the tarball, instead of lb_binary_rootfs
creating some artifact that we ignore / throw away.
-- Ben Howard <ben.howard@ubuntu.com> Sun, 07 Feb 2016 16:59:41 -0700
livecd-rootfs (2.375) xenial; urgency=medium

@ -101,6 +101,12 @@ add_binary_hook ()
BINARY_HOOKS="${BINARY_HOOKS:+$BINARY_HOOKS }$1"
}
case $PROJECT in
ubuntu-cpc)
IMAGEFORMAT=plain
;;
esac
case $IMAGEFORMAT in
ext2|ext3|ext4)
OPTS="${OPTS:+$OPTS }--initramfs none --chroot-filesystem $IMAGEFORMAT"
@ -110,17 +116,11 @@ case $IMAGEFORMAT in
add_package install lupin-support
COMPONENTS='main restricted universe multiverse'
;;
*)
case $PROJECT in
ubuntu-cpc)
;;
*)
add_package live jasper
;;
esac
;;
esac
;;
plain)
OPTS="${OPTS:+$OPTS }--initramfs none --chroot-filesystem $IMAGEFORMAT"

@ -5,10 +5,6 @@ if [ -n "$SUBARCH" ]; then
exit 0
fi
mkdir binary/boot/filesystem.dir
cp -a chroot/* binary/boot/filesystem.dir
mount --bind /dev "binary/boot/filesystem.dir/dev"
mount proc-live -t proc "binary/boot/filesystem.dir/proc"
mount sysfs-live -t sysfs "binary/boot/filesystem.dir/sys"

Loading…
Cancel
Save