Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by David Brown (b614392bcf10a97db8cfede6887013145c6cb782)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: David Brown <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by David Brown (b614392bcf10a97db8cfede6887013145c6cb782)
  • Date: Sun, 28 Jan 2007 12:46:47 -0600

GIT changes to master grimoire by David Brown <dmlb2000 AT gmail.com>:

kernels/linux-initramfs/HISTORY | 3 +++
kernels/linux-initramfs/mkinitrd | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)

New commits:
commit b614392bcf10a97db8cfede6887013145c6cb782
Author: David Brown <dmlb2000 AT gmail.com>
Commit: David Brown <dmlb2000 AT gmail.com>

linux-initramfs fixed the grepping for the modules in modules.dep should
be the first element

diff --git a/kernels/linux-initramfs/HISTORY b/kernels/linux-initramfs/HISTORY
index 765db3c..4c0c673 100644
--- a/kernels/linux-initramfs/HISTORY
+++ b/kernels/linux-initramfs/HISTORY
@@ -1,3 +1,6 @@
+2007-01-28 David Brown <dmlb2000 AT gmail.com>
+ * mkinitrd: the last commit I did didn't grep modules.dep file right
+
2007-01-27 David Brown <dmlb2000 AT gmail.com>
* mkinitrd: added from linux spell
make it depmod before so it can find the modules properly
diff --git a/kernels/linux-initramfs/mkinitrd
b/kernels/linux-initramfs/mkinitrd
index 24a8a47..22ffee2 100755
--- a/kernels/linux-initramfs/mkinitrd
+++ b/kernels/linux-initramfs/mkinitrd
@@ -464,7 +464,7 @@ function module_parts()
echo "file /modules.lst /tmp/modules.lst 0644 0 0"
for module in $MODULES
do
- full_path_module=$(grep
"/$module.ko\|/${module//-/_}.ko\|/${module//_/-}.ko"
/lib/modules/$KVERSION/modules.dep | cut -d: -f1 | head -n 1)
+ full_path_module=$(grep
"/$module.ko:\|/${module//-/_}.ko:\|/${module//_/-}.ko:"
/lib/modules/$KVERSION/modules.dep | cut -d: -f1 | head -n 1)
echo /modules/$(basename $full_path_module) >>
/tmp/modules.lst
cat <<-EOF
file /modules/$(basename $full_path_module) $full_path_module
0644 0 0



  • [SM-Commit] GIT changes to master grimoire by David Brown (b614392bcf10a97db8cfede6887013145c6cb782), David Brown, 01/28/2007

Archive powered by MHonArc 2.6.24.

Top of Page