[X2Go-Commits] [[X2Go Wiki]] page changed: doc:howto:tce

wiki-admin at x2go.org wiki-admin at x2go.org
Tue Sep 17 12:36:09 CEST 2019


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2019/09/17 10:36
Browser     : Mozilla/5.0 (X11; Linux x86_64; rv:60.9) Gecko/20100101 Goanna/4.4 Firefox/60.9 PaleMoon/28.7.1
IP-Address  : 109.193.81.67
Hostname    : HSI-KBW-109-193-081-067.hsi7.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1568714088
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Configuring the Build] added simple check for apt-cacher-ng
User        : stefanbaur

@@ -36,8 +36,21 @@
  ==== Configuring the Build ====
  Change to a directory where you want to save your builds, and save the following file as x2go-tce-config:
  <code>
  # NOTE: This file gets sourced by the actual buildscript - so place it in the same directory as the buildscript or adjust the path in the buildscript.
+ 
+ # simple check for apt-cacher-ng being active - if
+ # we have a successful connect on port 3142, assume
+ # it's apt-cacher-ng
and use it
+ 
+ if nc -z 127.0.0.1 3142 ; then 
+ 	export https_proxy=http://127.0.0.1:3142/ 
+ 	export http_proxy=http://127.0.0.1:3142/
+ 	export ftp_proxy=http://127.0.0.1:3142/
+ 
+ 	export LB_APT_FTP_PROXY=$ftp_proxy
+ 	export LB_APT_HTTP_PROXY=$http_proxy
+ fi
  
  # Select ONE of the following git reposities
  # this one loosely corresponds to "stable"
  #export LBX2GO_CONFIG='git://code.x2go.org/live-build-x2go.git::feature/openbox-magic-pixel-workaround-buster'


-- 
This mail was generated by DokuWiki at
https://wiki.x2go.org/



More information about the x2go-commits mailing list