mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-16 13:21:33 +00:00
Import patches-unapplied version 2.420 to ubuntu/yakkety-proposed
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
This commit is contained in:
parent
4109c1c2b3
commit
8c784360c6
13
debian/changelog
vendored
13
debian/changelog
vendored
@ -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 <ogra@ubuntu.com> Tue, 19 Jul 2016 13:59:16 +0200
|
||||||
|
|
||||||
livecd-rootfs (2.419) yakkety; urgency=medium
|
livecd-rootfs (2.419) yakkety; urgency=medium
|
||||||
|
|
||||||
[ Daniel Watkins ]
|
[ Daniel Watkins ]
|
||||||
|
@ -178,7 +178,7 @@ deb file:/var/lib/preinstalled-pool/ $LB_DISTRIBUTION $LB_PARENT_ARCHIVE_AREAS
|
|||||||
> chroot/etc/apt/sources.list
|
> chroot/etc/apt/sources.list
|
||||||
rm chroot/etc/apt/sources.list.preinstall chroot/etc/apt/sources.list.orig
|
rm chroot/etc/apt/sources.list.preinstall chroot/etc/apt/sources.list.orig
|
||||||
fi
|
fi
|
||||||
if [ "$PROJECT" = "ubuntu-touch" ] || [ "$PROJECT" = "ubuntu-pd" ]; then
|
if [ "$PROJECT" = "ubuntu-touch" ] || [ "$PROJECT" = "ubuntu-touch-custom" ]; then
|
||||||
if [ "$ARCH" = "armhf" ]; then
|
if [ "$ARCH" = "armhf" ]; then
|
||||||
INFO_DESC="$(lsb_release -d -s)"
|
INFO_DESC="$(lsb_release -d -s)"
|
||||||
echo "$INFO_DESC - $ARCH ($BUILDSTAMP)" >chroot/etc/media-info
|
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
|
mkdir -p $rootfs/$dir
|
||||||
done
|
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"
|
CORENAME="ubuntu-core"
|
||||||
cat > $rootfs/meta/snap.yaml <<EOF
|
cat > $rootfs/meta/snap.yaml <<EOF
|
||||||
@ -276,7 +278,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$PROJECT" = "ubuntu-touch" ] || [ "$PROJECT" = "ubuntu-pd" ]; then
|
if [ "$PROJECT" = "ubuntu-touch" ] || [ "$PROJECT" = "ubuntu-touch-custom" ]; then
|
||||||
(cd "binary/$INITFS/custom.dir/" && tar -c *) | \
|
(cd "binary/$INITFS/custom.dir/" && tar -c *) | \
|
||||||
gzip -9 --rsyncable > "$PREFIX.custom.tar.gz"
|
gzip -9 --rsyncable > "$PREFIX.custom.tar.gz"
|
||||||
chmod 644 "$PREFIX.custom.tar.gz"
|
chmod 644 "$PREFIX.custom.tar.gz"
|
||||||
@ -508,7 +510,7 @@ EOF
|
|||||||
ln -s $kernel kernel.img
|
ln -s $kernel kernel.img
|
||||||
kvers="$(ls vmlinuz-*|sed 's/^.*vmlinuz-//;s/-[a-z.]*$//')"
|
kvers="$(ls vmlinuz-*|sed 's/^.*vmlinuz-//;s/-[a-z.]*$//')"
|
||||||
|
|
||||||
VERSION=$kvers+$(date +20%y%m%d.%H-%M)
|
VERSION=$kvers
|
||||||
|
|
||||||
cat > meta/kernel.yaml <<EOF
|
cat > meta/kernel.yaml <<EOF
|
||||||
version: $kvers
|
version: $kvers
|
||||||
@ -635,7 +637,7 @@ if [ "$SUBARCH" = "ac100" ] || [ "$SUBARCH" = "nexus7" ]; then
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$PROJECT" = "ubuntu-touch" ] || [ "$PROJECT" = "ubuntu-pd" ]; then
|
if [ "$PROJECT" = "ubuntu-touch" ] || [ "$PROJECT" = "ubuntu-touch-custom" ]; then
|
||||||
sourceslist="chroot/etc/apt/sources.list"
|
sourceslist="chroot/etc/apt/sources.list"
|
||||||
|
|
||||||
lb chroot_proc install "$@"
|
lb chroot_proc install "$@"
|
||||||
|
@ -135,7 +135,7 @@ case $IMAGEFORMAT in
|
|||||||
|
|
||||||
*)
|
*)
|
||||||
case $PROJECT in
|
case $PROJECT in
|
||||||
ubuntu-server|ubuntu-touch|ubuntu-pd)
|
ubuntu-server|ubuntu-touch|ubuntu-touch-custom)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
add_package live lupin-casper
|
add_package live lupin-casper
|
||||||
@ -168,7 +168,7 @@ if [ "$PREINSTALLED" = "true" ] && [ "$SUBPROJECT" != "wubi" ]; then
|
|||||||
ubuntu-server)
|
ubuntu-server)
|
||||||
add_package live oem-config-debconf ubiquity-frontend-debconf
|
add_package live oem-config-debconf ubiquity-frontend-debconf
|
||||||
;;
|
;;
|
||||||
ubuntu-core|ubuntu-base|base|ubuntu-touch|ubuntu-pd|ubuntu-cpc|ubuntu-desktop-next)
|
ubuntu-core|ubuntu-base|base|ubuntu-touch|ubuntu-touch-custom|ubuntu-cpc|ubuntu-desktop-next)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
add_package live oem-config-gtk ubiquity-frontend-gtk
|
add_package live oem-config-gtk ubiquity-frontend-gtk
|
||||||
@ -404,19 +404,14 @@ case $PROJECT in
|
|||||||
OPTS="${OPTS:+$OPTS }--bootstrap-flavour=minimal"
|
OPTS="${OPTS:+$OPTS }--bootstrap-flavour=minimal"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
ubuntu-touch|ubuntu-pd)
|
ubuntu-touch|ubuntu-touch-custom)
|
||||||
if [ "$PROJECT" = "ubuntu-touch" ]; then
|
|
||||||
meta_package=ubuntu-touch
|
|
||||||
else
|
|
||||||
meta_package=ubuntu-pocket-desktop
|
|
||||||
fi
|
|
||||||
HINTS="packagekit ubuntu-system-settings-online-accounts"
|
HINTS="packagekit ubuntu-system-settings-online-accounts"
|
||||||
case $ARCH in
|
case $ARCH in
|
||||||
amd64|i386)
|
amd64|i386)
|
||||||
HINTS="$HINTS qml-module-ubuntu-components-gles unity8"
|
HINTS="$HINTS qml-module-ubuntu-components-gles unity8"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
add_package install ubuntu-minimal $meta_package $HINTS
|
add_package install ubuntu-minimal ubuntu-touch $HINTS
|
||||||
|
|
||||||
COMPONENTS='main restricted universe'
|
COMPONENTS='main restricted universe'
|
||||||
BOOTAPPEND_LIVE='hostname=ubuntu-phablet username=ubuntu'
|
BOOTAPPEND_LIVE='hostname=ubuntu-phablet username=ubuntu'
|
||||||
@ -554,7 +549,7 @@ case $ARCH in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
case $PROJECT in
|
case $PROJECT in
|
||||||
ubuntu-server|ubuntu-base|ubuntu-touch|ubuntu-pd)
|
ubuntu-server|ubuntu-base|ubuntu-touch|ubuntu-touch-custom)
|
||||||
OPTS="${OPTS:+$OPTS }--linux-packages=none --initramfs=none"
|
OPTS="${OPTS:+$OPTS }--linux-packages=none --initramfs=none"
|
||||||
KERNEL_FLAVOURS=none
|
KERNEL_FLAVOURS=none
|
||||||
BINARY_REMOVE_LINUX=false
|
BINARY_REMOVE_LINUX=false
|
||||||
@ -734,7 +729,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
ubuntu-touch:*|ubuntu-pd:*|ubuntu-core:system-image|ubuntu-desktop-next:system-image|ubuntu-cpc:*)
|
ubuntu-touch:*|ubuntu-touch-custom:*|ubuntu-core:system-image|ubuntu-desktop-next:system-image|ubuntu-cpc:*)
|
||||||
cp -af /usr/share/livecd-rootfs/live-build/${PROJECT}/* \
|
cp -af /usr/share/livecd-rootfs/live-build/${PROJECT}/* \
|
||||||
config/
|
config/
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user