summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-06-24 21:29:10 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-06-24 21:33:51 +0200
commit0aa07bd386f516176364e710e8b9132036c72986 (patch)
tree27e39d4b1a7deedad4adb8b6e62cc01e44c58bc5 /backend
parent9bb62c8a50e9e92b0e0d637c624d364be6a911ca (diff)
downloadlive-boot-0aa07bd386f516176364e710e8b9132036c72986.tar.gz
live-boot-0aa07bd386f516176364e710e8b9132036c72986.zip
Reorganizing frontend in source tree.
Diffstat (limited to 'backend')
-rwxr-xr-xbackend/dracut/live.script2
-rwxr-xr-xbackend/initramfs-tools/live.hook6
-rwxr-xr-xbackend/initramfs-tools/live.script2
3 files changed, 6 insertions, 4 deletions
diff --git a/backend/dracut/live.script b/backend/dracut/live.script
index 223f355..0774bfb 100755
--- a/backend/dracut/live.script
+++ b/backend/dracut/live.script
@@ -2,7 +2,7 @@
#set -e
-. /lib/live/boot.sh
+. /bin/live-boot
DRACUT_FIXME ()
{
diff --git a/backend/initramfs-tools/live.hook b/backend/initramfs-tools/live.hook
index 1814211..560dd0f 100755
--- a/backend/initramfs-tools/live.hook
+++ b/backend/initramfs-tools/live.hook
@@ -17,7 +17,7 @@ do
done
# Checking live-boot
-if [ ! -e /lib/live/boot ]
+if [ ! -e /bin/live-boot ]
then
echo
echo "W: live-boot-initramfs-tools (backend) installed without live-boot,"
@@ -27,8 +27,10 @@ fi
[ "${QUIET}" ] || echo -n " core"
+mkdir -p "${DESTDIR}/bin"
+cp -a /bin/live-boot /lib/live/boot "${DESTDIR}/bin"
mkdir -p "${DESTDIR}/lib/live"
-cp -a /lib/live/boot.sh /lib/live/boot "${DESTDIR}/lib/live"
+cp -a /lib/live/boot "${DESTDIR}/lib/live"
# klibc dependencies
for FILE in /lib/libacl* /lib/libblkid* /lib/libuuid* /lib/libdevmapper* /lib/libattr*
diff --git a/backend/initramfs-tools/live.script b/backend/initramfs-tools/live.script
index 9646274..ff2915a 100755
--- a/backend/initramfs-tools/live.script
+++ b/backend/initramfs-tools/live.script
@@ -2,7 +2,7 @@
#set -e
-. /lib/live/boot.sh
+. /bin/live-boot
. /scripts/functions