summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-07-24 17:06:14 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:15 +0100
commit74c3ad26d5d710282da6f51b746a33ad6370b8ce (patch)
treea6b80f2ddec96ad9ac94a5ba72a0f0ca9eac0bb4
parentc58e77942a264198c8bf00c96413968cffea8d4f (diff)
downloadlive-build-74c3ad26d5d710282da6f51b746a33ad6370b8ce.zip
live-build-74c3ad26d5d710282da6f51b746a33ad6370b8ce.tar.gz
Rearranging helpers scripts in source tree.
-rw-r--r--Makefile6
-rwxr-xr-xscripts/build.sh (renamed from live-helper.sh)0
-rwxr-xr-xscripts/build/binary (renamed from helpers/binary)2
-rwxr-xr-xscripts/build/binary_checksums (renamed from helpers/binary_checksums)2
-rwxr-xr-xscripts/build/binary_chroot (renamed from helpers/binary_chroot)2
-rwxr-xr-xscripts/build/binary_debian-installer (renamed from helpers/binary_debian-installer)2
-rwxr-xr-xscripts/build/binary_disk (renamed from helpers/binary_disk)2
-rwxr-xr-xscripts/build/binary_encryption (renamed from helpers/binary_encryption)2
-rwxr-xr-xscripts/build/binary_grub (renamed from helpers/binary_grub)2
-rwxr-xr-xscripts/build/binary_grub2 (renamed from helpers/binary_grub2)2
-rwxr-xr-xscripts/build/binary_includes (renamed from helpers/binary_includes)2
-rwxr-xr-xscripts/build/binary_iso (renamed from helpers/binary_iso)2
-rwxr-xr-xscripts/build/binary_linux-image (renamed from helpers/binary_linux-image)2
-rwxr-xr-xscripts/build/binary_local-hooks (renamed from helpers/binary_local-hooks)2
-rwxr-xr-xscripts/build/binary_local-includes (renamed from helpers/binary_local-includes)2
-rwxr-xr-xscripts/build/binary_local-packageslists (renamed from helpers/binary_local-packageslists)2
-rwxr-xr-xscripts/build/binary_manifest (renamed from helpers/binary_manifest)2
-rwxr-xr-xscripts/build/binary_memtest (renamed from helpers/binary_memtest)2
-rwxr-xr-xscripts/build/binary_net (renamed from helpers/binary_net)2
-rwxr-xr-xscripts/build/binary_rootfs (renamed from helpers/binary_rootfs)2
-rwxr-xr-xscripts/build/binary_silo (renamed from helpers/binary_silo)2
-rwxr-xr-xscripts/build/binary_syslinux (renamed from helpers/binary_syslinux)2
-rwxr-xr-xscripts/build/binary_tar (renamed from helpers/binary_tar)2
-rwxr-xr-xscripts/build/binary_usb (renamed from helpers/binary_usb)2
-rwxr-xr-xscripts/build/binary_virtual-hdd (renamed from helpers/binary_virtual-hdd)2
-rwxr-xr-xscripts/build/binary_win32-loader (renamed from helpers/binary_win32-loader)2
-rwxr-xr-xscripts/build/binary_yaboot (renamed from helpers/binary_yaboot)2
-rwxr-xr-xscripts/build/bootstrap (renamed from helpers/bootstrap)2
-rwxr-xr-xscripts/build/bootstrap_cache (renamed from helpers/bootstrap_cache)2
-rwxr-xr-xscripts/build/bootstrap_cdebootstrap (renamed from helpers/bootstrap_cdebootstrap)2
-rwxr-xr-xscripts/build/bootstrap_copy (renamed from helpers/bootstrap_copy)2
-rwxr-xr-xscripts/build/bootstrap_debootstrap (renamed from helpers/bootstrap_debootstrap)2
-rwxr-xr-xscripts/build/build (renamed from helpers/build)2
-rwxr-xr-xscripts/build/chroot (renamed from helpers/chroot)2
-rwxr-xr-xscripts/build/chroot_apt (renamed from helpers/chroot_apt)2
-rwxr-xr-xscripts/build/chroot_cache (renamed from helpers/chroot_cache)2
-rwxr-xr-xscripts/build/chroot_debianchroot (renamed from helpers/chroot_debianchroot)2
-rwxr-xr-xscripts/build/chroot_devpts (renamed from helpers/chroot_devpts)2
-rwxr-xr-xscripts/build/chroot_dpkg (renamed from helpers/chroot_dpkg)2
-rwxr-xr-xscripts/build/chroot_hacks (renamed from helpers/chroot_hacks)2
-rwxr-xr-xscripts/build/chroot_hooks (renamed from helpers/chroot_hooks)2
-rwxr-xr-xscripts/build/chroot_hostname (renamed from helpers/chroot_hostname)2
-rwxr-xr-xscripts/build/chroot_hosts (renamed from helpers/chroot_hosts)2
-rwxr-xr-xscripts/build/chroot_install-packages (renamed from helpers/chroot_install-packages)2
-rwxr-xr-xscripts/build/chroot_interactive (renamed from helpers/chroot_interactive)2
-rwxr-xr-xscripts/build/chroot_linux-image (renamed from helpers/chroot_linux-image)2
-rwxr-xr-xscripts/build/chroot_local-hooks (renamed from helpers/chroot_local-hooks)2
-rwxr-xr-xscripts/build/chroot_local-includes (renamed from helpers/chroot_local-includes)2
-rwxr-xr-xscripts/build/chroot_local-packages (renamed from helpers/chroot_local-packages)2
-rwxr-xr-xscripts/build/chroot_local-packageslists (renamed from helpers/chroot_local-packageslists)2
-rwxr-xr-xscripts/build/chroot_local-patches (renamed from helpers/chroot_local-patches)2
-rwxr-xr-xscripts/build/chroot_local-preseed (renamed from helpers/chroot_local-preseed)2
-rwxr-xr-xscripts/build/chroot_localization (renamed from helpers/chroot_localization)2
-rwxr-xr-xscripts/build/chroot_packages (renamed from helpers/chroot_packages)2
-rwxr-xr-xscripts/build/chroot_packageslists (renamed from helpers/chroot_packageslists)2
-rwxr-xr-xscripts/build/chroot_preseed (renamed from helpers/chroot_preseed)2
-rwxr-xr-xscripts/build/chroot_proc (renamed from helpers/chroot_proc)2
-rwxr-xr-xscripts/build/chroot_resolv (renamed from helpers/chroot_resolv)2
-rwxr-xr-xscripts/build/chroot_selinuxfs (renamed from helpers/chroot_selinuxfs)2
-rwxr-xr-xscripts/build/chroot_sources (renamed from helpers/chroot_sources)2
-rwxr-xr-xscripts/build/chroot_symlinks (renamed from helpers/chroot_symlinks)2
-rwxr-xr-xscripts/build/chroot_sysfs (renamed from helpers/chroot_sysfs)2
-rwxr-xr-xscripts/build/chroot_sysv-rc (renamed from helpers/chroot_sysv-rc)2
-rwxr-xr-xscripts/build/chroot_sysvinit (renamed from helpers/chroot_sysvinit)2
-rwxr-xr-xscripts/build/chroot_tasks (renamed from helpers/chroot_tasks)2
-rwxr-xr-xscripts/build/chroot_upstart (renamed from helpers/chroot_upstart)2
-rwxr-xr-xscripts/build/clean (renamed from helpers/clean)2
-rwxr-xr-xscripts/build/config (renamed from helpers/config)2
-rwxr-xr-xscripts/build/lh (renamed from helpers/lh)12
-rwxr-xr-xscripts/build/live-helper (renamed from helpers/live-helper)2
-rwxr-xr-xscripts/build/local (renamed from helpers/local)0
-rwxr-xr-xscripts/build/source (renamed from helpers/source)2
-rwxr-xr-xscripts/build/source_checksums (renamed from helpers/source_checksums)2
-rwxr-xr-xscripts/build/source_debian (renamed from helpers/source_debian)2
-rwxr-xr-xscripts/build/source_debian-live (renamed from helpers/source_debian-live)2
-rwxr-xr-xscripts/build/source_disk (renamed from helpers/source_disk)2
-rwxr-xr-xscripts/build/source_iso (renamed from helpers/source_iso)2
-rwxr-xr-xscripts/build/source_net (renamed from helpers/source_net)2
-rwxr-xr-xscripts/build/source_tar (renamed from helpers/source_tar)2
-rwxr-xr-xscripts/build/source_usb (renamed from helpers/source_usb)2
-rwxr-xr-xscripts/build/source_virtual-hdd (renamed from helpers/source_virtual-hdd)2
-rwxr-xr-xscripts/build/testroot (renamed from helpers/testroot)2
82 files changed, 87 insertions, 87 deletions
diff --git a/Makefile b/Makefile
index 87bd3cb..28ff8b4 100644
--- a/Makefile
+++ b/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
diff --git a/live-helper.sh b/scripts/build.sh
index 59d475f..59d475f 100755
--- a/live-helper.sh
+++ b/scripts/build.sh
diff --git a/helpers/binary b/scripts/build/binary
index 11a1781..41199dc 100755
--- a/helpers/binary
+++ b/scripts/build/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 binary images')"
diff --git a/helpers/binary_checksums b/scripts/build/binary_checksums
index dd8d369..8fec891 100755
--- a/helpers/binary_checksums
+++ b/scripts/build/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 'create binary checksums')"
diff --git a/helpers/binary_chroot b/scripts/build/binary_chroot
index 16c4ba3..88f3773 100755
--- a/helpers/binary_chroot
+++ b/scripts/build/binary_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 chroot into chroot')"
diff --git a/helpers/binary_debian-installer b/scripts/build/binary_debian-installer
index 32a8278..fa7b022 100755
--- a/helpers/binary_debian-installer
+++ b/scripts/build/binary_debian-installer
@@ -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')"
diff --git a/helpers/binary_disk b/scripts/build/binary_disk
index 69f2e0b..e262c20 100755
--- a/helpers/binary_disk
+++ b/scripts/build/binary_disk
@@ -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')"
diff --git a/helpers/binary_encryption b/scripts/build/binary_encryption
index db32227..8041986 100755
--- a/helpers/binary_encryption
+++ b/scripts/build/binary_encryption
@@ -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')"
diff --git a/helpers/binary_grub b/scripts/build/binary_grub
index 6510680..e2f3a58 100755
--- a/helpers/binary_grub
+++ b/scripts/build/binary_grub
@@ -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')"
diff --git a/helpers/binary_grub2 b/scripts/build/binary_grub2
index 7fa8f3a..c17730c 100755
--- a/helpers/binary_grub2
+++ b/scripts/build/binary_grub2
@@ -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')"
diff --git a/helpers/binary_includes b/scripts/build/binary_includes
index 8483f72..d9b82b5 100755
--- a/helpers/binary_includes
+++ b/scripts/build/binary_includes
@@ -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')"
diff --git a/helpers/binary_iso b/scripts/build/binary_iso
index 88a042d..56de7eb 100755
--- a/helpers/binary_iso
+++ b/scripts/build/binary_iso
@@ -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')"
diff --git a/helpers/binary_linux-image b/scripts/build/binary_linux-image
index c383a22..1915e8f 100755
--- a/helpers/binary_linux-image
+++ b/scripts/build/binary_linux-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')"
diff --git a/helpers/binary_local-hooks b/scripts/build/binary_local-hooks
index ff24d08..070c36f 100755
--- a/helpers/binary_local-hooks
+++ b/scripts/build/binary_local-hooks
@@ -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')"
diff --git a/helpers/binary_local-includes b/scripts/build/binary_local-includes
index 8c54466..e23ae89 100755
--- a/helpers/binary_local-includes
+++ b/scripts/build/binary_local-includes
@@ -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')"
diff --git a/helpers/binary_local-packageslists b/scripts/build/binary_local-packageslists
index c5381f4..e7c8a50 100755
--- a/helpers/binary_local-packageslists
+++ b/scripts/build/binary_local-packageslists
@@ -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')"
diff --git a/helpers/binary_manifest b/scripts/build/binary_manifest
index 2777ada..d3e0f8a 100755
--- a/helpers/binary_manifest
+++ b/scripts/build/binary_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 'create manifest')"
diff --git a/helpers/binary_memtest b/scripts/build/binary_memtest
index 8afcb9f..c739c3a 100755
--- a/helpers/binary_memtest
+++ b/scripts/build/binary_memtest
@@ -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')"
diff --git a/helpers/binary_net b/scripts/build/binary_net
index 273c383..5646455 100755
--- a/helpers/binary_net
+++ b/scripts/build/binary_net
@@ -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')"
diff --git a/helpers/binary_rootfs b/scripts/build/binary_rootfs
index 7aa4fb7..58284fd 100755
--- a/helpers/binary_rootfs
+++ b/scripts/build/binary_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 'build rootfs image')"
diff --git a/helpers/binary_silo b/scripts/build/binary_silo
index c3f8b06..e527c7f 100755
--- a/helpers/binary_silo
+++ b/scripts/build/binary_silo
@@ -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')"
diff --git a/helpers/binary_syslinux b/scripts/build/binary_syslinux
index 2553195..43c0b54 100755
--- a/helpers/binary_syslinux
+++ b/scripts/build/binary_syslinux
@@ -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')"
diff --git a/helpers/binary_tar b/scripts/build/binary_tar
index 082f969..df3f306 100755
--- a/helpers/binary_tar
+++ b/scripts/build/binary_tar
@@ -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')"
diff --git a/helpers/binary_usb b/scripts/build/binary_usb
index 7d84305..13aa76c 100755
--- a/helpers/binary_usb
+++ b/scripts/build/binary_usb
@@ -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')"
diff --git a/helpers/binary_virtual-hdd b/scripts/build/binary_virtual-hdd
index 1cb9755..ac864b9 100755
--- a/helpers/binary_virtual-hdd
+++ b/scripts/build/binary_virtual-hdd
@@ -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')"
diff --git a/helpers/binary_win32-loader b/scripts/build/binary_win32-loader
index 934e33c..1edbc1a 100755
--- a/helpers/binary_win32-loader
+++ b/scripts/build/binary_win32-loader
@@ -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')"
diff --git a/helpers/binary_yaboot b/scripts/build/binary_yaboot
index b660f5f..cf84e2c 100755
--- a/helpers/binary_yaboot
+++ b/scripts/build/binary_yaboot
@@ -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')"
diff --git a/helpers/bootstrap b/scripts/build/bootstrap
index fb890c4..4c4c3b7 100755
--- a/helpers/bootstrap
+++ b/scripts/build/bootstrap
@@ -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')"
diff --git a/helpers/bootstrap_cache b/scripts/build/bootstrap_cache
index 26ef908..381276a 100755
--- a/helpers/bootstrap_cache
+++ b/scripts/build/bootstrap_cache
@@ -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')"
diff --git a/helpers/bootstrap_cdebootstrap b/scripts/build/bootstrap_cdebootstrap
index 11f77d3..7925ebd 100755
--- a/helpers/bootstrap_cdebootstrap
+++ b/scripts/build/bootstrap_cdebootstrap
@@ -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)')"
diff --git a/helpers/bootstrap_copy b/scripts/build/bootstrap_copy
index 9373444..d5e0cc5 100755
--- a/helpers/bootstrap_copy
+++ b/scripts/build/bootstrap_copy
@@ -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')"
diff --git a/helpers/bootstrap_debootstrap b/scripts/build/bootstrap_debootstrap
index d7662fa..677817b 100755
--- a/helpers/bootstrap_debootstrap
+++ b/scripts/build/bootstrap_debootstrap
@@ -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)')"
diff --git a/helpers/build b/scripts/build/build
index a4b8802..dcd0cb2 100755
--- a/helpers/build
+++ b/scripts/build/build
@@ -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 ]
diff --git a/helpers/chroot b/scripts/build/chroot
index 123da37..99f03db 100755
--- a/helpers/chroot
+++ b/scripts/build/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 'customize the Debian system')"
diff --git a/helpers/chroot_apt b/scripts/build/chroot_apt
index 06ac8ac..c95d649 100755
--- a/helpers/chroot_apt
+++ b/scripts/build/chroot_apt
@@ -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')"
diff --git a/helpers/chroot_cache b/scripts/build/chroot_cache
index 7c67336..49cc590 100755
--- a/helpers/chroot_cache
+++ b/scripts/build/chroot_cache
@@ -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')"
diff --git a/helpers/chroot_debianchroot b/scripts/build/chroot_debianchroot
index 0e794ed..ae37953 100755
--- a/helpers/chroot_debianchroot
+++ b/scripts/build/chroot_debianchroot
@@ -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')"
diff --git a/helpers/chroot_devpts b/scripts/build/chroot_devpts
index b8a4bb2..d738d5c 100755
--- a/helpers/chroot_devpts
+++ b/scripts/build/chroot_devpts
@@ -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')"
diff --git a/helpers/chroot_dpkg b/scripts/build/chroot_dpkg
index 98ca282..69f87a4 100755
--- a/helpers/chroot_dpkg
+++ b/scripts/build/chroot_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 'manage /sbin/dpkg')"
diff --git a/helpers/chroot_hacks b/scripts/build/chroot_hacks
index abfda7c..5a3f9ae 100755
--- a/helpers/chroot_hacks
+++ b/scripts/build/chroot_hacks
@@ -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')"
diff --git a/helpers/chroot_hooks b/scripts/build/chroot_hooks
index b8105ff..f5864d8 100755
--- a/helpers/chroot_hooks
+++ b/scripts/build/chroot_hooks
@@ -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')"
diff --git a/helpers/chroot_hostname b/scripts/build/chroot_hostname
index 3d409c3..6046f65 100755
--- a/helpers/chroot_hostname
+++ b/scripts/build/chroot_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 /bin/hostname')"
diff --git a/helpers/chroot_hosts b/scripts/build/chroot_hosts
index d06cb2c..ce418dd 100755
--- a/helpers/chroot_hosts
+++ b/scripts/build/chroot_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 'manage /etc/hosts')"
diff --git a/helpers/chroot_install-packages b/scripts/build/chroot_install-packages
index 60b13f4..3b491ad 100755
--- a/helpers/chroot_install-packages
+++ b/scripts/build/chroot_install-packages
@@ -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')"
diff --git a/helpers/chroot_interactive b/scripts/build/chroot_interactive
index 114d85b..dc5461d 100755
--- a/helpers/chroot_interactive
+++ b/scripts/build/chroot_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 'make build interactive')"
diff --git a/helpers/chroot_linux-image b/scripts/build/chroot_linux-image
index c7e6abd..5f19775 100755
--- a/helpers/chroot_linux-image
+++ b/scripts/build/chroot_linux-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 'manage /etc/kernel-img.conf')"
diff --git a/helpers/chroot_local-hooks b/scripts/build/chroot_local-hooks
index b871625..1cca5e4 100755
--- a/helpers/chroot_local-hooks
+++ b/scripts/build/chroot_local-hooks
@@ -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')"
diff --git a/helpers/chroot_local-includes b/scripts/build/chroot_local-includes
index a90ffe7..5a4052f 100755
--- a/helpers/chroot_local-includes
+++ b/scripts/build/chroot_local-includes
@@ -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')"
diff --git a/helpers/chroot_local-packages b/scripts/build/chroot_local-packages
index 2814d03..a9d39bd 100755
--- a/helpers/chroot_local-packages
+++ b/scripts/build/chroot_local-packages
@@ -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')"
diff --git a/helpers/chroot_local-packageslists b/scripts/build/chroot_local-packageslists
index 3ad2b3d..cee46e6 100755
--- a/helpers/chroot_local-packageslists
+++ b/scripts/build/chroot_local-packageslists
@@ -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')"
diff --git a/helpers/chroot_local-patches b/scripts/build/chroot_local-patches
index db66019..6c5e8b4 100755
--- a/helpers/chroot_local-patches
+++ b/scripts/build/chroot_local-patches
@@ -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')"
diff --git a/helpers/chroot_local-preseed b/scripts/build/chroot_local-preseed
index d642f76..82eaa17 100755
--- a/helpers/chroot_local-preseed
+++ b/scripts/build/chroot_local-preseed
@@ -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')"
diff --git a/helpers/chroot_localization b/scripts/build/chroot_localization
index c637aac..eebfd6d 100755
--- a/helpers/chroot_localization
+++ b/scripts/build/chroot_localization
@@ -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')"
diff --git a/helpers/chroot_packages b/scripts/build/chroot_packages
index 745b132..b612cf9 100755
--- a/helpers/chroot_packages
+++ b/scripts/build/chroot_packages
@@ -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')"
diff --git a/helpers/chroot_packageslists b/scripts/build/chroot_packageslists
index d1744e5..00699d7 100755
--- a/helpers/chroot_packageslists
+++ b/scripts/build/chroot_packageslists
@@ -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')"
diff --git a/helpers/chroot_preseed b/scripts/build/chroot_preseed
index 47c3905..4ec7b2f 100755
--- a/helpers/chroot_preseed
+++ b/scripts/build/chroot_preseed
@@ -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')"
diff --git a/helpers/chroot_proc b/scripts/build/chroot_proc
index 8cbf11f..6992ad6 100755
--- a/helpers/chroot_proc
+++ b/scripts/build/chroot_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 'mount /proc')"
diff --git a/helpers/chroot_resolv b/scripts/build/chroot_resolv
index 318bb1a..d8b553c 100755
--- a/helpers/chroot_resolv
+++ b/scripts/build/chroot_resolv
@@ -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')"
diff --git a/helpers/chroot_selinuxfs b/scripts/build/chroot_selinuxfs
index 64ce659..23523d2 100755
--- a/helpers/chroot_selinuxfs
+++ b/scripts/build/chroot_selinuxfs
@@ -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')"
diff --git a/helpers/chroot_sources b/scripts/build/chroot_sources
index 413d2f5..f18cb6b 100755
--- a/helpers/chroot_sources
+++ b/scripts/build/chroot_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 'manage /etc/apt/sources.list')"
diff --git a/helpers/chroot_symlinks b/scripts/build/chroot_symlinks
index 76a023c..c256780 100755
--- a/helpers/chroot_symlinks
+++ b/scripts/build/chroot_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 'convert symlinks')"
diff --git a/helpers/chroot_sysfs b/scripts/build/chroot_sysfs
index 7b629b7..8578841 100755
--- a/helpers/chroot_sysfs
+++ b/scripts/build/chroot_sysfs
@@ -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')"
diff --git a/helpers/chroot_sysv-rc b/scripts/build/chroot_sysv-rc
index 0ec9228..2154ff4 100755
--- a/helpers/chroot_sysv-rc
+++ b/scripts/build/chroot_sysv-rc
@@ -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')"
diff --git a/helpers/chroot_sysvinit b/scripts/build/chroot_sysvinit
index 2557f2d..7178ce9 100755
--- a/helpers/chroot_sysvinit
+++ b/scripts/build/chroot_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 'configure sysvinit')"
diff --git a/helpers/chroot_tasks b/scripts/build/chroot_tasks
index b819165..6c7d274 100755
--- a/helpers/chroot_tasks
+++ b/scripts/build/chroot_tasks
@@ -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')"
diff --git a/helpers/chroot_upstart b/scripts/build/chroot_upstart
index 32ca18c..c80bf86 100755
--- a/helpers/chroot_upstart
+++ b/scripts/build/chroot_upstart
@@ -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')"
diff --git a/helpers/clean b/scripts/build/clean
index 6cafc6d..2df040c 100755
--- a/helpers/clean
+++ b/scripts/build/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/clean ]
diff --git a/helpers/config b/scripts/build/config
index 6ca0afd..f4fe415 100755
--- a/helpers/config
+++ b/scripts/build/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
# Read meta config
if [ "${1}" != "noauto" ] && [ -x auto/config ]
diff --git a/helpers/lh b/scripts/build/lh
index f44634b..e55feba 100755
--- a/helpers/lh
+++ b/scripts/build/lh
@@ -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
;;
diff --git a/helpers/live-helper b/scripts/build/live-helper
index a105500..77d867b 100755
--- a/helpers/live-helper
+++ b/scripts/build/live-helper
@@ -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
diff --git a/helpers/local b/scripts/build/local
index 39ba6a7..39ba6a7 100755
--- a/helpers/local
+++ b/scripts/build/local
diff --git a/helpers/source b/scripts/build/source
index 8ba066b..0d04957 100755
--- a/helpers/source
+++ b/scripts/build/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 source images')"
diff --git a/helpers/source_checksums b/scripts/build/source_checksums
index 6fcee76..e610c24 100755
--- a/helpers/source_checksums
+++ b/scripts/build/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 'create source checksums')"
diff --git a/helpers/source_debian b/scripts/build/source_debian
index cffca68..df7e51e 100755
--- a/helpers/source_debian
+++ b/scripts/build/source_debian
@@ -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')"
diff --git a/helpers/source_debian-live b/scripts/build/source_debian-live
index b3626ec..e9bcb2f 100755
--- a/helpers/source_debian-live
+++ b/scripts/build/source_debian-live
@@ -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')"
diff --git a/helpers/source_disk b/scripts/build/source_disk
index 6951276..60aff28 100755
--- a/helpers/source_disk
+++ b/scripts/build/source_disk
@@ -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')"
diff --git a/helpers/source_iso b/scripts/build/source_iso
index c833b0b..3b32fbe 100755
--- a/helpers/source_iso
+++ b/scripts/build/source_iso
@@ -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')"
diff --git a/helpers/source_net b/scripts/build/source_net
index bf65fed..5cc35c8 100755
--- a/helpers/source_net
+++ b/scripts/build/source_net
@@ -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')"
diff --git a/helpers/source_tar b/scripts/build/source_tar
index 207e3b4..9da705c 100755
--- a/helpers/source_tar
+++ b/scripts/build/source_tar
@@ -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')"
diff --git a/helpers/source_usb b/scripts/build/source_usb
index dc5bb22..894129a 100755
--- a/helpers/source_usb
+++ b/scripts/build/source_usb
@@ -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')"
diff --git a/helpers/source_virtual-hdd b/scripts/build/source_virtual-hdd
index b67ee3f..607ad73 100755
--- a/helpers/source_virtual-hdd
+++ b/scripts/build/source_virtual-hdd
@@ -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')"
diff --git a/helpers/testroot b/scripts/build/testroot
index 952c4b2..a4149c4 100755
--- a/helpers/testroot
+++ b/scripts/build/testroot
@@ -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')"