Skip to Content.
Sympa Menu

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

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 (a2f9b91acea8c8c0b02f878049c6493ffcf0201a)
  • Date: Thu, 4 Jun 2009 23:54:18 -0500

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

iso/etc/sysconfig/modutils | 10 ++++++++++
1 files changed, 10 insertions(+)

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

iso/etc/sysconfig/modutils: stop ISO boot depmod

Prevent the ISO from running depmod on bootup. First of all, it's not
needed since the kernel modules on the ISO are static (once they are on
a given ISO, they won't change). Second of all, the ISO is a read-only
filesystem so attempting to run depmod on it (which tries to write to
/lib/modules/`uname -r`/) causes a boot-time error.

diff --git a/iso/etc/sysconfig/modutils b/iso/etc/sysconfig/modutils
new file mode 100644
index 0000000..5c66d7d
--- /dev/null
+++ b/iso/etc/sysconfig/modutils
@@ -0,0 +1,10 @@
+# Perform depmod -a on boot or not.
+# Probably don't want to do this if you are on a laptop and running on
battery.
+#PERFORM_DEPMOD=y
+# Don't do the depmod since the ISO boots with a read-only root fs
+PERFORM_DEPMOD=n
+
+# Sometimes low memory machines and with kernels with lots of modules depmod
+# will cause an Out Of Memory (oom) kernel panic. Say yes here if you want to
+# enable swap so the oom error won't happen.
+#ENABLE_SWAP_BEFORE_DEPMOD=y




Archive powered by MHonArc 2.6.24.

Top of Page