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

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



Am 18.07.25 um 23:17 schrieb Josh Triplett:
Marc Haber wrote:
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.

Is there a reason to have multiple source packages, rather than having
one source package that builds multiple binaries?

You could store all the config files in debian/, iterate over them, and
build and install the files for the corresponding linux-image binary
package.

I'd probably also use a single source package and use build profiles. Like say pkg.linux.desktop, pkg.linux.server,pkg.linux.notebook,pkg.linux.vm etc. This way you could build a subset of binary packages via
dpkg-buildpackage -Ppkg.linux.desktop,pkg.linux.server,...

Regards,
Michael

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: