Skip to content
Snippets Groups Projects
Commit f19e0195 authored by Bob Mottram's avatar Bob Mottram
Browse files

Install grub2 on non-arm architectures

parent af3891ae
No related branches found
No related tags found
No related merge requests found
......@@ -1012,6 +1012,9 @@ chroot "$rootdir" apt-get install -y iptables dnsutils net-tools network-manager
chroot "$rootdir" apt-get install -y libnss-mdns libnss-myhostname libnss-gw-name nano man ntp
chroot "$rootdir" apt-get install -y locales locales-all debconf wireless-tools wpasupplicant
chroot "$rootdir" apt-get install -y usbutils cryptsetup zsh pinentry-curses iotop bc
if [[ $ARCHITECTURE == 'i386' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' ]]; then
chroot "$rootdir" apt-get install -y grub2
fi
sed -i "s|#host-name=.*|host-name=${PROJECT_NAME}|g" $rootdir/etc/avahi/avahi-daemon.conf
sed -i "s|host-name=.*|host-name=${PROJECT_NAME}|g" $rootdir/etc/avahi/avahi-daemon.conf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment