summaryrefslogtreecommitdiffstats
path: root/hosts/print1/postinst
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 /hosts/print1/postinst
parent75bd3b864db4b1e2e86c219896be03b31430ff72 (diff)
downloadpc-inst-67d5fd888685755305af69d87749c954e7e992b5.zip
pc-inst-67d5fd888685755305af69d87749c954e7e992b5.tar.gz
pc-inst-67d5fd888685755305af69d87749c954e7e992b5.tar.bz2
print1: Remove GRUB
Diffstat (limited to 'hosts/print1/postinst')
-rw-r--r--hosts/print1/postinst11
1 files changed, 0 insertions, 11 deletions
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