logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Updated kernel-module-packaging example with ndiswrapper (Was: example : msg#00052

linux.redhat.fedora.extras.packaging

Subject: Re: Updated kernel-module-packaging example with ndiswrapper (Was: example kernel-module package)

On Mon, 2005-07-04 at 09:30 -0500, Tom 'spot' Callaway wrote:
> On Sun, 2005-07-03 at 21:01 +0200, Thorsten Leemhuis wrote:
>
> > > 1) create the debug-pkg ourself and don't rely on the internal rpm
> > > solution.
> > [...]
> > > If 1) is easy I'll vote for that.
> >
> > I tried, was not that hard (if I didn't miss anything). Results are
> > found at
> > http://www.leemhuis.info/files/fedorarpms/MISC.fdr/kernel-module-example/
> > in the wiki at
> > http://www.fedoraproject.org/wiki/Extras/KernelModuleProposal
>
> I like this approach the best.

I like that too, but the dilemma with the same-NEVR'd source rpm
persists. I'm not sure if it's a design goal or a design flaw, but the
little (ha!) pedant in me says it's the latter. To clarify:

- kernel-module-foo-1.0-1.src.rpm in repo
- check out the package from CVS, build for a new kernel
-> get another kernel-module-foo-1.0-1.src.rpm which != the original

What to do with the new source rpm? Discarding would be ugly, and
overwriting the existing srpm in the repo even uglier. Rebuilding from
an existing srpm in the repo would help (or just pretending it was done,
and discarding the new one :)).

Allowing the source rpm's NEVR to change between rebuilds as usual and
always shipping them would not have this problem at the (negligible
IMHO) cost of more disk space consumption. That approach would not need
any special -debuginfo treatment either.

In this scenario, we'd just need to figure out how we'd like the CVS
tags to be. Turning things upside down and explicitly specifying a
default %{kver} assignment in specfiles when new kernels are released (+
the smp etc variants each separately) and allowing local rebuilders
override it with a --define would solve that easily, with the added
benefit that the build system wouldn't have to know about passing any
special --defines to these builds. Whoever requests the builds would
just have to be able to specify the target architecture(s). As an
example, I've changed kernel-module-thinkpad in Extras CVS (devel) to do
the above (currently for the UP build).

Mmh, maybe I should just shut up about this now :). Does the above make
any sense?

> The only change is that the -debuginfo
> package needs to Require: kernel-module-%{mainpkgname} (its not any good
> without it).

Note: -debuginfo packages created the usual way don't have that
dependency. But that's probably because it could be hard to implement
in the automagic that generates them nowadays. If such a dependency
would be added, it should be fully versioned, though.

> As to location, I'm very inclined to standardize on:
> /lib/modules/%{kver}/extra/%{mainpkgname}

Works for me.



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
krysalis.sandbo...    web.zope.zwiki/...    gnome.apps.gnum...    xfree86.newbie/...    editors.vim/200...    mozilla.enigmai...    boot-loaders.gr...    network.vnc.ult...    redhat.release....    java.geronimo.u...    os.netbsd.devel...    horde.wicked/20...    linux.lsb.discu...    ietf.ips/2005-0...    alsa.devel/2002...    user-groups.lin...    package-managem...    debian.devel.da...    security.cyrus....    video.gstreamer...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation