A page in your DokuWiki was added or changed. Here are the details:
Date : 2016/12/14 22:07
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=1481752957
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Building your own netbootable X2Go-TCE image]
User : stefanbaur
@@ -62,24 +62,31 @@
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'
- if [ -z "$LBX2GO_ARCH" ] || \
- [ -z "$LBX2GO_SPACE" ] || \
- [ -z "$LBX2GO_CONFIG" ] || \
- [ -z "$LBX2GO_DEFAULTS" ] || \
- [ -z "$LBX2GO_IMAGETYPE" ] ; then
+ # Create Timestamp
+ LBX2GO_TIMESTAMP=./live-build-x2go-$(date +"%Y%m%d%H%M%S")
+
+ # Set Directory name
+
LBX2GO_TCEDIR=./live-build-x2go-$LBX2GO_TIMESTAMP
+
+ if [ -z "$LBX2GO_ARCH" ] ||
+ [ -z "$LBX2GO_SPACE" ] ||
+ [ -z "$LBX2GO_CONFIG" ] ||
+ [ -z "$LBX2GO_DEFAULTS" ] ||
+ [ -z "$LBX2GO_IMAGETYPE" ] ||
+ [ -z "$LBX2GO_TIMESTAMP" ] ; 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}'"
+ echo -e "LBX2GO_TIMESTAMP: '${LBX2GO_TIMESTAMP}'"
echo -e "Please visit http://wiki.x2go.org/doku.php/doc:howto:tce"
echo -e "and read up on the general prerequisites for X2Go-TCE"
else
# This will create a timestamped subdirectory for the build
- LBX2GO_TCEDIR=./live-build-x2go-$(date +"%Y%m%d%H%M%S")
mkdir -p $LBX2GO_TCEDIR
cd $LBX2GO_TCEDIR
lb config $LBX2GO_ARCH
$LBX2GO_SPACE $LBX2GO_DEFAULTS \
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2016/12/14 22:02
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=1481752511
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Building your own netbootable X2Go-TCE image]
User : stefanbaur
@@ -73,16 +73,19 @@
echo -e "LBX2GO_SPACE: '${LBX2GO_SPACE}'"
echo -e "LBX2GO_DEFAULTS: '${LBX2GO_DEFAULTS}'"
echo -e "LBX2GO_CONFIG: '${LBX2GO_CONFIG}'"
echo -e "LBX2GO_IMAGETYPE: '${LBX2GO_IMAGETYPE}'"
+ echo -e "Please visit http://wiki.x2go.org/doku.php/doc:howto:tce"
+ echo -e "and read up on the general prerequisites for X2Go-TCE"
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
+ LBX2GO_TCEDIR=./live-build-x2go-$(date +"%Y%m%d%H%M%S")
+ mkdir -p $LBX2GO_TCEDIR
+ cd $LBX2GO_TCEDIR
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
+ --config $LBX2GO_CONFIG --binary-images $LBX2GO_IMAGETYPE
+ lb build && echo -e "Build is done: '$LBX2GO_TCEDIR'"
+ lb clean
+ cd ..
fi
</code>
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2016/12/14 21:55
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=1481751549
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Build system prerequisites for all variants]
User : stefanbaur
@@ -39,14 +39,14 @@
# These options are meant to reduce the image size.
# Feel free to adapt them after consulting "man lb_config"
export LBX2GO_SPACE='--checksums none --apt-indices none --cache false
--apt-recommends false --win32-loader false --memtest none
- --firmware-binary false --initramfs-compression lzma'
+ --initramfs-compression lzma'
# These are default values that should not require tuning
export
LBX2GO_DEFAULTS='--initsystem sysvinit --security true --updates true
- --firmware-chroot true --backports true
- --archive-areas main contrib non-free'
+ --firmware-chroot true --firmware-binary true
+ --backports true --archive-areas main contrib non-free'
</code>
===== Netbooting =====
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2016/12/14 21:39
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=1481751086
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Build system prerequisites for all variants]
User : stefanbaur
@@ -44,9 +44,9 @@
# These are default values that should not require tuning
export LBX2GO_DEFAULTS='--initsystem sysvinit --security true --updates true
--firmware-chroot true --backports true
- --archive-areas "main contrib non-free"'
+ --archive-areas main contrib non-free'
</code>
===== Netbooting =====
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2016/12/14 21:28
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=1481750752
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Build system prerequisites for all variants]
User : stefanbaur
@@ -43,9 +43,9 @@
--firmware-binary false --initramfs-compression lzma'
# These are default values that should not require tuning
export LBX2GO_DEFAULTS='--initsystem sysvinit --security true --updates true \
- --firmware-chroot true --backports true
+ --firmware-chroot true --backports true \
--archive-areas "main contrib non-free"'
</code>
===== Netbooting =====
--
This mail
was generated by DokuWiki at
http://wiki.x2go.org/
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=1481750709
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Build system prerequisites for all variants]
User : stefanbaur
@@ -23,8 +23,11 @@
* We suggest leaving at least 4 GB of free disk space so the build won't abort due to insufficient disk space.
* Make sure your package list is up to date by running: <code>sudo apt-get update </code>
* Install the required packages by running: <code>sudo apt-get install git-core live-build live-config-doc live-manual-html live-boot-doc</code>
* export the following variables:<code>
+ # Point this to the git repository you wish to use
+ export
LBX2GO_CONFIG='http://git-server-and-project::branch'
+
# 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'
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
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/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2016/12/14 21:17
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=1481750053
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Building your own netbootable X2Go-TCE image]
User : stefanbaur
@@ -58,33 +58,17 @@
=== Starting the build ===
Change to a directory where you want to save your builds, and run the following commands:<code>
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
# 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
-
-
# 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:
- # LBX2GO_ARCH='-a amd64 -k amd64'
- # 32-Bit, larger memory footprint, but faster performance on i686 and newer
- # LBX2GO_ARCH='-a i386 -k 686-pae'
- # 32-Bit, smallest memory footprint
- LBX2GO_ARCH='--architectures i386 --linux-flavours 586'
-
- # These options are meant to reduce the image size.
- # Feel free to adapt them after consulting "man lb_config"
- LBX2GO_SPACE='--checksums none --apt-indices none --cache false --memtest none \
- --apt-recommends false --win32-loader false --firmware-binary false \
- --initramfs-compression lzma'
-
- LBX2GO_DEFAULTS='--archive-areas "main contrib non-free" --updates true \
- --firmware-chroot true --backports true --security true --initsystem sysvinit'
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
</code>
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2016/12/14 21:14
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=1481750029
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Build system prerequisites for all variants]
User : stefanbaur
@@ -42,8 +42,9 @@
# These are default values that should not require tuning
export LBX2GO_DEFAULTS='--initsystem sysvinit --security true --updates true \
--firmware-chroot true --backports true
--archive-areas "main contrib non-free"'
+ </code>
===== Netbooting =====
==== Prerequisites ====
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/