summaryrefslogtreecommitdiff
path: root/oneiric-armel-ubuntu-desktop-dev/customization/hooks/60-remove-not-needed.binary
diff options
context:
space:
mode:
Diffstat (limited to 'oneiric-armel-ubuntu-desktop-dev/customization/hooks/60-remove-not-needed.binary')
-rwxr-xr-xoneiric-armel-ubuntu-desktop-dev/customization/hooks/60-remove-not-needed.binary10
1 files changed, 10 insertions, 0 deletions
diff --git a/oneiric-armel-ubuntu-desktop-dev/customization/hooks/60-remove-not-needed.binary b/oneiric-armel-ubuntu-desktop-dev/customization/hooks/60-remove-not-needed.binary
new file mode 100755
index 0000000..a4c2eec
--- /dev/null
+++ b/oneiric-armel-ubuntu-desktop-dev/customization/hooks/60-remove-not-needed.binary
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+cd binary/boot/filesystem.dir
+
+rm -rf usr/share/{groff,linda,lintian,info,man,perl,locale,fonts,icons,i18n,gtk-doc,ghostscript} \
+ boot lib/modules \
+ lib/firmware dev home lib/init lib/lsb lib/systemd lib/terminfo \
+ usr/lib/firefox*/searchplugins/common \
+ usr/bin/X11 lib64 \
+ lib/udev lib/xtables media mnt opt proc root run selinux srv sys tmp