mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-10 19:01:13 +00:00
If a subarch is specified for a cloud image build, don't build rootfs
artifacts; these should come from the 'generic' build.
This commit is contained in:
parent
691a0ca08f
commit
cb58e88614
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -11,6 +11,8 @@ livecd-rootfs (2.376) UNRELEASED; urgency=medium
|
||||
all flavors and archs, but at the moment it's only needed on armhf+raspi2
|
||||
to work around the raspberrypi2-firmware postinst calling sync, which is
|
||||
actually warranted in the normal case.
|
||||
* If a subarch is specified for a cloud image build, don't build rootfs
|
||||
artifacts; these should come from the 'generic' build.
|
||||
|
||||
-- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Thu, 04 Feb 2016 17:31:18 +0100
|
||||
|
||||
|
@ -1,4 +1,10 @@
|
||||
#!/bin/bash -ex
|
||||
|
||||
if [ -n "$SUBARCH" ]; then
|
||||
echo "Skipping rootfs build for subarch flavor build"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
mkdir binary/boot/filesystem.dir
|
||||
|
||||
cp -a chroot/* binary/boot/filesystem.dir
|
||||
|
@ -3,6 +3,10 @@
|
||||
#
|
||||
# Generate the rootfs.tar.gz and manifest
|
||||
|
||||
if [ -n "$SUBARCH" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
dpkg-query --admindir=binary/boot/filesystem.dir/var/lib/dpkg -W > livecd.ubuntu-cpc.rootfs.manifest
|
||||
|
||||
(cd "binary/boot/filesystem.dir/" && tar -c *) | \
|
||||
|
@ -3,6 +3,10 @@
|
||||
#
|
||||
# Generate a squashfs root and manifest
|
||||
|
||||
if [ -n "$SUBARCH" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
apt-get -qqy install squashfs-tools
|
||||
|
||||
squashfs_f="${PWD}/livecd.ubuntu-cpc.squashfs"
|
||||
|
Loading…
x
Reference in New Issue
Block a user