Jeremy Higgs wrote:
> Thanks. I had a look at it, and it looks fine, except that I currently use
> make-kpkg to compile and package the kernel, and this seems to not use that.
> That isn't really a problem, except that I have other modules which need to
> be compiled (nvidia drivers and lirc modules), which I don't think can
> really be done manually (plus I like the ability to remove them via dpkg...)
> 
> Is there a way I can work around that?

I'd need to start using make-kpkg, I suspect, and add that option to
the script. AlsaBuild is as "dumb" as possible so it does not depend
on a Debian system. The only two things that are different are where
the actual kernel gets placed and where the kernel modules go, so there
are only two points of divergence... and as far as I know, no other
packages actually depends on any particular kernel package being
installed, so you concern about removing the right kernel and modules
is minimal. A kernel will be in / or /boot and all kernel modules for
all kernel versions will be in /lib/modules.. pretty easy to manage
manually without upsetting the rest of your system.

I have not used make-kpkg for quite some time but if it invokes either
"make menuconfig" or "make xconfig", so you can chose whatever modules
to build along with the kernel, then AlsaBuild will do the same. You
can rescue one of your /boot/config-"version" files and copy it to
/usr/src/config to work with AlsaBuild so you do not have to reselect
a whole bunch of kernel options from scratch.

I hesitate to add make-kpkg because the script is already getting too
complex for those who have never, or hardly ever, compiled a kernel
before... and then I'd be compelled to add a RedHat section, then a
Slackware and Gentoo and... yuck. All quite doable but AlsaBuild would
no longer be a "simple" script and it's meant to be a point of reference
every bit as much as a functional shell script.

Of course we could always do with an AlsaBuildDebian script !?...
then maybe someone might contribute an AlsaBuildRedhat version and...
All you or anyone need do is test this new script, using AlsaBuild as
a starting point, when working, then go to this URL (for example)...

  http://alsa.opensrc.org/?AlsaBuildDebian
  click "Edit this document"
  add some comments plus "<code> </code>"
  paste your script between the "<code>" and "</code>" parts

That's it. Published for your peers to review and try out :-)

--markc



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to