summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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