ubiquity: quick disable deprecated cdrom repo for offline install.

This commit is contained in:
Luis Guzmán 2024-03-03 21:20:15 +00:00
parent 918bcdc926
commit 5bfb15a5f7

View file

@ -18,12 +18,13 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=35 VERSION=36
. ./config . ./config
# Avoid the need for a custom cdrom:// repo # Avoid the need for a custom cdrom:// repo
patch --no-backup-if-mismatch -p1 < $DATA/grub-installer.patch patch --no-backup-if-mismatch -p1 < $DATA/grub-installer.patch
truncate -s 0 d-i/source/apt-setup/generators/40cdrom
# Disable confirmation popups, as they are innacurate and buggy # Disable confirmation popups, as they are innacurate and buggy
patch --no-backup-if-mismatch -p1 < $DATA/no_confrirmation_when_crypto.patch patch --no-backup-if-mismatch -p1 < $DATA/no_confrirmation_when_crypto.patch