mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 11:21:12 +00:00
fix: Do not install recommends for ubuntu-cpc minimized project (LP: #2031640)
For minimized images we do not want to install any recommended packages. We can do this by setting APT::Install-Recommends to false in apt config or by passing --no-install-recommends to apt-get install.
This commit is contained in:
parent
21fa212d12
commit
d1ec6f8947
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
livecd-rootfs (23.10.16) mantic; urgency=medium
|
||||
|
||||
* fix: Do not install recommends for ubuntu-cpc minimized project (LP: #2031640)
|
||||
|
||||
-- Philip Roche <phil.roche@ubuntu.com> Thu, 17 Aug 2023 11:44:23 +0100
|
||||
|
||||
livecd-rootfs (23.10.15) mantic; urgency=medium
|
||||
|
||||
[ Stefan Hammer ]
|
||||
|
@ -1106,6 +1106,12 @@ case $PROJECT in
|
||||
KERNEL_FLAVOURS=virtual
|
||||
|
||||
if [ "${SUBPROJECT:-}" = minimized ]; then
|
||||
# For minimized images we do not want to install any recommended packages.
|
||||
# We can do this by setting APT::Install-Recommends to false in apt config
|
||||
# or by passing --no-install-recommends to apt-get install.
|
||||
# Apt config is set using `APT_OPTIONS` variable in this script.
|
||||
# This fixes LP: #2031640
|
||||
APT_OPTIONS="${APT_OPTIONS:+$APT_OPTIONS }--no-install-recommends"
|
||||
add_package install ubuntu-cloud-minimal
|
||||
else
|
||||
add_task install minimal standard cloud-image
|
||||
|
Loading…
x
Reference in New Issue
Block a user