Moving initramfs-tools entry-point to backends.
authorDaniel Baumann <daniel@debian.org>
Thu, 28 Feb 2013 21:27:24 +0000 (22:27 +0100)
committerDaniel Baumann <mail@daniel-baumann.ch>
Mon, 6 May 2013 11:54:15 +0000 (13:54 +0200)
backends/initramfs-tools/live.script
scripts/boot/0020-initramfs-tools [deleted file]
scripts/boot/FIXME

index 46576fb..7f99cc3 100755 (executable)
@@ -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 (executable)
index c251443..0000000
+++ /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
-}
index f3c62c5..31876ec 100644 (file)
@@ -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