From: [EMAIL PROTECTED] on behalf of Brian Elliott Finley
Sent: Wed 14/12/2005 21:56
To: dann frazier
Cc: Bernard Li; [EMAIL PROTECTED]
Subject: Re: [Systemimager-commits] r3289 - in trunk/initrd_source: . make.d
I'm thinking that with 3.6, as we may be supporting 2.4 and 2.6
kernels,
without knowing which ahead of time, we may want to include 2.4 and
2.6
capable modutils as insmod.2.4 and insmod.2.6, for example.
At
boot time, in the initrd, we determine the kernel type, and create a
link to
the appropriate one:
if [ 2.6 kernel
];
ln -s insmod.2.6
insmod
fi
And off we go!
Thus spake Dann
Frazier ([EMAIL PROTECTED]):
>On Sat, 2005-12-10 at 07:43 -0600, Bernard Li
wrote:
>> Author: bli
>> Date: 2005-12-10 07:43:38 -0600 (Sat,
10 Dec 2005)
>> New Revision: 3289
>>
>>
Modified:
>>
trunk/initrd_source/initrd.rul
>>
trunk/initrd_source/make.d/module-init-tools.rul
>> Log:
>>
Ashley Gould patch:
>> - Use statically compiled insmod instead of the
dynamically compiled one which does not work
>>
>>
>>
Modified: trunk/initrd_source/initrd.rul
>>
===================================================================
>>
--- trunk/initrd_source/initrd.rul 2005-12-06 21:00:09 UTC (rev
3288)
>> +++ trunk/initrd_source/initrd.rul 2005-12-10
13:43:38 UTC (rev 3289)
>> @@ -140,13 +140,13 @@
>>
cp -a $(UDPCAST_BINARY)
$(INITRD_BUILD_DIR)/bin
>>
>>
ifdef INSMOD_BINARY
>>
- ( [ ! -e $(INITRD_BUILD_DIR)/sbin/$(INSMOD_BINARY) ]
&& \
>> -
cp -a $(INSMOD_BINARY) $(INITRD_BUILD_DIR)/sbin ) || \
>>
+ ( [ ! -e $(INITRD_BUILD_DIR)/sbin/insmod ] &&
\
>
why hardcode the name here ^
>>
+ cp -a $(INSMOD_BINARY)
$(INITRD_BUILD_DIR)/sbin/insmod ) ||
\
>
and not here ^
>>
( echo "$(INITRD_BUILD_DIR)/sbin/$(INSMOD_BINARY) already exists."
&&\
>>
echo "Is insmod maybe already provided by busybox?" && exit 1
)
>> endif
>>
ifdef MODPROBE_BINARY
>>
- ( [ ! -e $(INITRD_BUILD_DIR)/sbin/$(MODPROBE_BINARY) ]
&& \
>> + ( [ ! -e
$(INITRD_BUILD_DIR)/sbin/modprobe ] &&
\
>>
cp -a $(MODPROBE_BINARY) $(INITRD_BUILD_DIR)/sbin ) ||
\
>ditto
>
>
>
>
>-------------------------------------------------------
>This
SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
>for problems? Stop! Download the new AJAX search engine
that makes
>searching your log files as easy as surfing the
web. DOWNLOAD SPLUNK!
>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>_______________________________________________
>systemimager-commits
mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/systemimager-commits
--
Brian
Elliott Finley
Mobile:
630.631.6621
-------------------------------------------------------
This
SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for
problems? Stop! Download the new AJAX search engine that
makes
searching your log files as easy as surfing the web.
DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
systemimager-commits
mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/systemimager-commits