From 67d5fd888685755305af69d87749c954e7e992b5 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 14 Oct 2021 17:48:27 -0400 Subject: print1: Remove GRUB --- diff --git a/hosts/print1/conf b/hosts/print1/conf index b219024..016c20d 100644 --- a/hosts/print1/conf +++ b/hosts/print1/conf @@ -2,7 +2,7 @@ # start,size,id,bootable part_script=' - 2,+,83,* + ,+,83,* ' # fs mp type options dump pass @@ -14,7 +14,6 @@ mirror='http://deb.debian.org/debian' suite='bullseye' arch='amd64' extra_pkgs=' - grub-pc linux-image-amd64 sysvinit-core ' diff --git a/hosts/print1/postinst b/hosts/print1/postinst index f9fafd8..0055096 100644 --- a/hosts/print1/postinst +++ b/hosts/print1/postinst @@ -7,17 +7,6 @@ in_target apt-get -q -y --purge autoremove || return 1 # Remove packages from APT cache. in_target apt-get clean || return 1 -# Fix booting and install GRUB. -mv "${target}/etc/default/grub" "${target}/etc/default/grub.dist" -sed \ - -e '^s/\(GRUB_CMDLINE_LINUX=".*\)"$/\1nomodeset"/' - "${target}/etc/default/grub.dist" 1>"${target}/etc/default/grub" -in_target update-grub -in_target grub-install "${dev}" - -# Update initramfs. -in_target update-initramfs -u - # Configure network interfaces. mv "${target}/etc/network/interfaces" "${target}/etc/network/interfaces.dist" cat 1>"${target}/etc/network/interfaces" 0<<-EOF -- cgit v0.9.1