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

wiki-admin at x2go.org wiki-admin at x2go.org
Mon Nov 20 19:07:12 CET 2017


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

Date        : 2017/11/20 18:07
Browser     : Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.0
IP-Address  : 134.3.37.90
Hostname    : HSI-KBW-134-3-37-90.hsi14.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1511186972
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Configuring the Build] add support for stretch builds and default to feature/openbox-magic-pixel-workaround
User        : stefanbaur

@@ -38,39 +38,47 @@
  ==== Configuring the Build ====
  <code>
  # 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-with-magic-pixel-workaround'
+ # 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'
  # this one loosely corresponds to "heuler"
- #export LBX2GO_CONFIG='https://github.com/LinuxHaus/live-build-x2go::feature/openbox-with-magic-pixel-workaround'
+ #export LBX2GO_CONFIG='https://github.com/LinuxHaus/live-build-x2go::feature/openbox-magic-pixel-workaround'
+ # NOTE: Add "-stretch" to the end of the LBX2GO_CONFIG string to create a stretch build
  
- # Select ONE of the following LBX2GO_ARCH lines and comment out the others 
+ # Select ONE of the following LBX2GO_ARCH lines and comment out the others
  # (feel free to use long or short options)
  # for 64-Bit builds, use:
- # export LBX2GO_ARCH='-a amd64 -k amd64' 
+ export LBX2GO_ARCH='-a amd64 -k amd64'
  # 32-Bit, larger memory footprint, but faster performance on i686 and newer
  # export LBX2GO_ARCH='-a i386 -k 686-pae'
  # 32-Bit, smallest memory footprint
- export LBX2GO_ARCH='--architectures i386 --linux-flavours 586'

+ # export LBX2GO_ARCH='--architectures i386 --linux-flavours 586'
+ 
+ if [ -z "${LBX2GO_CONFIG##*-stretch}" ] ; then
+         export LBX2GO_DEBVERSION="stretch"
+         else
+         export LBX2GO_DEBVERSION="jessie"
+ fi
  
  # These options are meant to reduce the image size.
  # Feel free to adapt them after consulting "man lb_config"
  export LBX2GO_SPACE='--apt-indices none
                       --apt-recommends false
-                      --cache false 
+                      --cache false
                       --checksums none
                       --firmware-binary false
                       --memtest none
                       --win32-loader false'
  
  # These are default values that should not require tuning
- export LBX2GO_DEFAULTS='--backports true
+ export LBX2GO_DEFAULTS="--backports true
                          --firmware-chroot true
                          --initsystem sysvinit
                          --security true
                         
--updates true
-                         --distribution jessie'
- # you can create stretch builds by appending ''-stretch'' (no leading blank) to LBX2GO_CONFIG and changing jessie to stretch here.
+                         --distribution $LBX2GO_DEBVERSION"
  
  export LBX2GO_ARCHIVE_AREAS="main contrib non-free"
  
  # This is to optimize squashfs size, based on a suggestion by intrigeri from the TAILS team
@@ -88,9 +96,9 @@
  # When using iPXE, you can use http instead of TFTP.
  # This is especially helpful if you want to netboot via http and cannot use the server's IP, but must specify a DNS name - as "fetch=..." only understands IPs.
  export LBX2GO_NOSQUASHFS="false"
  
- # Select ONE of the following LBX2GO_IMAGETYPE lines and comment out the others 
+ # Select ONE of the following LBX2GO_IMAGETYPE lines and comment out the others
  # to create an iso image:
  # export LBX2GO_IMAGETYPE='iso'
  # to create an iso image that can also be dd'ed to USB media:
  # export
LBX2GO_IMAGETYPE='iso-hybrid'
@@ -101,9 +109,8 @@
  # in a "build failed" message, even though the build might have worked):
  # export LBX2GO_IMAGETYPE='hdd'
  # to create a tar file only (seems to be broken in live-build):
  # export LBX2GO_IMAGETYPE='tar'
- 
  </code>
  
  ==== Live-Patching the Build ====
  This patch is required if you need USB mount capability on the ThinClient while [[http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1136|Bug #1136]] is still unresolved.


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



More information about the x2go-commits mailing list