Rearranging helpers scripts in source tree.
This commit is contained in:
parent
c58e77942a
commit
74c3ad26d5
6
Makefile
6
Makefile
|
@ -4,7 +4,7 @@ SHELL := sh -e
|
|||
|
||||
LANGUAGES = de
|
||||
|
||||
SCRIPTS = live-helper.sh cgi/* functions/* examples/*/*.sh helpers/* hooks/*
|
||||
SCRIPTS = cgi/* functions/* examples/*/*.sh scripts/*.sh scripts/*/*
|
||||
|
||||
all: test build
|
||||
|
||||
|
@ -41,11 +41,11 @@ build:
|
|||
install:
|
||||
# Installing shared data
|
||||
mkdir -p $(DESTDIR)/usr/share/live-helper
|
||||
cp -r cgi data examples live-helper.sh functions helpers hooks includes lists repositories templates $(DESTDIR)/usr/share/live-helper
|
||||
cp -r cgi data examples functions scripts hooks includes lists repositories templates $(DESTDIR)/usr/share/live-helper
|
||||
|
||||
# Installing executables
|
||||
mkdir -p $(DESTDIR)/usr/bin
|
||||
mv $(DESTDIR)/usr/share/live-helper/helpers/lh $(DESTDIR)/usr/share/live-helper/helpers/live-helper $(DESTDIR)/usr/bin
|
||||
mv $(DESTDIR)/usr/share/live-helper/scripts/build/lh $(DESTDIR)/usr/share/live-helper/scripts/build/live-helper $(DESTDIR)/usr/bin
|
||||
|
||||
# Installing documentation
|
||||
mkdir -p $(DESTDIR)/usr/share/doc/live-helper
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build binary images')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'create binary checksums')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'copy chroot into chroot')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'install debian-installer into binary')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'install disk information into binary')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'encrypts rootfs')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'installs grub into binary')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'installs grub2 into binary')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'copy files into binary')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build iso binary image')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'install linux-image into binary')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'execute local hooks in binary')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'copy files into binary')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'install local packages into binary')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'create manifest')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'installs a memtest into binary')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build netboot binary image')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build rootfs image')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'installs silo into binary')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'installs syslinux into binary')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build harddisk binary image')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build binary image')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build binary image')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'copy win32-loader into binary')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'installs yaboot into binary')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'bootstrap a Debian system')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'cache bootstrap stage')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'bootstrap a Debian system with cdebootstrap(1)')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'bootstrap by copying the host system')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'bootstrap a Debian system with debootstrap(8)')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Automatically populating config tree
|
||||
if [ -x auto/config ] && [ ! -e .stage/config ]
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'customize the Debian system')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'manage /etc/apt/apt.conf')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'cache chroot stage')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'manage /etc/debian_chroot')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'mount /dev/pts')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'manage /sbin/dpkg')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'execute hacks in chroot')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'execute hooks in chroot')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'manage /bin/hostname')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'manage /etc/hosts')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'install queued packages into chroot')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'make build interactive')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'manage /etc/kernel-img.conf')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'execute local hooks in chroot')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'copy local files into chroot')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'queue install of local packages into chroot')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'queue install of local packages lists into chroot')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'apply local patches against chroot')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'execute local preseed in chroot')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'install localization packages into chroot')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'queue install of packages into chroot')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'queue install of packages lists into chroot')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'execute preseed in chroot')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'mount /proc')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'manage /etc/resolv.conf')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'mount /selinux')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'manage /etc/apt/sources.list')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'convert symlinks')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'mount /sys')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'manage /usr/sbin/policy-rc.d')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'configure sysvinit')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'install tasks into chroot')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'manage /usr/sbin/initctl')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Read meta config
|
||||
if [ "${1}" != "noauto" ] && [ -x auto/clean ]
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Read meta config
|
||||
if [ "${1}" != "noauto" ] && [ -x auto/config ]
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'utility to build Debian Live systems')"
|
||||
|
@ -41,17 +41,17 @@ case "${1}" in
|
|||
COMMAND="${1}"
|
||||
shift
|
||||
|
||||
if [ -x "${LH_BASE}/helpers/${COMMAND}" ]
|
||||
if [ -x "${LH_BASE}/scripts/build/${COMMAND}" ]
|
||||
then
|
||||
LH=1 exec "${LH_BASE}/helpers/${COMMAND}" "${@}"
|
||||
elif [ -x /usr/share/live-helper/helpers/${COMMAND} ]
|
||||
LH=1 exec "${LH_BASE}/scripts/build/${COMMAND}" "${@}"
|
||||
elif [ -x /usr/share/live-helper/scripts/build/${COMMAND} ]
|
||||
then
|
||||
LH=1 exec /usr/share/live-helper/helpers/"${COMMAND}" "${@}"
|
||||
LH=1 exec /usr/share/live-helper/scripts/build/"${COMMAND}" "${@}"
|
||||
elif [ -x "$(which ${COMMAND} 2>/dev/null)" ]
|
||||
then
|
||||
LH=1 exec "${COMMAND}" "${@}"
|
||||
else
|
||||
Echo_error "no such helper"
|
||||
Echo_error "no such script"
|
||||
exit 1
|
||||
fi
|
||||
;;
|
|
@ -22,7 +22,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
if [ -x "$(which man 2>/dev/null)" ]
|
||||
then
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build source images')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'create source checksums')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'debian sources')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'copy debian-live config into source')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'install disk information into source')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build iso source image')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build source net image')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build source tarball')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build source image')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'build source image')"
|
|
@ -10,7 +10,7 @@
|
|||
set -e
|
||||
|
||||
# Including common functions
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||
. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
|
||||
|
||||
# Setting static variables
|
||||
DESCRIPTION="$(Echo 'ensure that a system is built as root')"
|
Loading…
Reference in New Issue