@@ -75,7 +75,11 if [ "$ENABLE_REDUCE" = true ] ; then | |||||
75 |
|
75 | |||
76 | # Remove sound utils and libraries |
|
76 | # Remove sound utils and libraries | |
77 | if [ "$ENABLE_SOUND" = false ] ; then |
|
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 | fi |
|
83 | fi | |
80 |
|
84 | |||
81 | # Remove GPU kernels |
|
85 | # Remove GPU kernels | |
@@ -91,6 +95,9 if [ "$ENABLE_REDUCE" = true ] ; then | |||||
91 | rm -f "${R}/boot/vmlinuz-*" |
|
95 | rm -f "${R}/boot/vmlinuz-*" | |
92 | rm -f "${R}/boot/initrd.img-*" |
|
96 | rm -f "${R}/boot/initrd.img-*" | |
93 | fi |
|
97 | fi | |
|
98 | ||||
|
99 | #Reduce BOOT | |||
|
100 | #Only necessary files for my gen pi | |||
94 |
|
101 | |||
95 | # Clean APT list of repositories |
|
102 | # Clean APT list of repositories | |
96 | rm -fr "${R}/var/lib/apt/lists/*" |
|
103 | rm -fr "${R}/var/lib/apt/lists/*" |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant