From: Daniel Baumann Date: Thu, 28 Feb 2013 21:27:24 +0000 (+0100) Subject: Moving initramfs-tools entry-point to backends. X-Git-Tag: debian/4.0_a8-1~8 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=02006eaef8a220c3740a4e4f9a7d53f352f9c193;hp=8bea91806e321b8fdcba43dd2808720054794734;p=live-boot-grml.git Moving initramfs-tools entry-point to backends. --- diff --git a/backends/initramfs-tools/live.script b/backends/initramfs-tools/live.script index 46576fb..7f99cc3 100755 --- a/backends/initramfs-tools/live.script +++ b/backends/initramfs-tools/live.script @@ -6,3 +6,14 @@ if [ -e /lib/live/boot.sh ] then . /lib/live/boot.sh fi + +if [ -e /scripts/functions ] +then + . /scripts/functions +fi + +mountroot () +{ + # initramfs-tools entry point for live-boot is mountroot(); function + Main +} diff --git a/scripts/boot/0020-initramfs-tools b/scripts/boot/0020-initramfs-tools deleted file mode 100755 index c251443..0000000 --- a/scripts/boot/0020-initramfs-tools +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -#set -e - -if [ -e /scripts/functions ] -then - . /scripts/functions -fi - -mountroot () -{ - # initramfs-tools entry point for live-boot is mountroot(); function - Main -} diff --git a/scripts/boot/FIXME b/scripts/boot/FIXME index f3c62c5..31876ec 100644 --- a/scripts/boot/FIXME +++ b/scripts/boot/FIXME @@ -17,8 +17,6 @@ From a users point of view, it doesn't matter at all though. Scripts overview ---------------- -00xx initramfs "bootstrapping" - 0xxx live-boot internals 1xxx find and mount rootfs