mirror of
https://github.com/YunoHost/lxd_img_builder.git
synced 2024-09-03 19:56:55 +02:00
Port uncommited changes from prod
This commit is contained in:
parent
20427163cf
commit
ce035f67db
1 changed files with 4 additions and 4 deletions
8
recipes
8
recipes
|
@ -129,11 +129,11 @@ function slimify()
|
||||||
apt clean
|
apt clean
|
||||||
|
|
||||||
# Disable mandb because zzzzz: https://stackoverflow.com/questions/69974259/fully-disable-man-db
|
# Disable mandb because zzzzz: https://stackoverflow.com/questions/69974259/fully-disable-man-db
|
||||||
mv /usr/bin/mandb /usr/bin/mandb-OFF
|
mv /usr/bin/mandb /usr/bin/mandb-OFF || true
|
||||||
cp -p /bin/true /usr/bin/mandb
|
cp -p /bin/true /usr/bin/mandb
|
||||||
rm -r /var/cache/man
|
rm -rf /var/cache/man
|
||||||
rm /var/lib/man-db/auto-update
|
rm -f /var/lib/man-db/auto-update
|
||||||
apt-mark hold man-db
|
apt-mark hold man-db || true
|
||||||
|
|
||||||
# Other tricks to save up space (at least 100MB or even 200MB wtf?!)
|
# Other tricks to save up space (at least 100MB or even 200MB wtf?!)
|
||||||
# https://stackoverflow.com/questions/59794891/how-does-debian-differ-from-debian-slim
|
# https://stackoverflow.com/questions/59794891/how-does-debian-differ-from-debian-slim
|
||||||
|
|
Loading…
Add table
Reference in a new issue