diff options
Diffstat (limited to 'oneiric-armel-ubuntu-desktop-dbg/customization/hooks')
-rwxr-xr-x | oneiric-armel-ubuntu-desktop-dbg/customization/hooks/60-remove-not-needed.binary | 10 | ||||
-rwxr-xr-x | oneiric-armel-ubuntu-desktop-dbg/customization/hooks/70-kill-all-symlinks.binary | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/oneiric-armel-ubuntu-desktop-dbg/customization/hooks/60-remove-not-needed.binary b/oneiric-armel-ubuntu-desktop-dbg/customization/hooks/60-remove-not-needed.binary new file mode 100755 index 0000000..a4c2eec --- /dev/null +++ b/oneiric-armel-ubuntu-desktop-dbg/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 diff --git a/oneiric-armel-ubuntu-desktop-dbg/customization/hooks/70-kill-all-symlinks.binary b/oneiric-armel-ubuntu-desktop-dbg/customization/hooks/70-kill-all-symlinks.binary new file mode 100755 index 0000000..a2eb282 --- /dev/null +++ b/oneiric-armel-ubuntu-desktop-dbg/customization/hooks/70-kill-all-symlinks.binary @@ -0,0 +1,10 @@ +#!/bin/sh + +cd binary/boot/ + +mv filesystem.dir old +mkdir filesystem.dir + +cd old + +tar -cf - --no-same-owner --ignore-case --dereference . | tar -xf - -C ../filesystem.dir && rm -rf ../old |