switch snappy package builds from "snappy build" to "snapcraft snap" (LP: #1557515)

ubuntu/yakkety
Oliver Grawert 9 years ago
parent 38ad19d447
commit e7723219a3

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.398) UNRELEASED; urgency=medium
* switch snappy package builds from "snappy build" to "snapcraft snap"
(LP: #1557515)
-- Oliver Grawert <ogra@ubuntu.com> Fri, 08 Apr 2016 16:45:48 +0200
livecd-rootfs (2.397) xenial; urgency=medium livecd-rootfs (2.397) xenial; urgency=medium
* live-build/ubuntu-core/hooks/25-create-generic-initrd.chroot: * live-build/ubuntu-core/hooks/25-create-generic-initrd.chroot:

@ -337,8 +337,8 @@ architectures: [$ARCH]
type: os type: os
EOF EOF
apt-get -y install ubuntu-snappy-cli apt-get -y install snapcraft
snappy build --squashfs $rootfs snapcraft snap $rootfs
snapfile="$(ls ubuntu-core*.snap)" snapfile="$(ls ubuntu-core*.snap)"
cp -a $snapfile $PREFIX.os.snap cp -a $snapfile $PREFIX.os.snap
@ -577,8 +577,8 @@ EOF
fi fi
cd $HERE cd $HERE
apt-get -y install ubuntu-snappy-cli apt-get -y install snapcraft
snappy build --squashfs snap snapcraft snap snap
snapfile="$(ls $metaname*.snap)" snapfile="$(ls $metaname*.snap)"
cp -a $snapfile $PREFIX.$snapname cp -a $snapfile $PREFIX.$snapname

Loading…
Cancel
Save