mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-11 19:31:18 +00:00
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.
This commit is contained in:
parent
375554f157
commit
0b279f731b
5
debian/changelog
vendored
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"
|
||||
@ -111,13 +117,7 @@ case $IMAGEFORMAT in
|
||||
COMPONENTS='main restricted universe multiverse'
|
||||
;;
|
||||
*)
|
||||
case $PROJECT in
|
||||
ubuntu-cpc)
|
||||
;;
|
||||
*)
|
||||
add_package live jasper
|
||||
;;
|
||||
esac
|
||||
add_package live jasper
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
@ -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…
x
Reference in New Issue
Block a user