Renaming functions.sh to live-helper.sh.
This commit is contained in:
parent
a62f12110b
commit
5107fd236f
6
Makefile
6
Makefile
|
@ -8,7 +8,7 @@ all: test install
|
||||||
|
|
||||||
test:
|
test:
|
||||||
# Checking for syntax errors
|
# Checking for syntax errors
|
||||||
for SCRIPT in functions.sh functions/* examples/*/*.sh helpers/* hooks/*; \
|
for SCRIPT in live-helper.sh functions/* examples/*/*.sh helpers/* hooks/*; \
|
||||||
do \
|
do \
|
||||||
sh -n $$SCRIPT; \
|
sh -n $$SCRIPT; \
|
||||||
done
|
done
|
||||||
|
@ -16,7 +16,7 @@ test:
|
||||||
# Checking for bashisms
|
# Checking for bashisms
|
||||||
if [ -x /usr/bin/checkbashisms ]; \
|
if [ -x /usr/bin/checkbashisms ]; \
|
||||||
then \
|
then \
|
||||||
checkbashisms functions.sh functions/* examples/*/*.sh helpers/* hooks/*; \
|
checkbashisms live-helper.sh functions/* examples/*/*.sh helpers/* hooks/*; \
|
||||||
else \
|
else \
|
||||||
echo "WARNING: skipping bashism test - you need to install devscripts."; \
|
echo "WARNING: skipping bashism test - you need to install devscripts."; \
|
||||||
fi
|
fi
|
||||||
|
@ -31,7 +31,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.sh functions hooks includes lists templates $(DESTDIR)/usr/share/live-helper
|
cp -r data examples live-helper.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
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'utility to build Debian Live systems')"
|
DESCRIPTION="$(Echo 'utility to build Debian Live systems')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'build binary images')"
|
DESCRIPTION="$(Echo 'build binary images')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'copy chroot into chroot')"
|
DESCRIPTION="$(Echo 'copy chroot into chroot')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'install debian-installer into binary')"
|
DESCRIPTION="$(Echo 'install debian-installer into binary')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'install disk information into binary')"
|
DESCRIPTION="$(Echo 'install disk information into binary')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'encrypts rootfs')"
|
DESCRIPTION="$(Echo 'encrypts rootfs')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'installs grub into binary')"
|
DESCRIPTION="$(Echo 'installs grub into binary')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'installs grub2 into binary')"
|
DESCRIPTION="$(Echo 'installs grub2 into binary')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'copy files into binary')"
|
DESCRIPTION="$(Echo 'copy files into binary')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'build iso binary image')"
|
DESCRIPTION="$(Echo 'build iso binary image')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'install linux-image into binary')"
|
DESCRIPTION="$(Echo 'install linux-image into binary')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'execute local hooks in binary')"
|
DESCRIPTION="$(Echo 'execute local hooks in binary')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'copy files into binary')"
|
DESCRIPTION="$(Echo 'copy files into binary')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'install local packages into binary')"
|
DESCRIPTION="$(Echo 'install local packages into binary')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'create manifest')"
|
DESCRIPTION="$(Echo 'create manifest')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'create binary md5sums')"
|
DESCRIPTION="$(Echo 'create binary md5sums')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'installs a memtest into binary')"
|
DESCRIPTION="$(Echo 'installs a memtest into binary')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'build netboot binary image')"
|
DESCRIPTION="$(Echo 'build netboot binary image')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'build rootfs image')"
|
DESCRIPTION="$(Echo 'build rootfs image')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'installs silo into binary')"
|
DESCRIPTION="$(Echo 'installs silo into binary')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'installs syslinux into binary')"
|
DESCRIPTION="$(Echo 'installs syslinux into binary')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'build harddisk binary image')"
|
DESCRIPTION="$(Echo 'build harddisk binary image')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'build binary image')"
|
DESCRIPTION="$(Echo 'build binary image')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'build binary image')"
|
DESCRIPTION="$(Echo 'build binary image')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'copy win32-loader into binary')"
|
DESCRIPTION="$(Echo 'copy win32-loader into binary')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'installs yaboot into binary')"
|
DESCRIPTION="$(Echo 'installs yaboot into binary')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'bootstrap a Debian system')"
|
DESCRIPTION="$(Echo 'bootstrap a Debian system')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'cache bootstrap stage')"
|
DESCRIPTION="$(Echo 'cache bootstrap stage')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.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)')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'bootstrap by copying the host system')"
|
DESCRIPTION="$(Echo 'bootstrap by copying the host system')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.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)')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Read meta config
|
# Read meta config
|
||||||
if [ "${1}" != "noautoconfig" ] && [ -x scripts/build ]
|
if [ "${1}" != "noautoconfig" ] && [ -x scripts/build ]
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'customize the Debian system')"
|
DESCRIPTION="$(Echo 'customize the Debian system')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'manage /etc/apt/apt.conf')"
|
DESCRIPTION="$(Echo 'manage /etc/apt/apt.conf')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'cache chroot stage')"
|
DESCRIPTION="$(Echo 'cache chroot stage')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'manage /etc/debian_chroot')"
|
DESCRIPTION="$(Echo 'manage /etc/debian_chroot')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'mount /dev/pts')"
|
DESCRIPTION="$(Echo 'mount /dev/pts')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'manage /sbin/dpkg')"
|
DESCRIPTION="$(Echo 'manage /sbin/dpkg')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'execute hacks in chroot')"
|
DESCRIPTION="$(Echo 'execute hacks in chroot')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'execute hooks in chroot')"
|
DESCRIPTION="$(Echo 'execute hooks in chroot')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'manage /bin/hostname')"
|
DESCRIPTION="$(Echo 'manage /bin/hostname')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'manage /etc/hosts')"
|
DESCRIPTION="$(Echo 'manage /etc/hosts')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'install queued packages into chroot')"
|
DESCRIPTION="$(Echo 'install queued packages into chroot')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'make build interactive')"
|
DESCRIPTION="$(Echo 'make build interactive')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'manage /etc/kernel-img.conf')"
|
DESCRIPTION="$(Echo 'manage /etc/kernel-img.conf')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'execute local hooks in chroot')"
|
DESCRIPTION="$(Echo 'execute local hooks in chroot')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'copy local files into chroot')"
|
DESCRIPTION="$(Echo 'copy local files into chroot')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.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')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'apply local patches against chroot')"
|
DESCRIPTION="$(Echo 'apply local patches against chroot')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'execute local preseed in chroot')"
|
DESCRIPTION="$(Echo 'execute local preseed in chroot')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'install localization packages into chroot')"
|
DESCRIPTION="$(Echo 'install localization packages into chroot')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'queue install of packages into chroot')"
|
DESCRIPTION="$(Echo 'queue install of packages into chroot')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.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')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'execute preseed in chroot')"
|
DESCRIPTION="$(Echo 'execute preseed in chroot')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'mount /proc')"
|
DESCRIPTION="$(Echo 'mount /proc')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'manage /etc/resolv.conf')"
|
DESCRIPTION="$(Echo 'manage /etc/resolv.conf')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'mount /selinux')"
|
DESCRIPTION="$(Echo 'mount /selinux')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'manage /etc/apt/sources.list')"
|
DESCRIPTION="$(Echo 'manage /etc/apt/sources.list')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'convert symlinks')"
|
DESCRIPTION="$(Echo 'convert symlinks')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'mount /sys')"
|
DESCRIPTION="$(Echo 'mount /sys')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'manage /usr/sbin/policy-rc.d')"
|
DESCRIPTION="$(Echo 'manage /usr/sbin/policy-rc.d')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'configure sysvinit')"
|
DESCRIPTION="$(Echo 'configure sysvinit')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'install tasks into chroot')"
|
DESCRIPTION="$(Echo 'install tasks into chroot')"
|
||||||
|
|
|
@ -21,7 +21,7 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'clean up system build directories')"
|
DESCRIPTION="$(Echo 'clean up system build directories')"
|
||||||
|
|
|
@ -21,7 +21,7 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
SYSTEM_LH_CONFFILE="/etc/default/live-helper"
|
SYSTEM_LH_CONFFILE="/etc/default/live-helper"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'build source images')"
|
DESCRIPTION="$(Echo 'build source images')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'debian sources')"
|
DESCRIPTION="$(Echo 'debian sources')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'copy debian-live config into source')"
|
DESCRIPTION="$(Echo 'copy debian-live config into source')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'install disk information into source')"
|
DESCRIPTION="$(Echo 'install disk information into source')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'build iso source image')"
|
DESCRIPTION="$(Echo 'build iso source image')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'create source md5sums')"
|
DESCRIPTION="$(Echo 'create source md5sums')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'build source net image')"
|
DESCRIPTION="$(Echo 'build source net image')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'build source tarball')"
|
DESCRIPTION="$(Echo 'build source tarball')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'build source image')"
|
DESCRIPTION="$(Echo 'build source image')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'build source image')"
|
DESCRIPTION="$(Echo 'build source image')"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.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')"
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
if [ -x "$(which man 2>/dev/null)" ]
|
if [ -x "$(which man 2>/dev/null)" ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue