From 6583d32ddf223ce729860ae4c431a80a5a40e915 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Wed, 3 Apr 2019 23:13:44 +0200 Subject: [PATCH] Chroot: Install kernel and grub --- debian/chroot.install | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/chroot.install b/debian/chroot.install index e30c35f..500ecf4 100755 --- a/debian/chroot.install +++ b/debian/chroot.install @@ -237,6 +237,12 @@ printf '%b\n' "Europe/Paris" > /target/etc/timezone ln -fs /usr/share/zoneinfo/Europe/Paris /target/etc/localtime chroot /target dpkg-reconfigure --frontend noninteractive tzdata +## }}} +## Kernel and Grub {{{ +chroot /target aptitude install --assume-yes --without-recommends -- linux-image-amd64 grub-pc +chroot /target grub-install "${hdd}" +chroot /target update-grub + ## }}} # }}} # Finish {{{