rpms/kexec-tools/devel kdumpinit.rootfs,NONE,1.1 manifest,1.1,1.2
Neil Horman
nhorman at fedoraproject.org
Wed May 20 00:35:11 UTC 2009
Author: nhorman
Update of /cvs/extras/rpms/kexec-tools/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26292
Modified Files:
manifest
Added Files:
kdumpinit.rootfs
Log Message:
Adding default initscript for rootfs
--- NEW FILE kdumpinit.rootfs ---
#!/bin/msh
##############################################################
# This is the default init script for our initramfs
# It does the following:
# 1) loads all the available modules
# 2) Waits for any critical disks
# 3) starts lvm/mdraid if needed
# 4) mounts the rootfs under /mnt/
# 5) copies /proc/vmcore to /mnt/var/crash/<date>/vmcore
# 6) reboots the system
##############################################################
# Set the path to something sane
export PATH=/sbin:/bin
load_available_modules
Index: manifest
===================================================================
RCS file: /cvs/extras/rpms/kexec-tools/devel/manifest,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- manifest 19 May 2009 20:08:18 -0000 1.1
+++ manifest 20 May 2009 00:34:41 -0000 1.2
@@ -11,6 +11,7 @@
# 1) reg
# reg <source file> <dest path>
# A regular file copy from the source to the dst directory
+#
# 2) creg
# creg <source file> <dest path>
# like reg, but only copy if the source file exists
@@ -56,6 +57,12 @@ exec populate_kdump_std_files
exec generate_module_list
###################################################
+# If we have one, copy the critical disk list
+# so we don't try to start lvm/mdraid to early
+###################################################
+creg /etc/kdump-adv-conf/critical_disks /etc
+
+###################################################
# Lets get all our lvm and mdraid configs on board
###################################################
creg /etc/lvm/lvm.conf /etc/lvm
More information about the fedora-extras-commits
mailing list