Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (af9dd5cd12253e2771983703f6acbab080727cbd)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Justin Boffemmyer <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (af9dd5cd12253e2771983703f6acbab080727cbd)
  • Date: Tue, 18 Nov 2008 19:18:45 -0600

GIT changes to test cauldron by Justin Boffemmyer <flux AT sourcemage.org>:

data/initrd.dirs | 1 +
data/initrd.files | 1 +
scripts/mkinitrd.sh | 4 ++++
3 files changed, 6 insertions(+)

New commits:
commit af9dd5cd12253e2771983703f6acbab080727cbd
Author: Justin Boffemmyer <flux AT sourcemage.org>
Commit: Justin Boffemmyer <flux AT sourcemage.org>

dmesg support added to initrd

The dmesg binary is copied to the initrd, and an empty /var/log/dmesg is
created to ensure that the dmesg is supported inside the initrd. This
will aid in debugging hardware problems if the ISO fails to boot.

diff --git a/data/initrd.dirs b/data/initrd.dirs
index 35f94a3..62395a7 100644
--- a/data/initrd.dirs
+++ b/data/initrd.dirs
@@ -7,3 +7,4 @@
/sbin
/sys
/tmp
+/var/log
diff --git a/data/initrd.files b/data/initrd.files
index 34fbceb..33019f7 100644
--- a/data/initrd.files
+++ b/data/initrd.files
@@ -3,6 +3,7 @@ bash
chroot
cat
cp
+dmesg
rm
ls
find
diff --git a/scripts/mkinitrd.sh b/scripts/mkinitrd.sh
index 85f051c..6fcd81f 100755
--- a/scripts/mkinitrd.sh
+++ b/scripts/mkinitrd.sh
@@ -160,6 +160,10 @@ pushd $INITRDROOT/dev >/dev/null
$MYDIR/data/MAKEDEV generic-nopty
popd >/dev/null

+# Create an empty /var/log/dmesg so dmesg can be used
+echo "Creating empty /var/log/dmesg"
+touch $INITRDROOT/var/log/dmesg
+
# Add kernel modules that are supposed to be on the iso
echo "adding kernel modules"
mkdir -p ${INITRDROOT}/lib/modules/${KERNEL_VERSION}/kernel



  • [SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (af9dd5cd12253e2771983703f6acbab080727cbd), Justin Boffemmyer, 11/18/2008

Archive powered by MHonArc 2.6.24.

Top of Page