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

Date        : 2016/12/14 21:25
Browser     : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 
Firefox/45.0
IP-Address  : 78.43.90.159
Hostname    : HSI-KBW-078-043-090-159.hsi4.kabel-badenwuerttemberg.de
Old Revision: http://wiki.x2go.org/doku.php/doc:howto:tce?rev=1481750256
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Building your own netbootable X2Go-TCE image] User : stefanbaur

@@ -56,19 +56,30 @@
 ==== Building your own netbootable X2Go-TCE image ====
=== Starting the build ===
 Change to a directory where you want to save your builds, and run the following 
commands:<code>
+ # Set everything up for netboot-image creation
 LBX2GO_IMAGETYPE='netboot'
- LBX2GO_CONFIG='http://git-server-and-project::branch'
- # TODO: check that ${LBX2GO_ARCH}${LBX2GO_SPACE}${LBX2GO_DEFAULTS}${LBX2GO_CONFIG}${LBX2GO_IMAGETYPE} are all set
+ if [ -z "$LBX2GO_ARCH" ] || \
+ [ -z "$LBX2GO_SPACE" ] || \
+    [ -z "$LBX2GO_CONFIG" ] || \
+    [ -z "$LBX2GO_DEFAULTS" ] || \
+    [ -z "$LBX2GO_IMAGETYPE" ] ; then
+     echo -e "One or more of the following variables is unset:"
+     echo -e "LBX2GO_ARCH: '${LBX2GO_ARCH}'"
+     echo -e "LBX2GO_SPACE: '${LBX2GO_SPACE}'"
+     echo -e "LBX2GO_DEFAULTS: '${LBX2GO_DEFAULTS}'"
+     echo -e "LBX2GO_CONFIG: '${LBX2GO_CONFIG}'"
+     echo -e "LBX2GO_IMAGETYPE: '${LBX2GO_IMAGETYPE}'"
+ else
+     # This will create a timestamped subdirectory for the build
+ DIR=./live-build-x2go-$(date +"%Y%m%d%H%M%S") + mkdir -p $DIR
+     cd $DIR
- # This will create a timestamped subdirectory for the build - DIR=./live-build-x2go-$(date +"%Y%m%d%H%M%S") - mkdir -p $DIR
- cd $DIR
- - lb config $LBX2GO_ARCH $LBX2GO_SPACE $LBX2GO_DEFAULTS \
- --config $LBX2GO_CONFIG --binary-images $LBX2GO_IMAGETYPE
- lb build
- lb clean # optional command to clean up afterwards -> saves some space
+     lb config $LBX2GO_ARCH
$LBX2GO_SPACE $LBX2GO_DEFAULTS \
+     --config $LBX2GO_CONFIG --binary-images $LBX2GO_IMAGETYPE
+     lb build
+     lb clean # optional command to clean up afterwards -> saves some space
+ fi
 </code>


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

_______________________________________________
x2go-commits mailing list
[email protected]
http://lists.x2go.org/listinfo/x2go-commits

Reply via email to