[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building multiple flavors of a package with a HUGE upstream



On Fri, 2025-07-18 at 22:16 +0200, Marc Haber wrote:
> Hi,
> 
> I would like to re-work my linux kernel building process and would like 
> to do it right this time: Build a clean source package that dak and 
> sbuild will accept. I do not plan to upload this to Debian, but I think 
> that we all can learn from some discussion.
> 
> I would like to build differnt "flavors", lets call them linux-server, 
> linux-vm, linux-desktop and linux-notebook. But I'd like to have them 
> from - at least - the same .orig.tar.gz, just for the reason that this 
> file is about 150 MB large.
[...]

You can build a linux-source-<version> binary package (or use the ones
Debian already builds) and then build-depend on that in your per-
configuration source packages.

You can also do most of this as a derivative version of src:linux.  We
don't define a profile for building a single flavour (and I think that
would get out of hand), but if you only need that option for development
purposes the debian/bin/test-patches script shows how to do that.

Ben.

-- 
Ben Hutchings
It is impossible to make anything foolproof
because fools are so ingenious.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: