summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-02 14:45:03 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:19 +0100
commitf96497842018f2eca17715318d6b7cfbb69f50e8 (patch)
tree306d88780553cd3ad2c56d9ad2a529187e97affd /examples
parent36dee770cd97821d549d259cce9d39a49fcbdb62 (diff)
downloadvyos-live-build-f96497842018f2eca17715318d6b7cfbb69f50e8.tar.gz
vyos-live-build-f96497842018f2eca17715318d6b7cfbb69f50e8.zip
Replacing some references to live-helper with live-build in examples.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/cron/cron.daily18
-rw-r--r--examples/cron/default4
-rwxr-xr-xexamples/cron/images.sh22
-rwxr-xr-xexamples/hooks/all_binary_debian-installer-banner.sh2
-rwxr-xr-xexamples/hooks/all_binary_live-helper.sh14
-rwxr-xr-xexamples/hooks/all_chroot_hal-automount.sh2
-rwxr-xr-xexamples/hooks/all_chroot_kernel-purge.sh2
-rwxr-xr-xexamples/hooks/all_chroot_linux-modules.sh2
-rwxr-xr-xexamples/hooks/all_chroot_localepurge.sh2
-rwxr-xr-xexamples/hooks/all_chroot_losetup-lukshome.sh2
-rwxr-xr-xexamples/hooks/all_chroot_rt2570-modules.sh2
-rwxr-xr-xexamples/hooks/all_chroot_sun-java6.sh4
-rwxr-xr-xexamples/hooks/all_chroot_udev-generators.sh2
-rwxr-xr-xexamples/hooks/all_chroot_update-initramfs.sh2
-rwxr-xr-xexamples/hooks/all_chroot_virtualbox-ose.sh2
-rwxr-xr-xexamples/hooks/lenny_chroot_aufs-modules.sh2
-rwxr-xr-xexamples/hooks/lenny_chroot_kpdf-nodrm.sh2
-rwxr-xr-xexamples/hooks/lenny_chroot_madwifi-modules.sh2
-rwxr-xr-xexamples/hooks/lenny_chroot_nvidia-legacy-modules.sh2
-rwxr-xr-xexamples/hooks/lenny_chroot_squashfs-modules.sh2
-rwxr-xr-xexamples/hooks/lenny_chroot_sun-java5.sh4
-rwxr-xr-xexamples/hooks/squeeze_chroot_okular-nodrm.sh2
22 files changed, 49 insertions, 49 deletions
diff --git a/examples/cron/cron.daily b/examples/cron/cron.daily
index ea630f793..561075687 100755
--- a/examples/cron/cron.daily
+++ b/examples/cron/cron.daily
@@ -5,18 +5,18 @@ set -e
BUILD="daily"
HOST="$(hostname)"
-# Checking for live-helper availability
-if [ ! -x /usr/bin/lh_config ]
+# Checking for live-build availability
+if [ ! -x /usr/bin/lb ]
then
exit 0
fi
-# Checking for live-helper defaults
-if [ -r /etc/default/live-helper_autobuild ]
+# Checking for live-build defaults
+if [ -r /etc/default/live-build_autobuild ]
then
- . /etc/default/live-helper_autobuild
+ . /etc/default/live-build_autobuild
else
- echo "E: /etc/default/live-helper_autobuild missing."
+ echo "E: /etc/default/live-build_autobuild missing."
exit 1
fi
@@ -36,7 +36,7 @@ else
exit 1
fi
-echo "$(date +%b\ %d\ %H:%M:%S) ${HOST} live-helper: begin daily build." >> /var/log/live
+echo "$(date +%b\ %d\ %H:%M:%S) ${HOST} live-build: begin daily build." >> /var/log/live
for ARCHITECTURE in ${ARCHITECTURES}
do
@@ -79,7 +79,7 @@ do
if [ ! -f "${DESTDIR}"/"${BUILD}"-builds/${DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${DATE}-usb-hdd-log.txt ]
then
- # Workaround of missing multi-binary support in live-helper
+ # Workaround of missing multi-binary support in live-build
mv "${TEMPDIR}"/debian-live/binary/casper "${TEMPDIR}"/debian-live/casper.tmp
rm -rf "${TEMPDIR}"/debian-live/binary* "${TEMPDIR}"/debian-live/.stage/binary_*
mkdir "${TEMPDIR}"/debian-live/binary
@@ -152,4 +152,4 @@ done
rm -f "${DESTDIR}"/"${BUILD}"-builds/current
ln -s ${DATE} "${DESTDIR}"/"${BUILD}"-builds/current
-echo "$(date +%b\ %d\ %H:%M:%S) ${HOST} live-helper: end daily build." >> /var/log/live
+echo "$(date +%b\ %d\ %H:%M:%S) ${HOST} live-build: end daily build." >> /var/log/live
diff --git a/examples/cron/default b/examples/cron/default
index 051417b1b..1778b5e89 100644
--- a/examples/cron/default
+++ b/examples/cron/default
@@ -1,10 +1,10 @@
-# Defaults for /etc/cron.daily/live-helper_autobuild
+# Defaults for /etc/cron.daily/live-build_autobuild
AUTOBUILD="false"
DATE="$(date +%Y%m%d)"
DESTDIR="/srv/debian-live"
-TEMPDIR="/srv/tmp/live-helper"
+TEMPDIR="/srv/tmp/live-build"
OPTIONS="--binary-indices false"
diff --git a/examples/cron/images.sh b/examples/cron/images.sh
index 13617756f..a6aebd95d 100755
--- a/examples/cron/images.sh
+++ b/examples/cron/images.sh
@@ -113,7 +113,7 @@ do
do
if [ -e .stage ]
then
- lh clean
+ lb clean
fi
if [ -e config ]
@@ -127,7 +127,7 @@ do
Set_defaults
- lh config \
+ lb config \
--apt-recommends ${APT_RECOMMENDS} \
--binary-indices ${BINARY_INDICES} \
--cache-stages "bootstrap rootfs" \
@@ -142,7 +142,7 @@ do
--packages-lists ${FLAVOUR} \
--tasksel ${TASKSEL} ${KERNEL}
- lh build 2>&1 | tee debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.log
+ lb build 2>&1 | tee debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.log
mv binary*.iso debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso
mv binary.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.list
@@ -150,9 +150,9 @@ do
if [ "${DISTRIBUTION}" = "lenny" ] && [ "${ARCHITECTURE}" != "powerpc" ]
then
- lh clean --binary
- lh config -binary-images usb-hdd
- lh binary 2>&1 | tee debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img.log
+ lb clean --binary
+ lb config -binary-images usb-hdd
+ lb binary 2>&1 | tee debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img.log
mv binary.img debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img
mv binary.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img.list
@@ -161,11 +161,11 @@ do
if [ "${ARCHITECTURE}" != "powerpc" ]
then
- lh clean
+ lb clean
rm -rf cache/stages_rootfs
- lh config --binary-images net
+ lb config --binary-images net
- lh build 2>&1 | tee debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.tar.gz.log
+ lb build 2>&1 | tee debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.tar.gz.log
mv binary-net.tar.gz debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.tar.gz
mv binary.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.tar.gz.list
@@ -179,9 +179,9 @@ do
if [ "${SOURCE}" = "true" ]
then
- lh config --source true
+ lb config --source true
- lh source 2>&1 | tee debian-live-${DISTRIBUTION}-source-${FLAVOUR}.log
+ lb source 2>&1 | tee debian-live-${DISTRIBUTION}-source-${FLAVOUR}.log
mv source.debian.tar.gz debian-live-${DISTRIBUTION}-source-${FLAVOUR}.debian.tar.gz
mv source.debian.list debian-live-${DISTRIBUTION}-source-${FLAVOUR}.debian.tar.gz.list
diff --git a/examples/hooks/all_binary_debian-installer-banner.sh b/examples/hooks/all_binary_debian-installer-banner.sh
index 7be8682c1..76c5d0785 100755
--- a/examples/hooks/all_binary_debian-installer-banner.sh
+++ b/examples/hooks/all_binary_debian-installer-banner.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# This is an binary hook for live-helper(7) to overwrite the banner
+# This is an binary hook for live-build(7) to overwrite the banner
# in the graphical Debian Installer.
# To enable it, copy or symlink this hook into your config/binary_local-hooks
# directory and add a replacement banner.png at:
diff --git a/examples/hooks/all_binary_live-helper.sh b/examples/hooks/all_binary_live-helper.sh
index 219193bce..b60f4a339 100755
--- a/examples/hooks/all_binary_live-helper.sh
+++ b/examples/hooks/all_binary_live-helper.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# This is a hook for live-helper(7) to install live-helper and its config into
+# This is a hook for live-build(7) to install live-build and its config into
# the binary image.
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
# directory.
@@ -11,14 +11,14 @@ mkdir -p "${DIRECTORY}"
cp -a config "${DIRECTORY}"
-if [ -e live-helper ]
+if [ -e live-build ]
then
- cp -a live-helper "${DIRECTORY}"
+ cp -a live-build "${DIRECTORY}"
else
- mkdir -p "${DIRECTORY}"/live-helper/bin
- cp -a /usr/bin/lh* "${DIRECTORY}"/live-helper/bin
+ mkdir -p "${DIRECTORY}"/live-build/bin
+ cp -a /usr/bin/lh* "${DIRECTORY}"/live-build/bin
- cp -a /usr/share/live/build "${DIRECTORY}"/live-helper/share
+ cp -a /usr/share/live/build "${DIRECTORY}"/live-build/share
- cp -a /usr/share/doc/live-build "${DIRECTORY}"/live-helper/doc
+ cp -a /usr/share/doc/live-build "${DIRECTORY}"/live-build/doc
fi
diff --git a/examples/hooks/all_chroot_hal-automount.sh b/examples/hooks/all_chroot_hal-automount.sh
index 0fec6f9da..2a66fe9d0 100755
--- a/examples/hooks/all_chroot_hal-automount.sh
+++ b/examples/hooks/all_chroot_hal-automount.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# This is a hook for live-helper(7) to enable automaunting with hal for block devices.
+# This is a hook for live-build(7) to enable automaunting with hal for block devices.
#
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
# directory.
diff --git a/examples/hooks/all_chroot_kernel-purge.sh b/examples/hooks/all_chroot_kernel-purge.sh
index 188f6a452..6d8204eea 100755
--- a/examples/hooks/all_chroot_kernel-purge.sh
+++ b/examples/hooks/all_chroot_kernel-purge.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# This is a hook for live-helper(7) to remove any kernel except the newest one.
+# This is a hook for live-build(7) to remove any kernel except the newest one.
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
# directory.
diff --git a/examples/hooks/all_chroot_linux-modules.sh b/examples/hooks/all_chroot_linux-modules.sh
index 159e9bc52..8b07294bf 100755
--- a/examples/hooks/all_chroot_linux-modules.sh
+++ b/examples/hooks/all_chroot_linux-modules.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# This is a hook for live-helper(7) to add entries to /etc/modules.
+# This is a hook for live-build(7) to add entries to /etc/modules.
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
# directory.
diff --git a/examples/hooks/all_chroot_localepurge.sh b/examples/hooks/all_chroot_localepurge.sh
index 3fbb4c497..d820330c6 100755
--- a/examples/hooks/all_chroot_localepurge.sh
+++ b/examples/hooks/all_chroot_localepurge.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# This is a hook for live-helper(7) to install localepurge.
+# This is a hook for live-build(7) to install localepurge.
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
# directory.
#
diff --git a/examples/hooks/all_chroot_losetup-lukshome.sh b/examples/hooks/all_chroot_losetup-lukshome.sh
index 03efd653e..95d3c053a 100755
--- a/examples/hooks/all_chroot_losetup-lukshome.sh
+++ b/examples/hooks/all_chroot_losetup-lukshome.sh
@@ -36,7 +36,7 @@
# --------------
#
# First build your live system with this hook inside config/chroot_local-hooks/.
-# If you have an existing live-helper build directory with a previous live
+# If you have an existing live-build build directory with a previous live
# build, you might have to run
#
# lh_clean
diff --git a/examples/hooks/all_chroot_rt2570-modules.sh b/examples/hooks/all_chroot_rt2570-modules.sh
index 408b1383f..b8ffdadb7 100755
--- a/examples/hooks/all_chroot_rt2570-modules.sh
+++ b/examples/hooks/all_chroot_rt2570-modules.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# This is a hook for live-helper(7) to install ralink rt2570 drivers
+# This is a hook for live-build(7) to install ralink rt2570 drivers
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
# directory.
diff --git a/examples/hooks/all_chroot_sun-java6.sh b/examples/hooks/all_chroot_sun-java6.sh
index 5a7596279..4faff163f 100755
--- a/examples/hooks/all_chroot_sun-java6.sh
+++ b/examples/hooks/all_chroot_sun-java6.sh
@@ -1,13 +1,13 @@
#!/bin/sh
-# This is a hook for live-helper(7) to install sun-java.
+# This is a hook for live-build(7) to install sun-java.
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
# directory.
#
# Note: This hook requires packages from the non-free category. Make sure you
# enabled it in your configuration.
-# live-helper sets DEBIAN_FRONTEND to 'noninteractive' to advise debconf to not
+# live-build sets DEBIAN_FRONTEND to 'noninteractive' to advise debconf to not
# ask any questions while installing packages. Suns redistribution terms for
# Java do not allow this, therefore we need to overwrite DEBIAN_FRONTEND for
# this apt-get call only.
diff --git a/examples/hooks/all_chroot_udev-generators.sh b/examples/hooks/all_chroot_udev-generators.sh
index 2431e3d5a..9a5fed2ca 100755
--- a/examples/hooks/all_chroot_udev-generators.sh
+++ b/examples/hooks/all_chroot_udev-generators.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# This is a hook for live-helper(7) to remove udev persistent device generator
+# This is a hook for live-build(7) to remove udev persistent device generator
# rules.
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
# directory.
diff --git a/examples/hooks/all_chroot_update-initramfs.sh b/examples/hooks/all_chroot_update-initramfs.sh
index 5179f77e9..b75b135bc 100755
--- a/examples/hooks/all_chroot_update-initramfs.sh
+++ b/examples/hooks/all_chroot_update-initramfs.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# This is a hook for live-helper(7) to rebuild the initramfs image.
+# This is a hook for live-build(7) to rebuild the initramfs image.
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
# directory.
#
diff --git a/examples/hooks/all_chroot_virtualbox-ose.sh b/examples/hooks/all_chroot_virtualbox-ose.sh
index bcf7289b5..e1dab4ad4 100755
--- a/examples/hooks/all_chroot_virtualbox-ose.sh
+++ b/examples/hooks/all_chroot_virtualbox-ose.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# This is a hook for live-helper(7) to enable virtualbox-ose module.
+# This is a hook for live-build(7) to enable virtualbox-ose module.
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
# directory.
diff --git a/examples/hooks/lenny_chroot_aufs-modules.sh b/examples/hooks/lenny_chroot_aufs-modules.sh
index e70dcc749..2d0d16e40 100755
--- a/examples/hooks/lenny_chroot_aufs-modules.sh
+++ b/examples/hooks/lenny_chroot_aufs-modules.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# This is a hook for live-helper(7) to install aufs drivers
+# This is a hook for live-build(7) to install aufs drivers
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
# directory.
#
diff --git a/examples/hooks/lenny_chroot_kpdf-nodrm.sh b/examples/hooks/lenny_chroot_kpdf-nodrm.sh
index bbc46b9d4..20a4f9f33 100755
--- a/examples/hooks/lenny_chroot_kpdf-nodrm.sh
+++ b/examples/hooks/lenny_chroot_kpdf-nodrm.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# This is a hook for live-helper(7) to configure KDE's PDF viewer to ignore
+# This is a hook for live-build(7) to configure KDE's PDF viewer to ignore
# manipulation restriction on "DRM protect" PDF documents.
#
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
diff --git a/examples/hooks/lenny_chroot_madwifi-modules.sh b/examples/hooks/lenny_chroot_madwifi-modules.sh
index 0686c122b..336e84ca3 100755
--- a/examples/hooks/lenny_chroot_madwifi-modules.sh
+++ b/examples/hooks/lenny_chroot_madwifi-modules.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# This is a hook for live-helper(7) to install madwifi drivers
+# This is a hook for live-build(7) to install madwifi drivers
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
# directory.
#
diff --git a/examples/hooks/lenny_chroot_nvidia-legacy-modules.sh b/examples/hooks/lenny_chroot_nvidia-legacy-modules.sh
index 66d67bcb5..7374ce4a2 100755
--- a/examples/hooks/lenny_chroot_nvidia-legacy-modules.sh
+++ b/examples/hooks/lenny_chroot_nvidia-legacy-modules.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# This is a hook for live-helper(7) to install nvidia-kernel-legacy drivers
+# This is a hook for live-build(7) to install nvidia-kernel-legacy drivers
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
# directory.
#
diff --git a/examples/hooks/lenny_chroot_squashfs-modules.sh b/examples/hooks/lenny_chroot_squashfs-modules.sh
index 20667e25b..cfa2f776c 100755
--- a/examples/hooks/lenny_chroot_squashfs-modules.sh
+++ b/examples/hooks/lenny_chroot_squashfs-modules.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# This is a hook for live-helper(7) to install squashfs drivers
+# This is a hook for live-build(7) to install squashfs drivers
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
# directory.
#
diff --git a/examples/hooks/lenny_chroot_sun-java5.sh b/examples/hooks/lenny_chroot_sun-java5.sh
index 139efd5ee..27034a7e3 100755
--- a/examples/hooks/lenny_chroot_sun-java5.sh
+++ b/examples/hooks/lenny_chroot_sun-java5.sh
@@ -1,13 +1,13 @@
#!/bin/sh
-# This is a hook for live-helper(7) to install sun-java.
+# This is a hook for live-build(7) to install sun-java.
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
# directory.
#
# Note: This hook requires packages from the non-free category. Make sure you
# enabled it in your configuration.
-# live-helper sets DEBIAN_FRONTEND to 'noninteractive' to advise debconf to not
+# live-build sets DEBIAN_FRONTEND to 'noninteractive' to advise debconf to not
# ask any questions while installing packages. Suns redistribution terms for
# Java do not allow this, therefore we need to overwrite DEBIAN_FRONTEND for
# this apt-get call only.
diff --git a/examples/hooks/squeeze_chroot_okular-nodrm.sh b/examples/hooks/squeeze_chroot_okular-nodrm.sh
index 782133c29..96ce09458 100755
--- a/examples/hooks/squeeze_chroot_okular-nodrm.sh
+++ b/examples/hooks/squeeze_chroot_okular-nodrm.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# This is a hook for live-helper(7) to configure KDE's PDF viewer to ignore
+# This is a hook for live-build(7) to configure KDE's PDF viewer to ignore
# manipulation restriction on "DRM protect" PDF documents.
#
# To enable it, copy or symlink this hook into your config/chroot_local-hooks