|
@@ -1012,6 +1012,9 @@ chroot "$rootdir" apt-get install -y iptables dnsutils net-tools network-manager
|
1012
|
1012
|
chroot "$rootdir" apt-get install -y libnss-mdns libnss-myhostname libnss-gw-name nano man ntp
|
1013
|
1013
|
chroot "$rootdir" apt-get install -y locales locales-all debconf wireless-tools wpasupplicant
|
1014
|
1014
|
chroot "$rootdir" apt-get install -y usbutils cryptsetup zsh pinentry-curses iotop bc
|
|
1015
|
+if [[ $ARCHITECTURE == 'i386' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' ]]; then
|
|
1016
|
+ chroot "$rootdir" apt-get install -y grub2
|
|
1017
|
+fi
|
1015
|
1018
|
|
1016
|
1019
|
sed -i "s|#host-name=.*|host-name=${PROJECT_NAME}|g" $rootdir/etc/avahi/avahi-daemon.conf
|
1017
|
1020
|
sed -i "s|host-name=.*|host-name=${PROJECT_NAME}|g" $rootdir/etc/avahi/avahi-daemon.conf
|