Bob Mottram 7 years ago
parent
commit
8e561667c1
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      src/freedombone-image-customise
  2. 1
    1
      src/freedombone-utils-setup

+ 2
- 2
src/freedombone-image-customise View File

1045
     fi
1045
     fi
1046
 
1046
 
1047
     if [[ $ARCHITECTURE == 'qemu'* || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'i386' ]]; then
1047
     if [[ $ARCHITECTURE == 'qemu'* || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'i386' ]]; then
1048
-        chroot "$rootdir" apt-get -yq install grub2
1048
+        chroot "$rootdir" apt-get -yq install grub2 lvm2
1049
     fi
1049
     fi
1050
 
1050
 
1051
     chroot "$rootdir" apt-get -yq install locales locales-all debconf
1051
     chroot "$rootdir" apt-get -yq install locales locales-all debconf
1356
 chroot "$rootdir" apt-get install -y locales locales-all debconf wireless-tools wpasupplicant usbutils
1356
 chroot "$rootdir" apt-get install -y locales locales-all debconf wireless-tools wpasupplicant usbutils
1357
 if [[ $ARCHITECTURE == 'qemu'* || $ARCHITECTURE == 'i386' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' ]]; then
1357
 if [[ $ARCHITECTURE == 'qemu'* || $ARCHITECTURE == 'i386' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' ]]; then
1358
     chroot "$rootdir" apt-get install -y cryptsetup zsh pinentry-curses iotop bc
1358
     chroot "$rootdir" apt-get install -y cryptsetup zsh pinentry-curses iotop bc
1359
-    chroot "$rootdir" apt-get install -y grub2 hostapd
1359
+    chroot "$rootdir" apt-get install -y grub2 hostapd lvm2
1360
 fi
1360
 fi
1361
 
1361
 
1362
 sed -i "s|#host-name=.*|host-name=${LOCAL_NAME}|g" $rootdir/etc/avahi/avahi-daemon.conf
1362
 sed -i "s|#host-name=.*|host-name=${LOCAL_NAME}|g" $rootdir/etc/avahi/avahi-daemon.conf

+ 1
- 1
src/freedombone-utils-setup View File

235
     apt-get -yq install cpulimit screen
235
     apt-get -yq install cpulimit screen
236
 
236
 
237
     if [[ $ARCHITECTURE == 'qemu'* || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'i386' ]]; then
237
     if [[ $ARCHITECTURE == 'qemu'* || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'i386' ]]; then
238
-        apt-get -yq install grub2
238
+        apt-get -yq install grub2 lvm2
239
     fi
239
     fi
240
 
240
 
241
     if [ ! -d $INSTALL_DIR ]; then
241
     if [ ! -d $INSTALL_DIR ]; then