summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_apt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:09 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:05:09 +0200
commitf0712b2f79ae4a23146a088624fe48aed7c02cca (patch)
treed7facbbbf53b1a5bc0fa92f671f5b1e29a7e3200 /helpers/lh_chroot_apt
parentafe37cce9356e0284db08134781e3a0da375c35d (diff)
downloadvyos-live-build-f0712b2f79ae4a23146a088624fe48aed7c02cca.tar.gz
vyos-live-build-f0712b2f79ae4a23146a088624fe48aed7c02cca.zip
Adding live-helper 1.0~a10-1.
Diffstat (limited to 'helpers/lh_chroot_apt')
-rwxr-xr-xhelpers/lh_chroot_apt2
1 files changed, 2 insertions, 0 deletions
diff --git a/helpers/lh_chroot_apt b/helpers/lh_chroot_apt
index c7cce8906..97d70879b 100755
--- a/helpers/lh_chroot_apt
+++ b/helpers/lh_chroot_apt
@@ -94,10 +94,12 @@ case "${1}" in
case "${LH_APT_SECURE}" in
enabled)
echo "APT::Get::AllowUnauthenticated \"true\";" > chroot/etc/apt/apt.conf.d/00secure
+ echo "Aptitude::CmdLine::Ignore-Trust-Violations \"false\";" >> chroot/etc/apt/apt.conf.d/00secure
;;
disabled)
echo "APT::Get::AllowUnauthenticated \"false\";" > chroot/etc/apt/apt.conf.d/00secure
+ echo "Aptitude::CmdLine::Ignore-Trust-Violations \"true\";" >> chroot/etc/apt/apt.conf.d/00secure
;;
esac