(backported from main) apt_ostree.apt: change debconf for apt commands

Previously, only the "install" subcommand of "apt" command is executed with the following Debian configuration (debconf): DEBIAN_FRONTEND = noninteractive

This caused the installation of package "firmware-ivtv" to fail, because this package requires the user to accept a license agreement. I believe this Debian configuration will fail the installation of any package that requries interaction.

After this patch, the host Debian configuration in the environment variables are passed through with the following default values: - DEBIAN_FRONTEND (default "readline") - DEBIAN_PRIORITY (default "high")

Also, this Debian configuration is passed to any package operations like "apt purge" and "apt upgrade".

Signed-off-by: William Lyu William.Lyu@windriver.com

Note that these changes are backported from the main branch (see commits):

Merge request reports

Loading