Using common function file to source shell includes.

This commit is contained in:
Daniel Baumann 2009-01-26 17:07:40 +01:00
parent 58d6b235f9
commit 9ce762a502
73 changed files with 76 additions and 436 deletions

View File

@ -6,7 +6,7 @@ all: build
test: test:
# Checking for syntax errors # Checking for syntax errors
set -e; for SCRIPT in functions/* examples/*/*.sh helpers/* hooks/*; \ set -e; for SCRIPT in functions.sh functions/* examples/*/*.sh helpers/* hooks/*; \
do \ do \
sh -n $$SCRIPT; \ sh -n $$SCRIPT; \
done done
@ -14,7 +14,7 @@ test:
# Checking for bashisms # Checking for bashisms
set -e; if [ -x /usr/bin/checkbashisms ]; \ set -e; if [ -x /usr/bin/checkbashisms ]; \
then \ then \
checkbashisms functions/* examples/*/*.sh helpers/* hooks/*; \ checkbashisms functions.sh functions/* examples/*/*.sh helpers/* hooks/*; \
else \ else \
echo "bashism test skipped - you need to install devscripts."; \ echo "bashism test skipped - you need to install devscripts."; \
fi fi
@ -29,7 +29,7 @@ install:
# Installing shared data # Installing shared data
mkdir -p $(DESTDIR)/usr/share/live-helper mkdir -p $(DESTDIR)/usr/share/live-helper
cp -r data examples functions hooks includes lists templates $(DESTDIR)/usr/share/live-helper cp -r data examples functions.sh functions hooks includes lists templates $(DESTDIR)/usr/share/live-helper
# Installing documentation # Installing documentation
mkdir -p $(DESTDIR)/usr/share/doc/live-helper mkdir -p $(DESTDIR)/usr/share/doc/live-helper
@ -98,7 +98,7 @@ uninstall:
done done
update: update:
set -e; for FILE in functions/*.sh examples/cron/*.sh manpages/*.en.*; \ set -e; for FILE in functions.sh functions/*.sh examples/cron/*.sh manpages/*.en.*; \
do \ do \
sed -i -e 's/2007\\-11\\-26/2007\\-12\\-03/' \ sed -i -e 's/2007\\-11\\-26/2007\\-12\\-03/' \
-e 's/26.11.2007/03.12.2007/' \ -e 's/26.11.2007/03.12.2007/' \

View File

@ -22,12 +22,7 @@
set -e set -e
# Including common functions # Including common functions
LH_BASE="${LH_BASE:-/usr/share/live-helper}" . "${LH_BASE:-/usr/share/live-helper}"/functions.sh
for FUNCTION in "${LH_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'utility to build Debian Live systems')" DESCRIPTION="$(Echo 'utility to build Debian Live systems')"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -10,12 +10,7 @@
set -e set -e
# Including common functions # Including common functions
LH_BASE="${LH_BASE:-/usr/share/live-helper}" . "${LH_BASE:-/usr/share/live-helper}"/functions.sh
for FUNCTION in "${LH_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'create binary md5sums')" DESCRIPTION="$(Echo 'create binary md5sums')"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -10,12 +10,7 @@
set -e set -e
# Including common functions # Including common functions
LH_BASE="${LH_BASE:-/usr/share/live-helper}" . "${LH_BASE:-/usr/share/live-helper}"/functions.sh
for FUNCTION in "${LH_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# 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,12 +10,7 @@
set -e set -e
# Including common functions # Including common functions
LH_BASE="${LH_BASE:-/usr/share/live-helper}" . "${LH_BASE:-/usr/share/live-helper}"/functions.sh
for FUNCTION in "${LH_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# 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,12 +10,7 @@
set -e set -e
# Including common functions # Including common functions
LH_BASE="${LH_BASE:-/usr/share/live-helper}" . "${LH_BASE:-/usr/share/live-helper}"/functions.sh
for FUNCTION in "${LH_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# 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,12 +10,7 @@
set -e set -e
# Including common functions # Including common functions
LH_BASE="${LH_BASE:-/usr/share/live-helper}" . "${LH_BASE:-/usr/share/live-helper}"/functions.sh
for FUNCTION in "${LH_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'build a Debian Live system')" DESCRIPTION="$(Echo 'build a Debian Live system')"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -10,12 +10,7 @@
set -e set -e
# Including common functions # Including common functions
LH_BASE="${LH_BASE:-/usr/share/live-helper}" . "${LH_BASE:-/usr/share/live-helper}"/functions.sh
for FUNCTION in "${LH_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# 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,12 +10,7 @@
set -e set -e
# Including common functions # Including common functions
LH_BASE="${LH_BASE:-/usr/share/live-helper}" . "${LH_BASE:-/usr/share/live-helper}"/functions.sh
for FUNCTION in "${LH_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'apply local patches against chroot')" DESCRIPTION="$(Echo 'apply local patches against chroot')"

View File

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

View File

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

View File

@ -10,12 +10,7 @@
set -e set -e
# Including common functions # Including common functions
LH_BASE="${LH_BASE:-/usr/share/live-helper}" . "${LH_BASE:-/usr/share/live-helper}"/functions.sh
for FUNCTION in "${LH_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# 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,12 +10,7 @@
set -e set -e
# Including common functions # Including common functions
LH_BASE="${LH_BASE:-/usr/share/live-helper}" . "${LH_BASE:-/usr/share/live-helper}"/functions.sh
for FUNCTION in "${LH_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# 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,12 +10,7 @@
set -e set -e
# Including common functions # Including common functions
LH_BASE="${LH_BASE:-/usr/share/live-helper}" . "${LH_BASE:-/usr/share/live-helper}"/functions.sh
for FUNCTION in "${LH_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'execute preseed in chroot')" DESCRIPTION="$(Echo 'execute preseed in chroot')"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -10,12 +10,7 @@
set -e set -e
# Including common functions # Including common functions
LH_BASE="${LH_BASE:-/usr/share/live-helper}" . "${LH_BASE:-/usr/share/live-helper}"/functions.sh
for FUNCTION in "${LH_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# 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,12 +10,7 @@
set -e set -e
# Including common functions # Including common functions
LH_BASE="${LH_BASE:-/usr/share/live-helper}" . "${LH_BASE:-/usr/share/live-helper}"/functions.sh
for FUNCTION in "${LH_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'configure sysvinit')" DESCRIPTION="$(Echo 'configure sysvinit')"

View File

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

View File

@ -10,12 +10,7 @@
set -e set -e
# Including common functions # Including common functions
LH_BASE="${LH_BASE:-/usr/share/live-helper}" . "${LH_BASE:-/usr/share/live-helper}"/functions.sh
for FUNCTION in "${LH_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'clean up system build directories')" DESCRIPTION="$(Echo 'clean up system build directories')"

View File

@ -10,12 +10,7 @@
set -e set -e
# Including common functions # Including common functions
LH_BASE="${LH_BASE:-/usr/share/live-helper}" . "${LH_BASE:-/usr/share/live-helper}"/functions.sh
for FUNCTION in "${LH_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# Setting static variables # Setting static variables
SYSTEM_LH_CONFFILE="/etc/default/live-helper" SYSTEM_LH_CONFFILE="/etc/default/live-helper"

View File

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

View File

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

View File

@ -10,12 +10,7 @@
set -e set -e
# Including common functions # Including common functions
LH_BASE="${LH_BASE:-/usr/share/live-helper}" . "${LH_BASE:-/usr/share/live-helper}"/functions.sh
for FUNCTION in "${LH_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# 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,12 +10,7 @@
set -e set -e
# Including common functions # Including common functions
LH_BASE="${LH_BASE:-/usr/share/live-helper}" . "${LH_BASE:-/usr/share/live-helper}"/functions.sh
for FUNCTION in "${LH_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'install disk information into source')" DESCRIPTION="$(Echo 'install disk information into source')"

View File

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

View File

@ -10,12 +10,7 @@
set -e set -e
# Including common functions # Including common functions
LH_BASE="${LH_BASE:-/usr/share/live-helper}" . "${LH_BASE:-/usr/share/live-helper}"/functions.sh
for FUNCTION in "${LH_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# Setting static variables # Setting static variables
DESCRIPTION="$(Echo 'create source md5sums')" DESCRIPTION="$(Echo 'create source md5sums')"

View File

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

View File

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

View File

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

View File

@ -10,12 +10,7 @@
set -e set -e
# Including common functions # Including common functions
LH_BASE="${LH_BASE:-/usr/share/live-helper}" . "${LH_BASE:-/usr/share/live-helper}"/functions.sh
for FUNCTION in "${LH_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# 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')"