@@ -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 | if [ "$ENABLE_BLUETOOTH" = false ] ; then | |||
78 |
|
|
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 | |
@@ -92,6 +96,9 if [ "$ENABLE_REDUCE" = true ] ; then | |||||
92 | rm -f "${R}/boot/initrd.img-*" |
|
96 | rm -f "${R}/boot/initrd.img-*" | |
93 | fi |
|
97 | fi | |
94 |
|
98 | |||
|
99 | #Reduce BOOT | |||
|
100 | #Only necessary files for my gen pi | |||
|
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/*" | |
97 | chroot_exec apt-get -qq -y update |
|
104 | chroot_exec apt-get -qq -y update |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant