Rearranging helpers scripts in source tree.

This commit is contained in:
Daniel Baumann 2010-07-24 17:06:14 +02:00
parent c58e77942a
commit 74c3ad26d5
82 changed files with 87 additions and 87 deletions

View File

@ -4,7 +4,7 @@ SHELL := sh -e
LANGUAGES = de LANGUAGES = de
SCRIPTS = live-helper.sh cgi/* functions/* examples/*/*.sh helpers/* hooks/* SCRIPTS = cgi/* functions/* examples/*/*.sh scripts/*.sh scripts/*/*
all: test build all: test build
@ -41,11 +41,11 @@ build:
install: install:
# Installing shared data # Installing shared data
mkdir -p $(DESTDIR)/usr/share/live-helper mkdir -p $(DESTDIR)/usr/share/live-helper
cp -r cgi data examples live-helper.sh functions helpers hooks includes lists repositories templates $(DESTDIR)/usr/share/live-helper cp -r cgi data examples functions scripts hooks includes lists repositories templates $(DESTDIR)/usr/share/live-helper
# Installing executables # Installing executables
mkdir -p $(DESTDIR)/usr/bin mkdir -p $(DESTDIR)/usr/bin
mv $(DESTDIR)/usr/share/live-helper/helpers/lh $(DESTDIR)/usr/share/live-helper/helpers/live-helper $(DESTDIR)/usr/bin mv $(DESTDIR)/usr/share/live-helper/scripts/build/lh $(DESTDIR)/usr/share/live-helper/scripts/build/live-helper $(DESTDIR)/usr/bin
# Installing documentation # Installing documentation
mkdir -p $(DESTDIR)/usr/share/doc/live-helper mkdir -p $(DESTDIR)/usr/share/doc/live-helper

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'build binary images')" DESCRIPTION="$(Echo 'build binary images')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'create binary checksums')" DESCRIPTION="$(Echo 'create binary checksums')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'copy chroot into chroot')" DESCRIPTION="$(Echo 'copy chroot into chroot')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'install debian-installer into binary')" DESCRIPTION="$(Echo 'install debian-installer into binary')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'install disk information into binary')" DESCRIPTION="$(Echo 'install disk information into binary')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'encrypts rootfs')" DESCRIPTION="$(Echo 'encrypts rootfs')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'installs grub into binary')" DESCRIPTION="$(Echo 'installs grub into binary')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'installs grub2 into binary')" DESCRIPTION="$(Echo 'installs grub2 into binary')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'copy files into binary')" DESCRIPTION="$(Echo 'copy files into binary')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'build iso binary image')" DESCRIPTION="$(Echo 'build iso binary image')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'install linux-image into binary')" DESCRIPTION="$(Echo 'install linux-image into binary')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'execute local hooks in binary')" DESCRIPTION="$(Echo 'execute local hooks in binary')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'copy files into binary')" DESCRIPTION="$(Echo 'copy files into binary')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'install local packages into binary')" DESCRIPTION="$(Echo 'install local packages into binary')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'create manifest')" DESCRIPTION="$(Echo 'create manifest')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'installs a memtest into binary')" DESCRIPTION="$(Echo 'installs a memtest into binary')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'build netboot binary image')" DESCRIPTION="$(Echo 'build netboot binary image')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'build rootfs image')" DESCRIPTION="$(Echo 'build rootfs image')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'installs silo into binary')" DESCRIPTION="$(Echo 'installs silo into binary')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'installs syslinux into binary')" DESCRIPTION="$(Echo 'installs syslinux into binary')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'build harddisk binary image')" DESCRIPTION="$(Echo 'build harddisk binary image')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'build binary image')" DESCRIPTION="$(Echo 'build binary image')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'build binary image')" DESCRIPTION="$(Echo 'build binary image')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'copy win32-loader into binary')" DESCRIPTION="$(Echo 'copy win32-loader into binary')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'installs yaboot into binary')" DESCRIPTION="$(Echo 'installs yaboot into binary')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'bootstrap a Debian system')" DESCRIPTION="$(Echo 'bootstrap a Debian system')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'cache bootstrap stage')" DESCRIPTION="$(Echo 'cache bootstrap stage')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'bootstrap a Debian system with cdebootstrap(1)')" DESCRIPTION="$(Echo 'bootstrap a Debian system with cdebootstrap(1)')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'bootstrap by copying the host system')" DESCRIPTION="$(Echo 'bootstrap by copying the host system')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'bootstrap a Debian system with debootstrap(8)')" DESCRIPTION="$(Echo 'bootstrap a Debian system with debootstrap(8)')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Automatically populating config tree # Automatically populating config tree
if [ -x auto/config ] && [ ! -e .stage/config ] if [ -x auto/config ] && [ ! -e .stage/config ]

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'customize the Debian system')" DESCRIPTION="$(Echo 'customize the Debian system')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'manage /etc/apt/apt.conf')" DESCRIPTION="$(Echo 'manage /etc/apt/apt.conf')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'cache chroot stage')" DESCRIPTION="$(Echo 'cache chroot stage')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'manage /etc/debian_chroot')" DESCRIPTION="$(Echo 'manage /etc/debian_chroot')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'mount /dev/pts')" DESCRIPTION="$(Echo 'mount /dev/pts')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'manage /sbin/dpkg')" DESCRIPTION="$(Echo 'manage /sbin/dpkg')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'execute hacks in chroot')" DESCRIPTION="$(Echo 'execute hacks in chroot')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'execute hooks in chroot')" DESCRIPTION="$(Echo 'execute hooks in chroot')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'manage /bin/hostname')" DESCRIPTION="$(Echo 'manage /bin/hostname')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'manage /etc/hosts')" DESCRIPTION="$(Echo 'manage /etc/hosts')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'install queued packages into chroot')" DESCRIPTION="$(Echo 'install queued packages into chroot')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'make build interactive')" DESCRIPTION="$(Echo 'make build interactive')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'manage /etc/kernel-img.conf')" DESCRIPTION="$(Echo 'manage /etc/kernel-img.conf')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'execute local hooks in chroot')" DESCRIPTION="$(Echo 'execute local hooks in chroot')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'copy local files into chroot')" DESCRIPTION="$(Echo 'copy local files into chroot')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'queue install of local packages into chroot')" DESCRIPTION="$(Echo 'queue install of local packages into chroot')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'queue install of local packages lists into chroot')" DESCRIPTION="$(Echo 'queue install of local packages lists into chroot')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'apply local patches against chroot')" DESCRIPTION="$(Echo 'apply local patches against chroot')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'execute local preseed in chroot')" DESCRIPTION="$(Echo 'execute local preseed in chroot')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'install localization packages into chroot')" DESCRIPTION="$(Echo 'install localization packages into chroot')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'queue install of packages into chroot')" DESCRIPTION="$(Echo 'queue install of packages into chroot')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'queue install of packages lists into chroot')" DESCRIPTION="$(Echo 'queue install of packages lists into chroot')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'execute preseed in chroot')" DESCRIPTION="$(Echo 'execute preseed in chroot')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'mount /proc')" DESCRIPTION="$(Echo 'mount /proc')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'manage /etc/resolv.conf')" DESCRIPTION="$(Echo 'manage /etc/resolv.conf')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'mount /selinux')" DESCRIPTION="$(Echo 'mount /selinux')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'manage /etc/apt/sources.list')" DESCRIPTION="$(Echo 'manage /etc/apt/sources.list')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'convert symlinks')" DESCRIPTION="$(Echo 'convert symlinks')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'mount /sys')" DESCRIPTION="$(Echo 'mount /sys')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'manage /usr/sbin/policy-rc.d')" DESCRIPTION="$(Echo 'manage /usr/sbin/policy-rc.d')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'configure sysvinit')" DESCRIPTION="$(Echo 'configure sysvinit')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'install tasks into chroot')" DESCRIPTION="$(Echo 'install tasks into chroot')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'manage /usr/sbin/initctl')" DESCRIPTION="$(Echo 'manage /usr/sbin/initctl')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Read meta config # Read meta config
if [ "${1}" != "noauto" ] && [ -x auto/clean ] if [ "${1}" != "noauto" ] && [ -x auto/clean ]

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Read meta config # Read meta config
if [ "${1}" != "noauto" ] && [ -x auto/config ] if [ "${1}" != "noauto" ] && [ -x auto/config ]

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'utility to build Debian Live systems')" DESCRIPTION="$(Echo 'utility to build Debian Live systems')"
@ -41,17 +41,17 @@ case "${1}" in
COMMAND="${1}" COMMAND="${1}"
shift shift
if [ -x "${LH_BASE}/helpers/${COMMAND}" ] if [ -x "${LH_BASE}/scripts/build/${COMMAND}" ]
then then
LH=1 exec "${LH_BASE}/helpers/${COMMAND}" "${@}" LH=1 exec "${LH_BASE}/scripts/build/${COMMAND}" "${@}"
elif [ -x /usr/share/live-helper/helpers/${COMMAND} ] elif [ -x /usr/share/live-helper/scripts/build/${COMMAND} ]
then then
LH=1 exec /usr/share/live-helper/helpers/"${COMMAND}" "${@}" LH=1 exec /usr/share/live-helper/scripts/build/"${COMMAND}" "${@}"
elif [ -x "$(which ${COMMAND} 2>/dev/null)" ] elif [ -x "$(which ${COMMAND} 2>/dev/null)" ]
then then
LH=1 exec "${COMMAND}" "${@}" LH=1 exec "${COMMAND}" "${@}"
else else
Echo_error "no such helper" Echo_error "no such script"
exit 1 exit 1
fi fi
;; ;;

View File

@ -22,7 +22,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
if [ -x "$(which man 2>/dev/null)" ] if [ -x "$(which man 2>/dev/null)" ]
then then

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'build source images')" DESCRIPTION="$(Echo 'build source images')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'create source checksums')" DESCRIPTION="$(Echo 'create source checksums')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'debian sources')" DESCRIPTION="$(Echo 'debian sources')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'copy debian-live config into source')" DESCRIPTION="$(Echo 'copy debian-live config into source')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'install disk information into source')" DESCRIPTION="$(Echo 'install disk information into source')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'build iso source image')" DESCRIPTION="$(Echo 'build iso source image')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'build source net image')" DESCRIPTION="$(Echo 'build source net image')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'build source tarball')" DESCRIPTION="$(Echo 'build source tarball')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'build source image')" DESCRIPTION="$(Echo 'build source image')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'build source image')" DESCRIPTION="$(Echo 'build source image')"

View File

@ -10,7 +10,7 @@
set -e set -e
# Including common functions # Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh . "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'ensure that a system is built as root')" DESCRIPTION="$(Echo 'ensure that a system is built as root')"