mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-08 01:11:31 +00:00
Merge lp:~vorlon/livecd-rootfs/image-flavors/
This commit is contained in:
commit
738ff116a5
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -7,6 +7,9 @@ livecd-rootfs (2.440) UNRELEASED; urgency=medium
|
|||||||
* live-build/ubuntu-cpc/functions: umount_partition: don't call
|
* live-build/ubuntu-cpc/functions: umount_partition: don't call
|
||||||
umount_settle for each submount; just unmount them one by one and
|
umount_settle for each submount; just unmount them one by one and
|
||||||
settle at the end.
|
settle at the end.
|
||||||
|
* Support passing IMAGE_TARGETS in the environment, to limit which images
|
||||||
|
are output as part of a build; particularly useful for ubuntu-cpc builds
|
||||||
|
which output multiple image types.
|
||||||
|
|
||||||
[ Nishanth Aravamudan ]
|
[ Nishanth Aravamudan ]
|
||||||
* live-build/ubuntu-cpc/hooks/061-open-iscsi.chroot: generate iSCSI
|
* live-build/ubuntu-cpc/hooks/061-open-iscsi.chroot: generate iSCSI
|
||||||
|
@ -3,6 +3,15 @@
|
|||||||
#
|
#
|
||||||
# Generate a squashfs root and manifest
|
# Generate a squashfs root and manifest
|
||||||
|
|
||||||
|
case $IMAGE_TARGETS in
|
||||||
|
""|*squashfs*)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Skipping squashfs build"
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
if [ -n "$SUBARCH" ]; then
|
if [ -n "$SUBARCH" ]; then
|
||||||
echo "Skipping rootfs build for subarch flavor build"
|
echo "Skipping rootfs build for subarch flavor build"
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -1,5 +1,14 @@
|
|||||||
#!/bin/bash -ex
|
#!/bin/bash -ex
|
||||||
|
|
||||||
|
case $IMAGE_TARGETS in
|
||||||
|
""|*qcow2*)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Skipping qcow2 image build"
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
case $ARCH:$SUBARCH in
|
case $ARCH:$SUBARCH in
|
||||||
# Not sure if any other cloud images use subarch for something that
|
# Not sure if any other cloud images use subarch for something that
|
||||||
# should take qcow2 format, so only skipping this on raspi2 for now.
|
# should take qcow2 format, so only skipping this on raspi2 for now.
|
||||||
|
@ -9,6 +9,15 @@ case $ARCH in
|
|||||||
exit 0;;
|
exit 0;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
case ${IMAGE_TARGETS:-} in
|
||||||
|
""|*vmdk*)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Skipping VMDK image build"
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
. /build/config/functions
|
. /build/config/functions
|
||||||
|
|
||||||
if [ -e binary/boot/disk-uefi.ext4 ]; then
|
if [ -e binary/boot/disk-uefi.ext4 ]; then
|
||||||
|
@ -27,6 +27,15 @@ case $ARCH in
|
|||||||
exit 0;;
|
exit 0;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
case ${IMAGE_TARGETS:-} in
|
||||||
|
""|*vmdk*)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Skipping OVA image build"
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
cur_d=${PWD}
|
cur_d=${PWD}
|
||||||
my_d=$(dirname $(readlink -f ${0}))
|
my_d=$(dirname $(readlink -f ${0}))
|
||||||
|
|
||||||
|
@ -15,6 +15,15 @@
|
|||||||
# some packages in it, convert it to a vmdk, and then assemble the vagrant
|
# some packages in it, convert it to a vmdk, and then assemble the vagrant
|
||||||
# box.
|
# box.
|
||||||
|
|
||||||
|
case $IMAGE_TARGETS in
|
||||||
|
""|*vagrant*)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Skipping Vagrant image build"
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
cur_d=${PWD}
|
cur_d=${PWD}
|
||||||
my_d=$(dirname $(readlink -f ${0}))
|
my_d=$(dirname $(readlink -f ${0}))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user