packpack / packpack

Simple building of RPMs & Debian packages from git repos
Other
286 stars 54 forks source link

deb: pass DEBIAN_FRONTEND=noninteractive directly #142

Closed ylobankov closed 2 years ago

ylobankov commented 2 years ago

sudo preserves not all existing environment variables by default and that's why export DEBIAN_FRONTEND=noninteractive in the Makefile did not affect anything while installing build dependencies actually. To propagate this setting to sudo we should use the special arg (--preserve-env=DEBIAN_FRONTEND), but unfortunately it is missing on Debian < 10 and Ubuntu < 16.04 due to old sudo version.

So passing DEBIAN_FRONTEND=noninteractive directly.

Follows up #7