浏览代码

grub on qemu

Bob Mottram 8 年前
父节点
当前提交
3fe4132ef1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/freedombone-image-customise

+ 1
- 1
src/freedombone-image-customise 查看文件

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