From 8c784360c6c16add140b69121218cbc7bffc9521 Mon Sep 17 00:00:00 2001 From: Oliver Grawert Date: Tue, 19 Jul 2016 13:59:16 +0200 Subject: [PATCH] Import patches-unapplied version 2.420 to ubuntu/yakkety-proposed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Imported using git-ubuntu import. Changelog parent: 4109c1c2b360322778ac7f8d8659c51b2fc8f048 New changelog entries: [ Łukasz 'sil2100' Zemczak ] * Remove the ubuntu-pd project from the scripts * Add instead an ubuntu-touch-custom project for custom re-builds of ubuntu-touch [ Oliver Grawert ] * sanitize the version number of the ubuntu-core snap * sanitize the version number of the kernel snap --- debian/changelog | 13 +++++++++++++ live-build/auto/build | 12 +++++++----- live-build/auto/config | 17 ++++++----------- live-build/{ubuntu-pd => ubuntu-touch-custom} | 0 4 files changed, 26 insertions(+), 16 deletions(-) rename live-build/{ubuntu-pd => ubuntu-touch-custom} (100%) diff --git a/debian/changelog b/debian/changelog index 29528186..b2bffaf0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,16 @@ +livecd-rootfs (2.420) yakkety; urgency=medium + + [ Łukasz 'sil2100' Zemczak ] + * Remove the ubuntu-pd project from the scripts + * Add instead an ubuntu-touch-custom project for custom re-builds of + ubuntu-touch + + [ Oliver Grawert ] + * sanitize the version number of the ubuntu-core snap + * sanitize the version number of the kernel snap + + -- Oliver Grawert Tue, 19 Jul 2016 13:59:16 +0200 + livecd-rootfs (2.419) yakkety; urgency=medium [ Daniel Watkins ] diff --git a/live-build/auto/build b/live-build/auto/build index 1f62ce50..0ce13893 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -178,7 +178,7 @@ deb file:/var/lib/preinstalled-pool/ $LB_DISTRIBUTION $LB_PARENT_ARCHIVE_AREAS > chroot/etc/apt/sources.list rm chroot/etc/apt/sources.list.preinstall chroot/etc/apt/sources.list.orig fi - if [ "$PROJECT" = "ubuntu-touch" ] || [ "$PROJECT" = "ubuntu-pd" ]; then + if [ "$PROJECT" = "ubuntu-touch" ] || [ "$PROJECT" = "ubuntu-touch-custom" ]; then if [ "$ARCH" = "armhf" ]; then INFO_DESC="$(lsb_release -d -s)" echo "$INFO_DESC - $ARCH ($BUILDSTAMP)" >chroot/etc/media-info @@ -257,7 +257,9 @@ if [ "$PROJECT:$SUBPROJECT" = "ubuntu-core:system-image" ]; then mkdir -p $rootfs/$dir done - VERSION="$(lsb_release -r -s)+$(date +20%y%m%d.%H-%M)" + # get a proper version from the chroot + . $rootfs/etc/os-release + VERSION="$(echo $PRETTY_NAME | sed 's/[^0-9.]*//g')" CORENAME="ubuntu-core" cat > $rootfs/meta/snap.yaml < "$PREFIX.custom.tar.gz" chmod 644 "$PREFIX.custom.tar.gz" @@ -508,7 +510,7 @@ EOF ln -s $kernel kernel.img kvers="$(ls vmlinuz-*|sed 's/^.*vmlinuz-//;s/-[a-z.]*$//')" - VERSION=$kvers+$(date +20%y%m%d.%H-%M) + VERSION=$kvers cat > meta/kernel.yaml <