2021-07-21 14:54:30 +12:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
case ${PASS} in
|
|
|
|
ubuntu-server-minimal.ubuntu-server)
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
exit 0
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2024-06-19 15:20:09 +01:00
|
|
|
# Run the unminimize script to re-install packages with all dpkg filters removed and install packages
|
|
|
|
# removed as part of minimization
|
2024-06-19 21:51:42 +05:30
|
|
|
yes | /usr/bin/unminimize
|
2024-06-19 15:20:09 +01:00
|
|
|
|
2023-02-24 17:47:51 -08:00
|
|
|
# Fix up missing recommends. Other non-layered flavors handle this in
|
|
|
|
# live-build/auto/build, but we need to do it here. Also, there are
|
|
|
|
# additional recommends missing from server-minimal that wouldn't be
|
|
|
|
# corrected by a fix to debootstrap to handle Recommends.
|
|
|
|
echo "Installing any missing recommends"
|
|
|
|
env DEBIAN_FRONTEND=noninteractive apt-get -y --fix-policy install
|