##// END OF EJS Templates
Sound is part of BT dependency - keep it if used...
0 -
r745:3a61ef98dff9
parent child
Show More
@@ -75,7 +75,11 if [ "$ENABLE_REDUCE" = true ] ; then
75 75
76 76 # Remove sound utils and libraries
77 77 if [ "$ENABLE_SOUND" = false ] ; then
78 chroot_exec apt-get -qq -y purge alsa-utils libsamplerate0 libasound2 libasound2-data
78 if [ "$ENABLE_BLUETOOTH" = false ] ; then
79 chroot_exec apt-get -qq -y purge alsa-utils libsamplerate0 libasound2 libasound2-data
80 else
81 chroot_exec apt-get -qq -y purge alsa-utils libsamplerate0
82 fi
79 83 fi
80 84
81 85 # Remove GPU kernels
@@ -91,6 +95,9 if [ "$ENABLE_REDUCE" = true ] ; then
91 95 rm -f "${R}/boot/vmlinuz-*"
92 96 rm -f "${R}/boot/initrd.img-*"
93 97 fi
98
99 #Reduce BOOT
100 #Only necessary files for my gen pi
94 101
95 102 # Clean APT list of repositories
96 103 rm -fr "${R}/var/lib/apt/lists/*"
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant