mirror of
https://git.launchpad.net/livecd-rootfs
synced 2026-01-07 19:33:30 +00:00
Bootstrap and install variant packages if ARCH_VARIANT is set.
This commit is contained in:
parent
383a1206cc
commit
9c5d326e56
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
livecd-rootfs (26.04.13) UNRELEASED; urgency=medium
|
||||
|
||||
* Bootstrap and install variant packages if ARCH_VARIANT is set.
|
||||
|
||||
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Tue, 06 Jan 2026 21:26:27 +1300
|
||||
|
||||
livecd-rootfs (26.04.12) resolute; urgency=medium
|
||||
|
||||
* desktop: add variables pointing to the different models (stable & dangerous).
|
||||
|
||||
@ -119,6 +119,12 @@ Expire-Date: 0
|
||||
exit $ec
|
||||
fi
|
||||
|
||||
if [ -n "${ARCH_VARIANT:-}" ]; then
|
||||
cat > chroot/etc/apt/apt.conf.d/90arch-variant <<EOF
|
||||
APT::Architecture-Variants "${ARCH_VARIANT}";
|
||||
EOF
|
||||
fi
|
||||
|
||||
# Set locale to C.UTF-8 by default. This may be overridden later.
|
||||
echo "LANG=C.UTF-8" > chroot/etc/default/locale
|
||||
|
||||
|
||||
@ -660,7 +660,7 @@ if ! [ -e config/germinate-output/structure ]; then
|
||||
fi
|
||||
(cd config/germinate-output && germinate --no-rdepends --no-installer \
|
||||
-S $SEEDMIRROR -m $MIRROR -d $SUITE,$SUITE-updates \
|
||||
-s $FLAVOUR.$SUITE $GERMINATE_ARG -a $ARCH)
|
||||
-s $FLAVOUR.$SUITE $GERMINATE_ARG -a ${ARCH_VARIANT:-$ARCH})
|
||||
fi
|
||||
|
||||
# Common functionality for layered desktop images
|
||||
@ -1365,6 +1365,7 @@ lb config noauto \
|
||||
--checksums none \
|
||||
--cache false \
|
||||
${BOOTAPPEND_LIVE:+--bootappend-live "$BOOTAPPEND_LIVE"} \
|
||||
${ARCH_VARIANT:+--bootstrap-arch "$ARCH_VARIANT"} \
|
||||
$OPTS \
|
||||
"$@"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user