Bladeren bron

grub on qemu

Bob Mottram 9 jaren geleden
bovenliggende
commit
3fe4132ef1
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1
    1
      src/freedombone-image-customise

+ 1
- 1
src/freedombone-image-customise Bestand weergeven

1012
 chroot "$rootdir" apt-get install -y libnss-mdns libnss-myhostname libnss-gw-name nano man ntp
1012
 chroot "$rootdir" apt-get install -y libnss-mdns libnss-myhostname libnss-gw-name nano man ntp
1013
 chroot "$rootdir" apt-get install -y locales locales-all debconf wireless-tools wpasupplicant
1013
 chroot "$rootdir" apt-get install -y locales locales-all debconf wireless-tools wpasupplicant
1014
 chroot "$rootdir" apt-get install -y usbutils cryptsetup zsh pinentry-curses iotop bc
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
1015
+if [[ $ARCHITECTURE == 'qemu'* || $ARCHITECTURE == 'i386' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' ]]; then
1016
     chroot "$rootdir" apt-get install -y grub2
1016
     chroot "$rootdir" apt-get install -y grub2
1017
 fi
1017
 fi
1018
 
1018