Drop code only used for d-i based ubuntu-server images, no longer supported.

This commit is contained in:
Steve Langasek 2023-09-06 15:40:55 -07:00
parent 6d834be1bf
commit 5a456417d2
2 changed files with 2 additions and 7 deletions

2
debian/changelog vendored
View File

@ -21,6 +21,8 @@ livecd-rootfs (23.10.33) UNRELEASED; urgency=medium
* Remove unnecessary arch guarding of the UbuntuStudio kernel selection: * Remove unnecessary arch guarding of the UbuntuStudio kernel selection:
we only build this image on amd64 (the arch checking is from i386 days), we only build this image on amd64 (the arch checking is from i386 days),
and the lowlatency kernel also exists on arm64. and the lowlatency kernel also exists on arm64.
* Drop code only used for d-i based ubuntu-server images, no longer
supported.
-- Steve Langasek <steve.langasek@ubuntu.com> Wed, 06 Sep 2023 11:23:17 -0700 -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 06 Sep 2023 11:23:17 -0700

View File

@ -1359,13 +1359,6 @@ EOF
;; ;;
esac esac
if [ $PROJECT = ubuntu-server ] && [ "${SUBPROJECT:-}" != live ]; then
cat > config/hooks/100-remove-fstab.chroot <<EOF
#! /bin/sh
rm -f /etc/fstab
EOF
fi
if [ $PROJECT != ubuntu-cpc ]; then if [ $PROJECT != ubuntu-cpc ]; then
cat > config/hooks/100-preserve-apt-prefs.chroot <<\EOF cat > config/hooks/100-preserve-apt-prefs.chroot <<\EOF
#! /bin/sh -ex #! /bin/sh -ex