summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-10-14 17:48:27 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-10-14 17:53:34 (EDT)
commit67d5fd888685755305af69d87749c954e7e992b5 (patch)
tree2438481386c2620f44e4ab96f6869c729547250e
parent75bd3b864db4b1e2e86c219896be03b31430ff72 (diff)
downloadpc-inst-67d5fd888685755305af69d87749c954e7e992b5.zip
pc-inst-67d5fd888685755305af69d87749c954e7e992b5.tar.gz
pc-inst-67d5fd888685755305af69d87749c954e7e992b5.tar.bz2
print1: Remove GRUB
-rw-r--r--hosts/print1/conf3
-rw-r--r--hosts/print1/postinst11
2 files changed, 1 insertions, 13 deletions
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