[debian-edu-commits] debian-edu/ 01/03: 015-edu-apt-source: fix apt-get options to be able to use 'file://' type repo.

Wolfgang Schweer schweer-guest at moszumanska.debian.org
Sat Oct 14 17:44:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

schweer-guest pushed a commit to branch master
in repository debian-edu-config.

commit 2278d78bdb9df4a50ca4734424a50939a6e91cfe
Author: Wolfgang Schweer <wschweer at arcor.de>
Date:   Sat Oct 14 18:52:48 2017 +0200

    015-edu-apt-source: fix apt-get options to be able to use 'file://' type repo.
    
    As 'media/cdrom/' in the LTSP chroot is treated as such a repo, add
    'acquire::check-valid-until=0' to APT_GET_OPTS.
---
 share/ltsp/plugins/ltsp-build-client/Debian-custom/015-edu-apt-source | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/ltsp/plugins/ltsp-build-client/Debian-custom/015-edu-apt-source b/share/ltsp/plugins/ltsp-build-client/Debian-custom/015-edu-apt-source
index f66e443..d61766f 100644
--- a/share/ltsp/plugins/ltsp-build-client/Debian-custom/015-edu-apt-source
+++ b/share/ltsp/plugins/ltsp-build-client/Debian-custom/015-edu-apt-source
@@ -7,7 +7,7 @@ case "$MODE" in
             echo "Detected CD install, disabling APT repository checking."
             LTSP_CDROM_INSTALL=true
             APT_GET_OPTS="$APT_GET_OPTS \
-                           --allow-unauthenticated"
+                           --allow-unauthenticated -o acquire::check-valid-until=0"
             # Make sure LTSP use a local repository if it is used by
             # the system too.  FIXME Should really check the CD for list
             # of components.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-config.git



More information about the debian-edu-commits mailing list