summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild6
-rw-r--r--lilo.pkg/files1
2 files changed, 6 insertions, 1 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
diff --git a/lilo.pkg/files b/lilo.pkg/files
index 0c3bcbd..da5ca21 100644
--- a/lilo.pkg/files
+++ b/lilo.pkg/files
@@ -1,2 +1 @@
/sbin/
-/usr/sbin/