summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Bailey <jbailey@ubuntu.com>2005-06-09 15:16:40 +0000
committerJeff Bailey <jbailey@ubuntu.com>2005-06-09 15:16:40 +0000
commit8cfdec86dd2e4662a09d6384ab9042d32636560d (patch)
treeeb49bda036827c5458059e30dfbbb6dafbc33a12
parentc7df22010dcd9b237952e5135fea8b670039f547 (diff)
downloadinitramfs-tools-8cfdec86dd2e4662a09d6384ab9042d32636560d.tar.gz
initramfs-tools-8cfdec86dd2e4662a09d6384ab9042d32636560d.zip
Add hookscript directories
-rw-r--r--debian/changelog7
-rw-r--r--debian/dirs6
-rw-r--r--mkinitramfs2
3 files changed, 14 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 1973e74..787f5fa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,9 +6,14 @@ initramfs-tools (0.7) breezy; urgency=low
doesn't make any sense, so it's not supported. Add support for
overriding the confdir, and specifying version no longer expects -v.
+ * Add sed and grep to the initramfs for now. Will prune these
+ eventually, but for now mdrun needs them.
+ * Add mdadm and mdrun to the initramfs.
- -- Jeff Bailey <jbailey@ubuntu.com> Thu, 9 Jun 2005 14:30:18 +0000
+ * Add hookscript directories.
+
+ -- Jeff Bailey <jbailey@localhost> Thu, 9 Jun 2005 15:16:15 +0000
initramfs-tools (0.6) breezy; urgency=low
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..fd55804
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,6 @@
+etc/mkiniramfs/init-bottom
+etc/mkiniramfs/init-top
+etc/mkiniramfs/local-premount
+etc/mkiniramfs/local-top
+etc/mkiniramfs/nfs-premount
+etc/mkiniramfs/nfs-top
diff --git a/mkinitramfs b/mkinitramfs
index d2036fd..7b6af66 100644
--- a/mkinitramfs
+++ b/mkinitramfs
@@ -103,6 +103,8 @@ fi
# Raid
ln -s /sbin/mdadm ${TMPDIR}/bin
ln -s /sbin/mdrun ${TMPDIR}/bin
+ln -s /bin/grep ${TMPDIR}/bin
+ln -s /bin/sed ${TMPDIR}/bin
(cd ${TMPDIR} && find . | cpio --quiet --dereference -o -H newc | gzip -9 >${outfile})