FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS Development

 
 
LinkBack Thread Tools
 
Old 12-04-2008, 03:41 PM
Farkas Levente
 
Default new weak-updates kmods

hi,
currently all new kmods which use the weak-updates can be patched as:
----------------------------------------------
@@ -1,7 +1,6 @@
-Source10: kmodtool
Source11: find-requires
Source12: find-requires.ksyms
-%define kmodtool bash %{SOURCE10}
+%define kmodtool bash /usr/lib/rpm/redhat/kmodtool
----------------------------------------------
and add:
BuildRequires: redhat-rpm-config
in this way don't need to add the kmodtool to all srpms and would be
cleaner.

ps. just my 2c.

--
Levente "Si vis pacem para bellum!"
_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
 
Old 12-04-2008, 04:08 PM
Ned Slider
 
Default new weak-updates kmods

Farkas Levente wrote:
> hi,
> currently all new kmods which use the weak-updates can be patched as:
> ----------------------------------------------
> @@ -1,7 +1,6 @@
> -Source10: kmodtool
> Source11: find-requires
> Source12: find-requires.ksyms
> -%define kmodtool bash %{SOURCE10}
> +%define kmodtool bash /usr/lib/rpm/redhat/kmodtool
> ----------------------------------------------
> and add:
> BuildRequires: redhat-rpm-config
> in this way don't need to add the kmodtool to all srpms and would be
> cleaner.
>
> ps. just my 2c.
>

How do you add Requires for the kmod-<package> if you don't have them in
a custom kmodtool script?

I seem to remember when I added Requires to the SPEC file for the kmod's
I tried to build they were ignored. Is there a more convenient/correct
way to pass Requires from a SPEC file to the kmodtool script?

Ned

_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
 
Old 12-04-2008, 04:24 PM
Farkas Levente
 
Default new weak-updates kmods

Ned Slider wrote:
> Farkas Levente wrote:
>> hi,
>> currently all new kmods which use the weak-updates can be patched as:
>> ----------------------------------------------
>> @@ -1,7 +1,6 @@
>> -Source10: kmodtool
>> Source11: find-requires
>> Source12: find-requires.ksyms
>> -%define kmodtool bash %{SOURCE10}
>> +%define kmodtool bash /usr/lib/rpm/redhat/kmodtool
>> ----------------------------------------------
>> and add:
>> BuildRequires: redhat-rpm-config
>> in this way don't need to add the kmodtool to all srpms and would be
>> cleaner.
>>
>> ps. just my 2c.
>>
>
> How do you add Requires for the kmod-<package> if you don't have them in
> a custom kmodtool script?
>
> I seem to remember when I added Requires to the SPEC file for the kmod's
> I tried to build they were ignored. Is there a more convenient/correct
> way to pass Requires from a SPEC file to the kmodtool script?

imho these two scripts are identical:-)

--
Levente "Si vis pacem para bellum!"
_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
 

Thread Tools




All times are GMT. The time now is 07:46 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org