summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/build b/build
index 4460176..f6547dd 100755
--- a/build
+++ b/build
@@ -13,6 +13,12 @@ install: build
oh-autoinstall
install -m 0755 ../install-lilo.sh dest/sbin/install-lilo
rm dest/etc/*/p*.d/* dest/etc/lilo.conf_example
+ # Remove unneeded Perl and Bash scripts.
+ set -e; \
+ for script in keytab-lilo liloconfig lilo-uuid-diskid mkrescue; do \
+ rm "dest/usr/sbin/$${script}"; \
+ rm "dest/usr/share/man/man8/$${script}.8"; \
+ done
oh-fixperms
oh-strip
oh-installfiles