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

wiki-admin at x2go.org wiki-admin at x2go.org
Tue Dec 12 15:21:59 CET 2017


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

Date        : 2017/12/12 14:21
Browser     : Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.2
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=1512660527
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Configuring the Build] added bootloader and bootloaderparamname variables
User        : stefanbaur

@@ -52,13 +52,24 @@
  # export LBX2GO_ARCH='-a i386 -k 686-pae'
  # 32-Bit, smallest memory footprint
  # export LBX2GO_ARCH='--architectures i386 --linux-flavours 586'
  
+ # detect if the selected git repo is meant to build a stretch or jessie image
  if [ -z "${LBX2GO_CONFIG##*-stretch}" ] ; then
          export LBX2GO_DEBVERSION="stretch"
          else
          export LBX2GO_DEBVERSION="jessie"
  fi
+ 
+ # newer versions of live-build
use the plural form of this parameter
+ if $(LANG=C lb config --help | grep -q bootloaders) ; then
+         export LBX2GO_BOOTLOADERPARAMNAME="--bootloaders"
+ else
+         export LBX2GO_BOOTLOADERPARAMNAME="--bootloader"
+ fi
+ 
+ # set boot loader type - leave this unchanged unless you really know what you're doing
+ export LBX2GO_BOOTLOADER="syslinux"
  
  # 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
@@ -74,8 +85,9 @@
                          --firmware-chroot true
                          --initsystem sysvinit
                          --security true
                          --updates true
+                         $LBX2GO_BOOTLOADERPARAMNAME $LBX2GO_BOOTLOADER
                          --distribution $LBX2GO_DEBVERSION"
  
  export LBX2GO_ARCHIVE_AREAS="main contrib non-free"
  


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



More information about the x2go-commits mailing list