>> >> Signed-off-by: Miguel Flores Silverio
<floresmigu3l(a)gmail.com>
>> >> ---
>> >> scripts/fast-build.sh | 13 +++++++++++++
>> >> 1 file changed, 13 insertions(+)
>> >> create mode 100755 scripts/fast-build.sh
>> >
>> > You're busy eliminating pointless scripts, and then adding another one
in
>> > their place right here. :)
>>
>> Actually, this isn't pointless at all.
>>
>> > Just use the baseonly target in the spec, possibly with a patch to have
>> > that also disable tools building to get exactly what you were after here.
>> > Or add a target similar to baseonly for fastbuild.
>>
>> That could be done, but then people have to know all the various
>> rpmbuild switches. It's a pain. From a novice user experience, it's
>> very difficult to figure out. You have to know that target exists,
>> which means reading the spec, which means understanding the spec,
>> which is easy for you and I but is impossible as a _starting_ point.
>>
>> The purpose of the script is to give someone that just wants to build
>> a kernel without all the crap a very easy thing to run. The intended
>> user isn't us. It's so that we don't have to explain how to do it
>> over and over (or point people to a confusing wiki page) to people
>> that don't live in the kernel spec.
>
> Fair enough, though are people really needing to build custom kernels that
> often? (It's quite likely I'm out of touch with reality). :)
Need and desire are two different things. It's unknown if there is a
major need (I would think actually fewer minor/specific needs), but
many people are interested in doing so as a "dip the toe in the water"
exercise.
I know with my non x86 use cases I'm a well and truly excluded from
this usecase (although I have numerous aliases that basically achieve
the same thing).
But I'm finding I'm having to do even custom x86_64 kernel builds a
lot more recently in particular for newer Intel laptops to get decent
battery life (mjg's SATA patches) and I know others doing similar for
skylake laptops. I'm not sure how best to solve those sorts of issues
given it's mostly a problem with upstream but the script certainly has
a useful usecase for those without a general understanding of the
Fedora kernel spec feature options.
Peter