Using common function file to source shell includes.
This commit is contained in:
parent
58d6b235f9
commit
9ce762a502
8
Makefile
8
Makefile
|
@ -6,7 +6,7 @@ all: build
|
|||
|
||||
test:
|
||||
# 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 \
|
||||
sh -n $$SCRIPT; \
|
||||
done
|
||||
|
@ -14,7 +14,7 @@ test:
|
|||
# Checking for bashisms
|
||||
set -e; if [ -x /usr/bin/checkbashisms ]; \
|
||||
then \
|
||||
checkbashisms functions/* examples/*/*.sh helpers/* hooks/*; \
|
||||
checkbashisms functions.sh functions/* examples/*/*.sh helpers/* hooks/*; \
|
||||
else \
|
||||
echo "bashism test skipped - you need to install devscripts."; \
|
||||
fi
|
||||
|
@ -29,7 +29,7 @@ install:
|
|||
|
||||
# Installing shared data
|
||||
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
|
||||
mkdir -p $(DESTDIR)/usr/share/doc/live-helper
|
||||
|
@ -98,7 +98,7 @@ uninstall:
|
|||
done
|
||||
|
||||
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 \
|
||||
sed -i -e 's/2007\\-11\\-26/2007\\-12\\-03/' \
|
||||
-e 's/26.11.2007/03.12.2007/' \
|
||||
|
|
|
@ -22,12 +22,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'utility to build Debian Live systems')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build binary images')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'copy chroot into chroot')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'install debian-installer into binary')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'install disk information into binary')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'encrypts rootfs')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'installs grub into binary')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'copy files into binary')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build iso binary image')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'install linux-image into binary')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'execute local hooks in binary')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'copy files into binary')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'install local packages into binary')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'create manifest')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'create binary md5sums')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'installs a memtest into binary')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build netboot binary image')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build rootfs image')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'installs silo into binary')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'installs syslinux into binary')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build harddisk binary image')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build binary image')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'installs yaboot into binary')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'bootstrap a Debian system')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'cache bootstrap stage')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'bootstrap a Debian system with cdebootstrap(1)')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'bootstrap by copying the host system')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'bootstrap a Debian system with debootstrap(8)')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build a Debian Live system')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'customize the Debian system')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'manage /etc/apt/apt.conf')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'cache chroot stage')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'manage /etc/debian_chroot')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'mount /dev/pts')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'manage /sbin/dpkg')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'execute hacks in chroot')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'execute hooks in chroot')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'manage /bin/hostname')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'manage /etc/hosts')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'install queued packages into chroot')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'make build interactive')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'manage /etc/kernel-img.conf')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'execute local hooks in chroot')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'copy local files into chroot')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'queue install of local packages into chroot')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'apply local patches against chroot')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'execute local preseed in chroot')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'install localization packages into chroot')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'queue install of packages into chroot')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'queue install of packages lists into chroot')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'execute preseed in chroot')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'mount /proc')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'manage /etc/resolv.conf')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'mount /selinux')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'manage /etc/apt/sources.list')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'convert symlinks')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'mount /sys')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'manage /usr/sbin/policy-rc.d')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'configure sysvinit')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'install tasks into chroot')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'clean up system build directories')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
SYSTEM_LH_CONFFILE="/etc/default/live-helper"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build source images')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'debian sources')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'copy debian-live config into source')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'install disk information into source')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build iso source image')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'create source md5sums')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build source net image')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build source tarball')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build source image')"
|
||||
|
|
|
@ -10,12 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
|
||||
|
||||
for FUNCTION in "${LH_BASE}"/functions/*.sh
|
||||
do
|
||||
. "${FUNCTION}"
|
||||
done
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'ensure that a system is built as root')"
|
||||
|
|
Loading…
Reference in New Issue