Bob Mottram 7 gadus atpakaļ
vecāks
revīzija
8e561667c1
2 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 2
    2
      src/freedombone-image-customise
  2. 1
    1
      src/freedombone-utils-setup

+ 2
- 2
src/freedombone-image-customise Parādīt failu

@@ -1045,7 +1045,7 @@ function image_setup_utils {
1045 1045
     fi
1046 1046
 
1047 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 1049
     fi
1050 1050
 
1051 1051
     chroot "$rootdir" apt-get -yq install locales locales-all debconf
@@ -1356,7 +1356,7 @@ chroot "$rootdir" apt-get install -y libnss-mdns libnss-myhostname libnss-gw-nam
1356 1356
 chroot "$rootdir" apt-get install -y locales locales-all debconf wireless-tools wpasupplicant usbutils
1357 1357
 if [[ $ARCHITECTURE == 'qemu'* || $ARCHITECTURE == 'i386' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' ]]; then
1358 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 1360
 fi
1361 1361
 
1362 1362
 sed -i "s|#host-name=.*|host-name=${LOCAL_NAME}|g" $rootdir/etc/avahi/avahi-daemon.conf

+ 1
- 1
src/freedombone-utils-setup Parādīt failu

@@ -235,7 +235,7 @@ function initial_setup {
235 235
     apt-get -yq install cpulimit screen
236 236
 
237 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 239
     fi
240 240
 
241 241
     if [ ! -d $INSTALL_DIR ]; then