Browse Source

Package not needed

Bob Mottram 8 years ago
parent
commit
28211221ba
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 lvm2 initramfs-tools
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 lvm2 initramfs-tools
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

253
     fi
253
     fi
254
 
254
 
255
     if [[ $ARCHITECTURE == 'qemu'* || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'i386' ]]; then
255
     if [[ $ARCHITECTURE == 'qemu'* || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'i386' ]]; then
256
-        apt-get -yq install grub2 lvm2 initramfs-tools
256
+        apt-get -yq install grub2 lvm2
257
     fi
257
     fi
258
 
258
 
259
     if [ ! -d $INSTALL_DIR ]; then
259
     if [ ! -d $INSTALL_DIR ]; then