Post #2444351
2026-04-07 16:52 UTC
@josch@floss.social I think the positive options are only needed to override sbuild.conf, though, right? (Or to cross-build arch:all packages, but that's not a sensible thing to try.)
You could implement the dpkg-buildpackage --build option as well as --build arch since the two sets of valid arguments should be disjoint, but overloading the option that way would be messy and probably confusing.
Replies (1)
-
@josch@floss.social 2026-04-07 18:28
@bwh@tech.lgbt Both positive and negative options override the default or whatever the user set in the sbuild config, yes. Yes, I think it would be confusing to overload the meaning of --build. On the other hand, I also got confused in the past by --build being the option to set the build architecture. It makes me think of "building stuff" instead of the architecture of the same name... I'll keep thinking about this. I'd like to improve this somehow in sbuild.