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