This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
doc:howto:tce [2022/12/02 13:08] stefanbaur [Starting the Build] added comment to explain where the log file goes |
doc:howto:tce [2024/09/12 19:18] (current) stefanbaur [Starting the Build] added info output |
||
---|---|---|---|
Line 33: | Line 33: | ||
* Install the required package(s) by running: < | * Install the required package(s) by running: < | ||
* If you want to speed up subsequent builds, install the recommended package(s) by running: < | * If you want to speed up subsequent builds, install the recommended package(s) by running: < | ||
- | * If you want to be prepared to be able to cross-build across different architectures (e.g. building an ARM image on an Intel/AMD build host) - a feature coming soon - install the optional package(s) by running: < | + | * If you want to be prepared to be able to cross-build across different architectures (e.g. building an ARM image on an Intel/AMD build host) - a feature coming soon - install the optional package(s) by running: < |
===== Building your own X2Go-TCE Image ===== | ===== Building your own X2Go-TCE Image ===== | ||
Line 61: | Line 61: | ||
# Select ONE of the following git reposities | # Select ONE of the following git reposities | ||
# this one loosely corresponds to " | # this one loosely corresponds to " | ||
- | #export LBX2GO_CONFIG=' | + | #export LBX2GO_CONFIG=' |
- | #export LBX2GO_CONFIG=' | + | #export LBX2GO_CONFIG=' |
- | export LBX2GO_CONFIG=' | + | export LBX2GO_CONFIG=' |
- | #export LBX2GO_CONFIG=' | + | #export LBX2GO_CONFIG=' |
- | # this one loosely corresponds to " | + | #export LBX2GO_CONFIG=' |
- | #export LBX2GO_CONFIG=' | + | #export LBX2GO_CONFIG=' |
- | #export LBX2GO_CONFIG=' | + | # NOTES: 1) https:// |
- | #export LBX2GO_CONFIG=' | + | # 2) Minidesktop builds are work in progress and not production-ready. Cont(r)act us if you need them; feel free to submit patches. |
- | #export LBX2GO_CONFIG=' | + | # |
- | # NOTE: Add " | + | # |
- | # | + | # |
- | # | + | # add " |
# 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 | ||
Line 88: | Line 88: | ||
# If you want to use the stock ISO image as created by this script, add your boot parameters here | # If you want to use the stock ISO image as created by this script, add your boot parameters here | ||
# export LBX2GO_BOOTAPPEND_LIVE=" | # export LBX2GO_BOOTAPPEND_LIVE=" | ||
- | export LBX2GO_BOOTAPPEND_LIVE=" | + | export LBX2GO_BOOTAPPEND_LIVE=" |
if echo -e " | if echo -e " | ||
Line 114: | Line 114: | ||
export LBX2GO_DEBVERSION=" | export LBX2GO_DEBVERSION=" | ||
export LBX2GO_BOOTAPPEND_LIVE+=" | export LBX2GO_BOOTAPPEND_LIVE+=" | ||
+ | elif [ -z " | ||
+ | export LBX2GO_DEBVERSION=" | ||
+ | export LBX2GO_BOOTAPPEND_LIVE+=" | ||
+ | export LBX2GO_ARCHIVE_AREAS=" | ||
else | else | ||
export LBX2GO_DEBVERSION=" | export LBX2GO_DEBVERSION=" | ||
Line 183: | Line 187: | ||
fi | fi | ||
- | export LBX2GO_ARCHIVE_AREAS=" | + | export LBX2GO_ARCHIVE_AREAS=" |
# This is for minidesktop builds and currently only adds firefox-esr language packs | # This is for minidesktop builds and currently only adds firefox-esr language packs | ||
Line 192: | Line 196: | ||
# | # | ||
# | # | ||
- | if dpkg --print-architecture | grep -q ' | + | if dpkg --print-architecture |
# on arm, these parameters must not be used; if they' | # on arm, these parameters must not be used; if they' | ||
if grep -q -- '-Xbcj x86 -b 1024K -Xdict-size 1024K' / | if grep -q -- '-Xbcj x86 -b 1024K -Xdict-size 1024K' / | ||
Line 253: | Line 257: | ||
To add patches that aren't part of any package yet, you can use the directory ./patch/ for patches that should be added to all versions, and ./ | To add patches that aren't part of any package yet, you can use the directory ./patch/ for patches that should be added to all versions, and ./ | ||
- | You will need to create a directory structure like ./ | + | You will need to create a directory structure like < |
+ | |||
+ | e.g. to override < | ||
+ | < | ||
+ | # | ||
+ | |||
+ | # Copyright (C) 2010-2024 by X2Go project, https:// | ||
+ | # | ||
+ | # | ||
+ | # Mike Gabriel < | ||
+ | # | ||
+ | # | ||
+ | # X2Go is free software; you can redistribute it and/or modify | ||
+ | # it under the terms of the GNU General Public License as published by | ||
+ | # the Free Software Foundation; either version 2 of the License, or | ||
+ | # (at your option) any later version. | ||
+ | # | ||
+ | # X2Go is distributed in the hope that it will be useful, | ||
+ | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
+ | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
+ | # GNU General Public License for more details. | ||
+ | # | ||
+ | # You should have received a copy of the GNU General Public License | ||
+ | # along with this program; if not, write to the | ||
+ | # Free Software Foundation, Inc., | ||
+ | # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. | ||
+ | |||
+ | # make sure pulseaudio can be reached via TCP from the X2Go Server side... | ||
+ | if ! / | ||
+ | / | ||
+ | fi | ||
+ | |||
+ | # make sure we don't start before sessions and settings files exist - avoids race conditions | ||
+ | while ! [ -e ~x2gothinclient/ | ||
+ | sleep 1; | ||
+ | done | ||
+ | |||
+ | while ! [ -e ~x2gothinclient/ | ||
+ | sleep 1 | ||
+ | done | ||
+ | |||
+ | [ -s / | ||
+ | [ -s / | ||
+ | |||
+ | |||
+ | / | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | & | ||
+ | |||
+ | </ | ||
==== Starting the Build ==== | ==== Starting the Build ==== | ||
In the directory where you want to save your builds, save the following file as x2go-tce-build, | In the directory where you want to save your builds, save the following file as x2go-tce-build, | ||
Line 434: | Line 494: | ||
# original mksquashfs call into a file. | # original mksquashfs call into a file. | ||
- | if (uname -r | grep -q ' | + | if (uname -m | grep -q ' |
+ | echo "INFO: using host-architecture mksquashfs from outside instead of the target-architecture one inside chroot." | ||
# We need to do this as a background task, waiting for the mksquashfs executable to | # We need to do this as a background task, waiting for the mksquashfs executable to | ||
# appear in the changeroot; as the changeroot will only be created later on, once | # appear in the changeroot; as the changeroot will only be created later on, once | ||
Line 496: | Line 557: | ||
#needs switch from e.g. / | #needs switch from e.g. / | ||
sed -e " | sed -e " | ||
+ | ./ | ||
+ | # if the mksquashfs command was missing, add it | ||
+ | grep -q mksquashfs ./ | ||
+ | sed -e "s#^ #$(which mksquashfs) #g" -i \ | ||
./ | ./ | ||
# now let's make this executable | # now let's make this executable | ||
Line 987: | Line 1052: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | * '' | ||
* '' | * '' | ||
* '' | * '' | ||
Line 1004: | Line 1070: | ||
* '' | * '' | ||
+ | ===== Client Branding/ | ||
+ | It is possible to make X2Go-TCE-Live match your Corporate Design/ | ||
+ | This is actually a feature of X2GoClient itself, so it will also work on //fat client// installations, | ||
+ | |||
+ | {{: | ||
+ | |||
+ | You can find a more detailed explanation in the [[wiki: | ||
===== Querying X2Go-TCE version info ===== | ===== Querying X2Go-TCE version info ===== | ||
images built using the https:// | images built using the https:// |