[elbe-devel] [PATCH 0/1] Fix noauth for pbuilder
dion at linutronix.de
dion at linutronix.de
Fri Jul 19 15:41:45 CEST 2019
From: Olivier Dion <dion at linutronix.de>
pbuilder as a nasty behavior of defining default values in its *rc*
file. The default append the --force-check-gpg in the DEBOOTSTRAPOPTS
environ variable. This is in conflict with the --no-check-gpg append
when <noauth> is set in the project's XML.
According to debootstrap(8):
----------------------------------------------------------------------
--no-check-gpg
Disables checking gpg signatures of retrieved Release files.
--force-check-gpg
Forces checking Release file signatures, disabling automatic
fallback to HTTPS in case of a missing keyring. Incompatible
with the previous option.
----------------------------------------------------------------------
Of course, debootstrap doesn't just overwrite the previous option like
any sane program but decides to just emit an error message stating
that these are in conflict and will fail, thus pbuilder will also
failed.
Thus this patch removes the --force-check-gpg from the DEBOOTSTRAPOPTS
environ when <noauth> is set. This is a workaround for now but we
might have surprises in the future if we don't do something about it.
Olivier Dion (1):
Remove --force-check-gpg from DEBOOTSTRAPOPTS when <noauth>
elbepack/pbuilder.py | 1 +
1 file changed, 1 insertion(+)
--
2.11.0
More information about the elbe-devel
mailing list