mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-08-25 07:34:10 +00:00
Import patches-unapplied version 2.408.5 to ubuntu/xenial-proposed
Imported using git-ubuntu import. Changelog parent: c4386e711c93bc32c872f3d8b63665209f0b7124 New changelog entries: * Temporarily change the 60-install-click.chroot script to pull in clicks for arm64 builds from a different location for ubuntu-touch. * Add the new dhcpd user to touch hooks introduced by latest archive changes. * Remove the ubuntu-pd project logic. * Synced ubuntu-touch-custom changes from the vivid branch to xenial. This also adds a new symlink called ubuntu-touch-custom to the ubuntu-touch hooks dir. * Stop using the overlay PPA for touch livecd-rootfs changes (LP: #1628085).
This commit is contained in:
parent
c4386e711c
commit
7e9c219147
13
debian/changelog
vendored
13
debian/changelog
vendored
@ -1,3 +1,16 @@
|
||||
livecd-rootfs (2.408.5) xenial; urgency=medium
|
||||
|
||||
* Temporarily change the 60-install-click.chroot script to pull in clicks for
|
||||
arm64 builds from a different location for ubuntu-touch.
|
||||
* Add the new dhcpd user to touch hooks introduced by latest archive changes.
|
||||
* Remove the ubuntu-pd project logic.
|
||||
* Synced ubuntu-touch-custom changes from the vivid branch to xenial. This
|
||||
also adds a new symlink called ubuntu-touch-custom to the ubuntu-touch hooks
|
||||
dir.
|
||||
* Stop using the overlay PPA for touch livecd-rootfs changes (LP: #1628085).
|
||||
|
||||
-- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Tue, 27 Sep 2016 13:27:28 +0200
|
||||
|
||||
livecd-rootfs (2.408.4) xenial; urgency=medium
|
||||
|
||||
* live-build/ubuntu-cpc/hooks/042-vagrant.binary: fix unmount handling
|
||||
|
@ -238,7 +238,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
|
||||
@ -345,7 +345,7 @@ EOF
|
||||
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 *) | \
|
||||
gzip -9 --rsyncable > "$PREFIX.custom.tar.gz"
|
||||
chmod 644 "$PREFIX.custom.tar.gz"
|
||||
@ -689,7 +689,7 @@ if [ "$SUBARCH" = "ac100" ] || [ "$SUBARCH" = "nexus7" ]; then
|
||||
|
||||
fi
|
||||
|
||||
if [ "$PROJECT" = "ubuntu-touch" ] || [ "$PROJECT" = "ubuntu-pd" ]; then
|
||||
if [ "$PROJECT" = "ubuntu-touch" ] || [ "$PROJECT" = "ubuntu-touch-custom" ]; then
|
||||
sourceslist="chroot/etc/apt/sources.list"
|
||||
|
||||
lb chroot_proc install "$@"
|
||||
|
@ -135,7 +135,7 @@ case $IMAGEFORMAT in
|
||||
|
||||
*)
|
||||
case $PROJECT in
|
||||
ubuntu-server|ubuntu-touch|ubuntu-pd)
|
||||
ubuntu-server|ubuntu-touch|ubuntu-touch-custom)
|
||||
;;
|
||||
*)
|
||||
add_package live lupin-casper
|
||||
@ -168,7 +168,7 @@ if [ "$PREINSTALLED" = "true" ] && [ "$SUBPROJECT" != "wubi" ]; then
|
||||
ubuntu-server)
|
||||
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
|
||||
@ -419,13 +419,8 @@ case $PROJECT in
|
||||
OPTS="${OPTS:+$OPTS }--bootstrap-flavour=minimal"
|
||||
;;
|
||||
|
||||
ubuntu-touch|ubuntu-pd)
|
||||
if [ "$PROJECT" = "ubuntu-touch" ]; then
|
||||
meta_package=ubuntu-touch
|
||||
else
|
||||
meta_package=ubuntu-pocket-desktop
|
||||
fi
|
||||
add_package install ubuntu-minimal $meta_package systemd-sysv- packagekit ubuntu-system-settings-online-accounts
|
||||
ubuntu-touch|ubuntu-touch-custom)
|
||||
add_package install ubuntu-minimal ubuntu-touch systemd-sysv- packagekit ubuntu-system-settings-online-accounts
|
||||
|
||||
COMPONENTS='main restricted universe'
|
||||
BOOTAPPEND_LIVE='hostname=ubuntu-phablet username=ubuntu'
|
||||
@ -563,7 +558,7 @@ case $ARCH in
|
||||
esac
|
||||
|
||||
case $PROJECT in
|
||||
ubuntu-server|ubuntu-core|ubuntu-base|ubuntu-touch|ubuntu-pd)
|
||||
ubuntu-server|ubuntu-core|ubuntu-base|ubuntu-touch|ubuntu-touch-custom)
|
||||
case $SUBPROJECT in
|
||||
system-image)
|
||||
# keep the kernel for the system-image build
|
||||
@ -749,7 +744,7 @@ EOF
|
||||
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}/* \
|
||||
config/
|
||||
;;
|
||||
|
@ -53,6 +53,7 @@ systemd-network:x:112:117:systemd Network Management,,,:/run/systemd/netif:/bin/
|
||||
systemd-resolve:x:113:118:systemd Resolver,,,:/run/systemd/resolve:/bin/false
|
||||
systemd-bus-proxy:x:114:119:systemd Bus Proxy,,,:/run/systemd:/bin/false
|
||||
nm-openvpn:x:115:120:NetworkManager OpenVPN,,,:/var/lib/openvpn/chroot:/bin/false
|
||||
dhcpd:x:116:122::/var/run:/bin/false
|
||||
EOF
|
||||
else
|
||||
echo "/etc/passwd post-debootstrap hash doesn't match record" >&2
|
||||
@ -101,6 +102,7 @@ systemd-network:*:16372:0:99999:7:::
|
||||
systemd-resolve:*:16372:0:99999:7:::
|
||||
systemd-bus-proxy:*:16372:0:99999:7:::
|
||||
nm-openvpn:*:16909:0:99999:7:::
|
||||
dhcpd:*:16925:0:99999:7:::
|
||||
EOF
|
||||
else
|
||||
echo "/etc/shadow post-debootstrap hash doesn't match record" >&2
|
||||
@ -186,6 +188,7 @@ systemd-resolve:x:118:
|
||||
systemd-bus-proxy:x:119:
|
||||
input:x:121:
|
||||
nm-openvpn:x:120:
|
||||
dhcpd:x:122:
|
||||
EOF
|
||||
else
|
||||
echo "/etc/group post-debootstrap hash doesn't match record" >&2
|
||||
@ -271,6 +274,7 @@ systemd-resolve:!::
|
||||
systemd-bus-proxy:!::
|
||||
input:!::
|
||||
nm-openvpn:!::
|
||||
dhcpd:!::
|
||||
EOF
|
||||
else
|
||||
echo "/etc/gshadow post-debootstrap hash doesn't match record" >&2
|
||||
|
@ -4,8 +4,19 @@ set -e
|
||||
|
||||
echo "Setting up click packages"
|
||||
|
||||
CLICKARCH=$(dpkg --print-architecture)
|
||||
|
||||
click_uri=http://archive-team.internal/click_packages
|
||||
if [ "$CLICKARCH" = "arm64" ]; then
|
||||
# FIXME: this is temporary. Since right now we can't have arm64 clicks in the store
|
||||
# (before implementing fat-packages), we need to fetch the arm64 click list from a
|
||||
# different place
|
||||
click_list=$click_uri/click_list.arm64
|
||||
click_install_flags="--allow-unauthenticated"
|
||||
else
|
||||
click_list=$click_uri/click_list
|
||||
click_install_flags=""
|
||||
fi
|
||||
click_db=/usr/share/click/preinstalled
|
||||
click_db_custom=/custom/click
|
||||
|
||||
@ -20,8 +31,6 @@ tmpdir="$(mktemp -d)"
|
||||
cleanup () { rm -rf "$tmpdir"; }
|
||||
trap cleanup EXIT
|
||||
|
||||
CLICKARCH=$(dpkg --print-architecture)
|
||||
|
||||
wget --no-verbose -O "$tmpdir/click_list" "$click_list"
|
||||
for package in $(cat "$tmpdir/click_list")
|
||||
do
|
||||
@ -61,7 +70,7 @@ do
|
||||
mv /etc/click/databases/10_core.conf \
|
||||
/etc/click/databases/10_core.conf.tmp
|
||||
fi
|
||||
click install --force-missing-framework --root="$root" --all-users \
|
||||
click install --force-missing-framework --root="$root" --all-users $click_install_flags \
|
||||
"$tmpdir/$package"
|
||||
if [ "$root" = "$click_db_custom" ]; then
|
||||
mv /etc/click/databases/10_core.conf.tmp \
|
||||
|
Loading…
x
Reference in New Issue
Block a user