From e5ed7f6ce3785070a761d9e605477323703be10d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 19 Jul 2012 03:22:03 +0200 Subject: Removing live-build-inclusion.binary example hook, too broken way to do it. --- examples/hooks/live-build-inclusion.binary | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100755 examples/hooks/live-build-inclusion.binary (limited to 'examples') diff --git a/examples/hooks/live-build-inclusion.binary b/examples/hooks/live-build-inclusion.binary deleted file mode 100755 index b60f4a339..000000000 --- a/examples/hooks/live-build-inclusion.binary +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -# This is a hook for live-build(7) to install live-build and its config into -# the binary image. -# To enable it, copy or symlink this hook into your config/chroot_local-hooks -# directory. - -DIRECTORY="binary/tools/live" - -mkdir -p "${DIRECTORY}" - -cp -a config "${DIRECTORY}" - -if [ -e live-build ] -then - cp -a live-build "${DIRECTORY}" -else - mkdir -p "${DIRECTORY}"/live-build/bin - cp -a /usr/bin/lh* "${DIRECTORY}"/live-build/bin - - cp -a /usr/share/live/build "${DIRECTORY}"/live-build/share - - cp -a /usr/share/doc/live-build "${DIRECTORY}"/live-build/doc -fi -- cgit v1.2.3