mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-15 21:01:47 +00:00
live-build-auto/{build,config}: Support fetching a file from the seed
mirror (BASE_SEED.minimal-remove) and putting it into the livefs build as filesystem.manifest-minimal-remove. It's intended for ubiquity to read this file as a list of packages to remove when doing a 'minimal' desktop installation.
This commit is contained in:
parent
38cb38be6c
commit
ba4b16626f
10
debian/changelog
vendored
10
debian/changelog
vendored
@ -1,3 +1,13 @@
|
|||||||
|
livecd-rootfs (2.506) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* live-build-auto/{build,config}: Support fetching a file from the seed
|
||||||
|
mirror (BASE_SEED.minimal-remove) and putting it into the livefs build as
|
||||||
|
filesystem.manifest-minimal-remove. It's intended for ubiquity to read
|
||||||
|
this file as a list of packages to remove when doing a 'minimal' desktop
|
||||||
|
installation.
|
||||||
|
|
||||||
|
-- Iain Lane <iain.lane@canonical.com> Fri, 23 Feb 2018 12:07:57 +0000
|
||||||
|
|
||||||
livecd-rootfs (2.505) bionic; urgency=medium
|
livecd-rootfs (2.505) bionic; urgency=medium
|
||||||
|
|
||||||
* Move casper from filesystem.squashfs to installer.squashfs.
|
* Move casper from filesystem.squashfs to installer.squashfs.
|
||||||
|
@ -468,6 +468,10 @@ for OUTPUT in ext2 ext3 ext4 manifest manifest-remove size squashfs; do
|
|||||||
chmod 644 "$PREFIX.$OUTPUT"
|
chmod 644 "$PREFIX.$OUTPUT"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ -e config/manifest-minimal-remove ]; then
|
||||||
|
cp config/manifest-minimal-remove "$PREFIX.manifest-minimal-remove"
|
||||||
|
fi
|
||||||
|
|
||||||
for ISO in binary.iso binary.hybrid.iso; do
|
for ISO in binary.iso binary.hybrid.iso; do
|
||||||
[ -e "$ISO" ] || continue
|
[ -e "$ISO" ] || continue
|
||||||
ln "$ISO" "$PREFIX.iso"
|
ln "$ISO" "$PREFIX.iso"
|
||||||
|
@ -698,6 +698,20 @@ if [ -n "${BASE_SEED}" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# grab a list of packags to remove for a "minimal" installation from the seed
|
||||||
|
# mirror for this project
|
||||||
|
if [ -n "${BASE_SEED}" ] && [ -n "${BASE_SEED}" ]; then
|
||||||
|
minimal_packages_url=${SEEDMIRROR}/${SEED}/${BASE_SEED}.minimal-remove
|
||||||
|
echo -n "Checking ${minimal_packages_url} for a minimal installation list... "
|
||||||
|
minimal_packages_remove=$(wget -q -O- ${minimal_packages_url} | sed -e '/\s*#.*$/d' -e '/^\s*$/d')
|
||||||
|
if [ -n "${minimal_packages_remove}" ]; then
|
||||||
|
echo "${minimal_packages_remove}" > config/manifest-minimal-remove
|
||||||
|
echo "$(echo ${minimal_packages_remove} | tr '\n' ' ')"
|
||||||
|
else
|
||||||
|
echo "failed to retrieve, not including."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
export APT_OPTIONS
|
export APT_OPTIONS
|
||||||
|
|
||||||
if [ "$PREINSTALLED" != "true" ] && [ "$LIVE_TASK" ]; then
|
if [ "$PREINSTALLED" != "true" ] && [ "$LIVE_TASK" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user