summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-06-24 21:38:08 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-06-24 21:38:08 +0200
commita331218718282c5496ff062a0f6aa55908224862 (patch)
treed42688bb069ed11d54ca122c64884661c2f2bcd8
parent0aa07bd386f516176364e710e8b9132036c72986 (diff)
downloadlive-boot-a331218718282c5496ff062a0f6aa55908224862.tar.gz
live-boot-a331218718282c5496ff062a0f6aa55908224862.zip
Reorganizing components in source tree.
-rw-r--r--Makefile6
-rwxr-xr-xcomponents/0010-debug (renamed from scripts/boot/0010-debug)0
-rwxr-xr-xcomponents/0020-read-only (renamed from scripts/boot/0020-read-only)0
-rwxr-xr-xcomponents/0030-verify-checksums (renamed from scripts/boot/0030-verify-checksums)0
-rwxr-xr-xcomponents/3020-swapon (renamed from scripts/boot/3020-swapon)0
-rwxr-xr-xcomponents/9990-aaa-fixme.sh (renamed from scripts/boot/9990-aaa-fixme.sh)0
-rwxr-xr-xcomponents/9990-cmdline-old (renamed from scripts/boot/9990-cmdline-old)0
-rwxr-xr-xcomponents/9990-fstab.sh (renamed from scripts/boot/9990-fstab.sh)0
-rwxr-xr-xcomponents/9990-initramfs-tools.sh (renamed from scripts/boot/9990-initramfs-tools.sh)0
-rwxr-xr-xcomponents/9990-main.sh (renamed from scripts/boot/9990-main.sh)0
-rwxr-xr-xcomponents/9990-misc-helpers.sh (renamed from scripts/boot/9990-misc-helpers.sh)0
-rwxr-xr-xcomponents/9990-mount-cifs.sh (renamed from scripts/boot/9990-mount-cifs.sh)0
-rwxr-xr-xcomponents/9990-mount-http.sh (renamed from scripts/boot/9990-mount-http.sh)0
-rwxr-xr-xcomponents/9990-mount-iscsi.sh (renamed from scripts/boot/9990-mount-iscsi.sh)0
-rwxr-xr-xcomponents/9990-mount-nfs.sh (renamed from scripts/boot/9990-mount-nfs.sh)0
-rwxr-xr-xcomponents/9990-netbase.sh (renamed from scripts/boot/9990-netbase.sh)0
-rwxr-xr-xcomponents/9990-netboot.sh (renamed from scripts/boot/9990-netboot.sh)0
-rwxr-xr-xcomponents/9990-networking.sh (renamed from scripts/boot/9990-networking.sh)0
-rwxr-xr-xcomponents/9990-overlay.sh (renamed from scripts/boot/9990-overlay.sh)0
-rwxr-xr-xcomponents/9990-select-eth-device.sh (renamed from scripts/boot/9990-select-eth-device.sh)0
-rwxr-xr-xcomponents/9990-toram-todisk.sh (renamed from scripts/boot/9990-toram-todisk.sh)0
-rwxr-xr-xdebian/rules1
-rw-r--r--scripts/boot/FIXME28
23 files changed, 3 insertions, 32 deletions
diff --git a/Makefile b/Makefile
index 28709cc..8a78928 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ SHELL := sh -e
LANGUAGES = $(shell cd manpages/po && ls)
-SCRIPTS = backend/*/* frontend/* scripts/*/*-*
+SCRIPTS = backend/*/* frontend/* components/*
all: build
@@ -41,9 +41,9 @@ build:
@echo "Nothing to build."
install:
- # Installing scripts
+ # Installing components
mkdir -p $(DESTDIR)/lib/live
- cp scripts/boot/* $(DESTDIR)/lib/live
+ cp components/* $(DESTDIR)/lib/live
# Installing executables
mkdir -p $(DESTDIR)/usr/share/initramfs-tools/hooks
diff --git a/scripts/boot/0010-debug b/components/0010-debug
index cfb2fc8..cfb2fc8 100755
--- a/scripts/boot/0010-debug
+++ b/components/0010-debug
diff --git a/scripts/boot/0020-read-only b/components/0020-read-only
index fc0dde0..fc0dde0 100755
--- a/scripts/boot/0020-read-only
+++ b/components/0020-read-only
diff --git a/scripts/boot/0030-verify-checksums b/components/0030-verify-checksums
index 3249b34..3249b34 100755
--- a/scripts/boot/0030-verify-checksums
+++ b/components/0030-verify-checksums
diff --git a/scripts/boot/3020-swapon b/components/3020-swapon
index a1bcdbe..a1bcdbe 100755
--- a/scripts/boot/3020-swapon
+++ b/components/3020-swapon
diff --git a/scripts/boot/9990-aaa-fixme.sh b/components/9990-aaa-fixme.sh
index 416d6b4..416d6b4 100755
--- a/scripts/boot/9990-aaa-fixme.sh
+++ b/components/9990-aaa-fixme.sh
diff --git a/scripts/boot/9990-cmdline-old b/components/9990-cmdline-old
index 8bb8254..8bb8254 100755
--- a/scripts/boot/9990-cmdline-old
+++ b/components/9990-cmdline-old
diff --git a/scripts/boot/9990-fstab.sh b/components/9990-fstab.sh
index 5ae9546..5ae9546 100755
--- a/scripts/boot/9990-fstab.sh
+++ b/components/9990-fstab.sh
diff --git a/scripts/boot/9990-initramfs-tools.sh b/components/9990-initramfs-tools.sh
index 5354134..5354134 100755
--- a/scripts/boot/9990-initramfs-tools.sh
+++ b/components/9990-initramfs-tools.sh
diff --git a/scripts/boot/9990-main.sh b/components/9990-main.sh
index e67176e..e67176e 100755
--- a/scripts/boot/9990-main.sh
+++ b/components/9990-main.sh
diff --git a/scripts/boot/9990-misc-helpers.sh b/components/9990-misc-helpers.sh
index 82099a4..82099a4 100755
--- a/scripts/boot/9990-misc-helpers.sh
+++ b/components/9990-misc-helpers.sh
diff --git a/scripts/boot/9990-mount-cifs.sh b/components/9990-mount-cifs.sh
index 8dd1818..8dd1818 100755
--- a/scripts/boot/9990-mount-cifs.sh
+++ b/components/9990-mount-cifs.sh
diff --git a/scripts/boot/9990-mount-http.sh b/components/9990-mount-http.sh
index 16e69b6..16e69b6 100755
--- a/scripts/boot/9990-mount-http.sh
+++ b/components/9990-mount-http.sh
diff --git a/scripts/boot/9990-mount-iscsi.sh b/components/9990-mount-iscsi.sh
index c9bab90..c9bab90 100755
--- a/scripts/boot/9990-mount-iscsi.sh
+++ b/components/9990-mount-iscsi.sh
diff --git a/scripts/boot/9990-mount-nfs.sh b/components/9990-mount-nfs.sh
index 6a3ae55..6a3ae55 100755
--- a/scripts/boot/9990-mount-nfs.sh
+++ b/components/9990-mount-nfs.sh
diff --git a/scripts/boot/9990-netbase.sh b/components/9990-netbase.sh
index b3f886c..b3f886c 100755
--- a/scripts/boot/9990-netbase.sh
+++ b/components/9990-netbase.sh
diff --git a/scripts/boot/9990-netboot.sh b/components/9990-netboot.sh
index 5054fb8..5054fb8 100755
--- a/scripts/boot/9990-netboot.sh
+++ b/components/9990-netboot.sh
diff --git a/scripts/boot/9990-networking.sh b/components/9990-networking.sh
index cdec92a..cdec92a 100755
--- a/scripts/boot/9990-networking.sh
+++ b/components/9990-networking.sh
diff --git a/scripts/boot/9990-overlay.sh b/components/9990-overlay.sh
index 6b62093..6b62093 100755
--- a/scripts/boot/9990-overlay.sh
+++ b/components/9990-overlay.sh
diff --git a/scripts/boot/9990-select-eth-device.sh b/components/9990-select-eth-device.sh
index 7d1aa16..7d1aa16 100755
--- a/scripts/boot/9990-select-eth-device.sh
+++ b/components/9990-select-eth-device.sh
diff --git a/scripts/boot/9990-toram-todisk.sh b/components/9990-toram-todisk.sh
index e7938e0..e7938e0 100755
--- a/scripts/boot/9990-toram-todisk.sh
+++ b/components/9990-toram-todisk.sh
diff --git a/debian/rules b/debian/rules
index ba9bb63..84e3394 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,6 @@ override_dh_auto_install:
# Removing useless files
rm -f debian/tmp/usr/share/doc/live-boot/COPYING
- rm -f debian/lib/live/boot/FIXME
# live-boot-initramfs-tools
mkdir -p debian/live-boot-initramfs-tools/usr/share
diff --git a/scripts/boot/FIXME b/scripts/boot/FIXME
deleted file mode 100644
index be8bb32..0000000
--- a/scripts/boot/FIXME
+++ /dev/null
@@ -1,28 +0,0 @@
-Note
-----
-
-live-boot is moving from a monolithic script into a proper
-plugin architecture for better maintenance and customization.
-
-Additionally, this will allow us to abstract initramfs-tools
-integration to also support other initrd generators, such as
-dracut.
-
-Unfortunately, from a developers point of view, we could not
-finish this in time for wheezy, but we will finish this for
-jessie. Please excuse the sorry state of the 9990-* scripts.
-From a users point of view, it doesn't matter at all though.
-
-
-Scripts overview
-----------------
-
-0xxx live-boot internals
-
-1xxx find and mount rootfs
-
-2xxx find and mount persistence
-
-3xxx anything after that involves read or write access to the rootfs
-
-9xxx FIXME