mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-14 04:41:15 +00:00
Import patches-unapplied version 2.399 to ubuntu/xenial-proposed
Imported using git-ubuntu import. Changelog parent: 01521cefe4108a2a62c47eb2bdbc978a70f0ed20 New changelog entries: [ Oliver Grawert ] * live-build/ubuntu-core/hooks/25-create-generic-initrd.chroot: kill the snappy os build if the initramfs-tools-ubuntu-core package is not found * make s390x known to the snappy builds * skip kernel snap an device tarball builds for s390x and ppc64el * drop listing of the device tarballs, this was only for debugging [ Adam Conrad ] * live-build/ubuntu-cpc/hooks/032-disk-image.binary: Install s390-tools and sysconfig-hardware before we attempt to configure zipl.
This commit is contained in:
parent
01521cefe4
commit
9fadf2c648
16
debian/changelog
vendored
16
debian/changelog
vendored
@ -1,3 +1,19 @@
|
||||
livecd-rootfs (2.399) xenial; urgency=medium
|
||||
|
||||
[ Oliver Grawert ]
|
||||
* live-build/ubuntu-core/hooks/25-create-generic-initrd.chroot:
|
||||
kill the snappy os build if the initramfs-tools-ubuntu-core package
|
||||
is not found
|
||||
* make s390x known to the snappy builds
|
||||
* skip kernel snap an device tarball builds for s390x and ppc64el
|
||||
* drop listing of the device tarballs, this was only for debugging
|
||||
|
||||
[ Adam Conrad ]
|
||||
* live-build/ubuntu-cpc/hooks/032-disk-image.binary: Install s390-tools
|
||||
and sysconfig-hardware before we attempt to configure zipl.
|
||||
|
||||
-- Oliver Grawert <ogra@ubuntu.com> Sun, 10 Apr 2016 17:23:05 +0200
|
||||
|
||||
livecd-rootfs (2.398) xenial; urgency=medium
|
||||
|
||||
* switch snappy package builds from "snappy build" to "snapcraft snap"
|
||||
|
@ -379,7 +379,7 @@ case $PROJECT:$SUBPROJECT in
|
||||
arm64)
|
||||
subarches="generic dragonboard"
|
||||
;;
|
||||
i386|amd64|powerpc|ppc64el)
|
||||
i386|amd64|powerpc|ppc64el|s390x)
|
||||
subarches="generic"
|
||||
;;
|
||||
esac
|
||||
@ -410,6 +410,10 @@ case $PROJECT:$SUBPROJECT in
|
||||
linux_package="linux-image-4.4.0-1009-snapdragon dragon410c-firmware"
|
||||
fi
|
||||
;;
|
||||
ppc64el|s390x)
|
||||
echo "I: skipping kernel and device tarball for $ARCH"
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
# make sure all virtual filesystems are available
|
||||
@ -586,8 +590,6 @@ EOF
|
||||
done
|
||||
fi
|
||||
|
||||
ls -l *device.tar.gz
|
||||
|
||||
LB_LINUX_FLAVOURS=none
|
||||
;;
|
||||
esac
|
||||
|
@ -5,6 +5,9 @@ set -ex
|
||||
IVER="$(dpkg -s initramfs-tools-ubuntu-core | \
|
||||
sed -n '/^Version:/{s/^[^: ]*: \([^: ]*\).*/\1/;p;}')"
|
||||
|
||||
# fail the build if we did not find the snappy initrd package
|
||||
[ -n "$IVER" ] || exit 1
|
||||
|
||||
# force lzma
|
||||
mkdir -p /etc/initramfs-tools/conf.d
|
||||
echo "COMPRESS=lzma" >/etc/initramfs-tools/conf.d/snappy-generic-initrd.conf
|
||||
|
@ -115,6 +115,7 @@ fi
|
||||
|
||||
if [ "$ARCH" = "s390x" ]; then
|
||||
# Do ZIPL install bits
|
||||
chroot mountpoint apt-get -qqy install s390-tools sysconfig-hardware
|
||||
|
||||
# Write out cloudy zipl.conf for future kernel updates
|
||||
cat << EOF > mountpoint/etc/zipl.conf
|
||||
|
Loading…
x
Reference in New Issue
Block a user