[Prism54-devel] Re: Add depmod to Makefile
Pavel Roskin
proski@gnu.org
Thu, 20 May 2004 20:02:02 -0400 (EDT)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
--8323328-358222530-1085097722=:6103
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Wed, 19 May 2004, Margit Schubert-While wrote:
>> Margit will hopefully appreciate that KVER doesn't need to be overridden.
> She does :-)
>
> The correct way to do it is to use version.h
> Some distro's make changes to the default Makefile,
Fixed. Thank you! I have already fixed the Makefile in the Orinoco
driver.
> In version.h, however, we should have the correct name.
> (eg. #define UTS_RELEASE "2.6.4-1-margit")
> Can you put up an amended patch ?
Attached.
> One other nitpick - Can you take out the absolute path for depmod.
> So just "depmod" instead of "/sbin/depmod".
I disagree. /sbin is not in $PATH for users by default, and the root
environment inherits $PATH from the user when "su" is used.
> Oh, and incidentally, a good distro will check if a depmod is needed
> as part of the boot process. (admittedly, a little late if anything is wrong)
Agreed.
--
Regards,
Pavel Roskin
--8323328-358222530-1085097722=:6103
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="kver_depmod2.diff"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.60.0405202002020.6103@marabou.research.att.com>
Content-Description:
Content-Disposition: attachment; filename="kver_depmod2.diff"
LS0tIE1ha2VmaWxlDQorKysgTWFrZWZpbGUNCkBAIC0xLDExICsxLDE5IEBA
DQogIyAkSWQ6IE1ha2VmaWxlLHYgMS45IDIwMDQvMDMvMDIgMDA6NTk6MjIg
bWNncm9mIEV4cCAkDQogDQotS1ZFUgkgICAgICAgOj0gJChzaGVsbCB1bmFt
ZSAtcikNCi1LRElSICAgICAgICAgICA6PSAvbGliL21vZHVsZXMvJChLVkVS
KS9idWlsZA0KLUtNSVNDICAgICAgICAgIDo9IC9saWIvbW9kdWxlcy8kKEtW
RVIpL2tlcm5lbC9kcml2ZXJzL25ldC93aXJlbGVzcy9wcmlzbTU0Lw0KLUtF
WFQgIC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