-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTRAIN_00313.eml
39 lines (31 loc) · 1.85 KB
/
TRAIN_00313.eml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
NoneNone> > So I've attached a patch to specify an alternate kernel by setting the
> > "TARGET_KERNEL" environment variable before running rpmbuild. You
> > still need to have the rpm for the specified kernel installed, but at
> > least it doesn't have to be currently running. It's kinda hackish, so
> > if someone has a better way to do this, let me know.
>
> That idea looks good although it maybe needs to be tweaked a bit more (what
> you sent doesn't support packages named "kernel-smp"). I'd also prefer a
> cleaner way than the env variable, and preferrably not editing the spec...
> probably "--define 'target 2.4.xx-xx' --with smp". Sound good enough?
> The BuildRequires on "kernel-source" will also need to be removed because
> it won't necessarily need to be true, and that does bug me a bit :-/
The "--define" is exactly what I was looking for! I was trying to
figure out a way to do it within the mechanism of rpm (like the
"--with" switches), but for some reason didn't think of using
"--define". My computer is currently gone for repairs, but once it's
back, I'll rewrite the specfile, add support for kernel-smp, and email
it to the list for further criticism :)
As far as requiring kernel-source, I don't feel it's a big problem. If
you're gonna go to the trouble of packaging custom kernels into rpms,
it's not a far stretch to package the source tree too (as I currently
do).
Also, I've found that the alsa-driver source needs a usb-related patch
to compile under the latest test kernels (2.4.20-preX). Are other
people seeing the same thing, or is this just a problem with my setup?
gary
P.S. If I didn't mention it before, thanks for the alsa packages! They
greatly simplified what used to take way too long before.
_______________________________________________
RPM-List mailing list <[email protected]>
http://lists.freshrpms.net/mailman/listinfo/rpm-list