Hi Samuel Am 25.04.20 um 16:37 schrieb Samuel Henrique: > But it doesn't works with: > override_dh_auto_configure: > dh_auto_configure -prsync-udeb -- --with-included-zlib=yes > --disable-acl-support
dh_auto_configure does not act on binary packages > dh_auto_configure --remaining-packages -- --with-included-zlib=yes > > Which leads me to believe that dh_auto_build is using the configure > artifacts from the main package instead of the one made with > "-prsync-udeb", I confirmed adding "--disable-acl-support" to > "--remaining-packages" makes both the udeb and the deb not depend on > libacl. > > This means "--disable-acl-support" is fine, what I'm missing is > something on the DH side that needs to be fixed in d/rules. Right, it doesn't work this way. dh's support for build flavors is very limited to non-existent. If you want to compile a package with different flavors, you need to do that manually. If you want to see an example, have a look https://salsa.debian.org/systemd-team/systemd/-/blob/debian/master/debian/rules See how override_dh_auto_configure, override_dh_auto_build and override_dh_auto_install are overridden to configure, build and install a minimal (udeb) flavor and an regular flavor.
signature.asc
Description: OpenPGP digital signature

