summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-07-19 03:17:12 +0200
committerDaniel Baumann <daniel@debian.org>2012-07-19 03:17:12 +0200
commitfed66eda2a8b76863aaed877b01079d6d097aa75 (patch)
tree4e136a91fe6e478d6a800e977a7f4f953b70af61 /examples
parentd0788d8dd8453d10446ef07c3b6d395b7a3ad0e3 (diff)
downloadvyos-live-build-fed66eda2a8b76863aaed877b01079d6d097aa75.tar.gz
vyos-live-build-fed66eda2a8b76863aaed877b01079d6d097aa75.zip
Removing debian-installer-banner.binary example hook, this can be done through config/includes.binary_debian-installer directly.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/hooks/debian-installer-banner.binary34
1 files changed, 0 insertions, 34 deletions
diff --git a/examples/hooks/debian-installer-banner.binary b/examples/hooks/debian-installer-banner.binary
deleted file mode 100755
index 61c160ca6..000000000
--- a/examples/hooks/debian-installer-banner.binary
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-
-# This is an binary hook for live-build(7) to overwrite the banner
-# in the graphical Debian Installer.
-# To enable it, copy or symlink this hook into your config/binary_local-hooks
-# directory and add a replacement banner.png at:
-#
-# config/binary_debian-installer/banner.png
-#
-# The file should be a PNG image of dimensions 800 x 75.
-
-set -e
-
-if [ -e config/binary_debian-installer/banner.png ]
-then
- TARGET_INITRD="binary/install/gtk/initrd.gz"
- REPACK_TMPDIR="binary.initrd"
-
- if [ -e "${TARGET_INITRD}" ]
- then
- # cpio does not have a "extract to directory", so we must change
- # directory
- mkdir -p ${REPACK_TMPDIR}
- cd ${REPACK_TMPDIR}
- gzip -d < ../${TARGET_INITRD} | cpio -i --make-directories --no-absolute-filenames
-
- # Overwrite banner
- cp ../config/binary_debian-installer/banner.png ./usr/share/graphics/logo_debian.png
-
- find | cpio -H newc -o | gzip -9 > ../${TARGET_INITRD}
- cd ..
- rm -rf ${REPACK_TMPDIR}
- fi
-fi