A page in your DokuWiki was added or changed. Here are the details:
Date : 2019/09/18 19:36
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:60.9) Gecko/20100101 Goanna/4.4 Firefox/60.9 PaleMoon/28.7.1
IP-Address : 109.193.81.67
Hostname : HSI-KBW-109-193-081-067.hsi7.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1568835336
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Configuring the Build] removed superfluous …
[View More]# sign, probably vim or wiki autocomplete going crazy
User : stefanbaur
@@ -42,9 +42,9 @@
# simple check for apt-cacher-ng being active - if
# we have a successful connect on port 3142, assume
# it's apt-cacher-ng and use it
- #
+
if nc -z 127.0.0.1 3142 ; then
# bad idea with apt-cacher-ng, but will work with e.g. squid
# export https_proxy=http://127.0.0.1:3128/
# export http_proxy=http://127.0.0.1:3128/
--
This mail was generated by DokuWiki
at
https://wiki.x2go.org/
[View Less]
A page in your DokuWiki was added or changed. Here are the details:
Date : 2019/09/18 19:35
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:60.9) Gecko/20100101 Goanna/4.4 Firefox/60.9 PaleMoon/28.7.1
IP-Address : 109.193.81.67
Hostname : HSI-KBW-109-193-081-067.hsi7.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1568835286
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Configuring the Build] added some double …
[View More]quotes (stylefix)
User : stefanbaur
@@ -95,9 +95,9 @@
export LBX2GO_BOOTLOADERPARAMNAME="--bootloader"
fi
# set boot loader type - leave this unchanged unless you really know what you're doing
- if echo $LBX2GO_ARCH | awk '{print $2}' | grep -q "arm" ; then
+ if echo "$LBX2GO_ARCH" | awk '{print $2}' | grep -q "arm" ; then
# This is part of our experimental ARM support
LBX2GO_BOOTLOADERPARAMNAME=" "
LBX2GO_BOOTLOADER=" "
else
--
This mail was generated
by DokuWiki at
https://wiki.x2go.org/
[View Less]
A page in your DokuWiki was added or changed. Here are the details:
Date : 2019/09/18 19:31
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:60.9) Gecko/20100101 Goanna/4.4 Firefox/60.9 PaleMoon/28.7.1
IP-Address : 109.193.81.67
Hostname : HSI-KBW-109-193-081-067.hsi7.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1568834946
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Starting the Build] updated script for …
[View More]experimental ARM support
User : stefanbaur
@@ -273,16 +273,127 @@
echo 'rm -rf ./usr/share/man/*' >>./config/hooks/0112-remove-folders.hook.chroot
[ "$LBX2GO_IMAGETYPE" != "netboot" ] && echo 'rm -rf ./var/lib/apt/lists/*' >>./config/hooks/0112-remove-folders.hook.chroot
chmod 755 ./config/hooks/0112-remove-folders.hook.chroot
fi
+
+ if [ -n "$LB_APT_HTTP_PROXY" ] || [ -n "$LB_APT_FTP_PROXY" ]; then
+ echo "NOTICE: apt proxy variable(s)
is/are set."
+ echo "NOTICE: Trying to use the proxy for all downloads."
+ echo "NOTICE: If this fails, look for #SETPROXY in the $0 source."
+ # Here, we should have reached a point where it is safe to point all proxy variables
+ # at the apt-cacher-ng proxy. If you're seeing errors during your build that hint
+ # at files not being downloaded, disable these three entries.
+ export https_proxy=$LB_APT_HTTP_PROXY
+ export http_proxy=$LB_APT_HTTP_PROXY
+ export ftp_proxy=$LB_APT_FTP_PROXY
+ fi
+
+ # This is a crude hack to detect crossbuilds for ARM on Intel/AMD hardware.
+ # It makes some necessary changes, and also tries to speed up squashfs creation.
+ if (uname -r | grep -q 'i.86' || uname -r | grep -q 'amd64') && \
+ echo "$LB_X2GO_ARCH" | grep -q 'arm'; then
+
+ # This command removes all references to fuseext and x2gothinclient from the
+ # package list files. Currently needed as
there are no ARM packages for either.
+ echo "WARNING: Removing all references to fuseext and x2gothinclient from the build."
+ sed -e 's/^.*fuseext.*$//g' -e 's/^.*x2gothinclient.*$//g' -i ./config/package-lists/*
+
+ # This command removes the X2Go repository from the directory where additional
+ # archives are stored. Currently needed as the X2Go repository offers no arm64
+ # packages, but Debian Buster does - so that's what we're falling back to.
+ echo "WARNING: Removing all references to the X2Go repository from the build."
+ rm ./config/archives/*x2go*
+
+ # The following is a hack to reduce squashfs creation time. We're replacing mksquashfs
+ # in the changeroot environment with a wrapper script that drops the original
+ # mksquashfs call into a file.
+
+ # 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
+ # lb build is called.
+
+ # The other background task waits until the command file has been created, then
+ # it applies some necessary patches to it, and starts the mksquashfs command natively
+ # on the build host, rather than in the changeroot environment.
+ # This is because in the changeroot, we'd be running the ARM mksquashfs in a qemu
+ # software emulation of the ARM architecture, while on the host, we can use all the
+ # native, raw CPU power and cores available to us.
+
+ # To make sure we don't have any lingering processes in the background, we're passing
+ # our own PID along to the background tasks, and tell them to terminate if our PID
+ # disappears while they're still in their waiting/looping state.
+
+ MASTERPID=$$
+
+ # Replace mksquashfs in chroot with script
+ # (script will undo this upon completion)
+
(
+ # wait until the chroot has been populated or until our parent process dies
+ while ! [ -x ./chroot/usr/bin/mksquashfs ]; do
+ ps $MASTERPID >/dev/null || exit 1
+ sleep 1
+ done
+ # make sure we don't overwrite the real executable if it has already been
+ # moved out of the way
+ if ! [ -x ./chroot/usr/bin/mksquashfs.real ]; then
+ cp ./chroot/usr/bin/mksquashfs ./chroot/usr/bin/mksquashfs.real
+ fi
+ echo '#!/bin/bash' >./chroot/usr/bin/mksquashfs
+ # log the name we've been called with and all parameters into this file
+ echo 'echo "$0 $@" >/tmp/filesystem.squashfs.temp' >>./chroot/usr/bin/mksquashfs
+ # once the native mksquashfs is complete, we will remove this file
+ echo 'while [ -f /tmp/filesystem.squashfs.temp ]; do' >>./chroot/usr/bin/mksquashfs
+ echo ' sleep 1'
>>./chroot/usr/bin/mksquashfs
+ echo 'done' >>./chroot/usr/bin/mksquashfs
+ # so let's wait until it has been removed before deleting ourselves ...
+ echo 'rm /usr/bin/mksquashfs' >>./chroot/usr/bin/mksquashfs
+ # ... and moving the real executable back into its place
+ echo 'mv /usr/bin/mksquashfs.real /usr/bin/mksquashfs' >>./chroot/usr/bin/mksquashfs
+ chmod 755 ./chroot/usr/bin/mksquashfs
+ ) &
+
+ # start the native mksquashfs after patching the parameters
+ (
+ # wait until the trigger file has been created or until our parent process dies
+ while ! [ -f ./chroot/tmp/filesystem.squashfs.temp ]; do
+ ps $MASTERPID >/dev/null || exit 1
+ sleep 1
+ done
+ # using any of the available filters (x86, arm, armthumb) for the
+ # -Xbcj command results in an unusable squashfs on arm, so we drop the
+
# parameter completely if it's there.
+ # also, all absolute paths (detected by beginning with " /") need to be
+ # prefixed with "./chroot" so the mksquashfs outside the chroot knows where
+ # to look for the corresponding paths/files.
+ sed -e 's/ -Xbcj x86/ /g' -e 's# /# ./chroot/#g' -i \
+ ./chroot/tmp/filesystem.squashfs.temp
+ # now let's make this executable
+ chmod 755 ./chroot/tmp/filesystem.squashfs.temp
+
+ # we also need to add some more excludes because they shouldn't end up
+ # in the squashfs - no idea why we don't need them while inside the chroot ...
+ echo 'proc/*' >>./chroot/excludes
+ echo 'sys/*' >>./chroot/excludes
+ echo 'dev/pts/*' >>/.chroot.excludes
+ # now let's execute the script and, if it terminates without an error,
+ # we'll move the newly created squashfs into the chroot
where the chrooted
+ # mksquashfs command would have created it; if that worked as well, we'll
+ # remove the script file so our dummy mksquashfs inside the chroot knows
+ # it's time to terminate itself.
+ ./chroot/tmp/filesystem.squashfs.temp && \
+ mv ./filesystem.squashfs ./chroot/ && \
+ rm ./chroot/tmp/filesystem.squashfs.temp
+ ) &
+ fi
+
if lb build ; then
echo -e "Build is done: '$LBX2GO_TCEDIR'"
ln $(realpath ./chroot/vmlinuz) ./x2go-tce-vmlinuz
ln $(realpath ./chroot/initrd.img) ./x2go-tce-initrd.img
ln ./binary/live/filesystem.squashfs ./x2go-tce-filesystem.squashfs
if [ "$LBX2GO_IMAGETYPE" = "hdd" ] ; then
- ln ./live-image-$(echo $LBX2GO_ARCH | awk '{print $2}').img \
+ ln ./live-image-$(echo $LBX2GO_ARCH | awk '{print $2}').img \
./x2go-tce-live-image-$(echo $LBX2GO_ARCH |
awk '{print $2}').img
fi
if [ "$LBX2GO_IMAGETYPE" = "netboot" ] ; then
if [ "$LBX2GO_NOSQUASHFS" = "true" ] ; then
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
[View Less]
A page in your DokuWiki was added or changed. Here are the details:
Date : 2019/09/18 19:29
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:60.9) Gecko/20100101 Goanna/4.4 Firefox/60.9 PaleMoon/28.7.1
IP-Address : 109.193.81.67
Hostname : HSI-KBW-109-193-081-067.hsi7.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1568721748
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Configuring the Build] updated …
[View More]configuration for experimental ARM support
User : stefanbaur
@@ -42,22 +42,22 @@
# simple check for apt-cacher-ng being active - if
# we have a successful connect on port 3142, assume
# it's apt-cacher-ng and use it
-
+ #
if nc -z 127.0.0.1 3142 ; then
- # bad idea with apt-cacher-ng, but will work with e.g. squid
- # export https_proxy=http://127.0.0.1:3128/
- # export http_proxy=http://127.0.0.1:3128/
- # export ftp_proxy=http://127.0.0.1:3128/
+ # bad idea with
apt-cacher-ng, but will work with e.g. squid
+ # export https_proxy=http://127.0.0.1:3128/
+ # export http_proxy=http://127.0.0.1:3128/
+ # export ftp_proxy=http://127.0.0.1:3128/
- export LB_APT_FTP_PROXY=http://127.0.0.1:3142/
- export LB_APT_HTTP_PROXY=http://127.0.0.1:3142/
+ export LB_APT_FTP_PROXY=http://127.0.0.1:3142/
+ export LB_APT_HTTP_PROXY=http://127.0.0.1:3142/
fi
# 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-workar…'
+ # export LBX2GO_CONFIG='git://code.x2go.org/live-build-x2go.git::feature/openbox-magic-pixel-workar…'
# this one loosely corresponds to "heuler"
export LBX2GO_CONFIG='https://github.com/LinuxHaus/live-build-x2go::feature/openbox-magic-pixel-w…'
# NOTE: Add "-stretch" to the end of the LBX2GO_CONFIG string to create a stretch build, and
"-buster" for a buster build
# NOTE: As of 2019-08-27, buster builds are only available via the github repo and for the feature/openbox-magic-pixel-workaround-buster and feature/mate-minidesktop-buster branches
@@ -66,35 +66,44 @@
# (feel free to use long or short options)
# for 64-Bit builds, use:
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'
+ # export LBX2GO_ARCH='-a i386 -k 686-pae'
# 32-Bit, smallest memory footprint - not available on buster
# export LBX2GO_ARCH='--architectures i386 --linux-flavours 586'
+ # EXPERIMENTAL: For ARM (Raspberry Pi), try:
+ # export LBX2GO_ARCH='-a arm64'
+ # Note that ARM builds are currently not working, at least not on the Pi.
# If you want to use the stock ISO image as created by this script, add your boot parameters here
- #export LBX2GO_BOOTAPPEND_LIVE="boot=live components noswap lang=de vconsole.keymap=de
keyboard-layouts=de locales=de_DE.UTF-8 silent quiet pubkey=http://x2go/x2go-tce/config/authorized_keys sessionsurl=http://x2go/x2go-tce/config/sessions toram"
+ # export LBX2GO_BOOTAPPEND_LIVE="boot=live components noswap lang=de vconsole.keymap=de keyboard-layouts=de locales=de_DE.UTF-8 silent quiet pubkey=http://x2go/x2go-tce/config/authorized_keys sessionsurl=http://x2go/x2go-tce/config/sessions toram"
# detect if the selected git repo is meant to build a buster, stretch or jessie image
if [ -z "${LBX2GO_CONFIG##*-stretch}" ] ; then
- export LBX2GO_DEBVERSION="stretch"
- export LBX2GO_BOOTAPPEND_LIVE+=" net.ifnames=0 biosdevname=0"
+ export LBX2GO_DEBVERSION="stretch"
+ export LBX2GO_BOOTAPPEND_LIVE+=" net.ifnames=0 biosdevname=0"
elif [ -z "${LBX2GO_CONFIG##*-buster}" ] ; then
- export LBX2GO_DEBVERSION="buster"
- export LBX2GO_BOOTAPPEND_LIVE+=" net.ifnames=0 biosdevname=0"
+ export LBX2GO_DEBVERSION="buster"
+ export
LBX2GO_BOOTAPPEND_LIVE+=" net.ifnames=0 biosdevname=0"
else
- export LBX2GO_DEBVERSION="jessie"
+ 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"
+ export LBX2GO_BOOTLOADERPARAMNAME="--bootloaders"
else
- export LBX2GO_BOOTLOADERPARAMNAME="--bootloader"
+ export LBX2GO_BOOTLOADERPARAMNAME="--bootloader"
fi
# set boot loader type - leave this unchanged unless you really know what you're doing
- export LBX2GO_BOOTLOADER="syslinux"
+ if echo $LBX2GO_ARCH | awk '{print $2}' | grep -q "arm" ; then
+ # This is part of our experimental ARM support
+ LBX2GO_BOOTLOADERPARAMNAME=" "
+ LBX2GO_BOOTLOADER=" "
+ else
+ export LBX2GO_BOOTLOADER="syslinux"
+ 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
@@ -126,13 +135,18 @@
$LBX2GO_MIRROR
$LBX2GO_BOOTLOADERPARAMNAME $LBX2GO_BOOTLOADER
--distribution $LBX2GO_DEBVERSION"
+ # This is part of our experimental ARM support
+ if echo "$LB_X2GO_ARCH" | grep -q 'arm'; then
+ export LBX2GO_DEFAULTS+=" --bootstrap-qemu-arch arm64 \
+ --bootstrap-qemu-static /usr/bin/qemu-arm-static"
+ fi
export LBX2GO_ARCHIVE_AREAS="main contrib non-free"
# This is for minidesktop builds and currently only adds firefox-esr language packs
- #export LBX2GO_LANG='de'
+ # export LBX2GO_LANG='de'
# This is to optimize squashfs size, based on a suggestion by intrigeri from the TAILS team
# note that this will permanently change /usr/lib/live/build/binary_rootfs
sed -i -e 's#MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -comp xz"#MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -comp xz
-Xbcj x86 -b 1024K -Xdict-size 1024K"#' /usr/lib/live/build/binary_rootfs
@@ -143,9 +157,9 @@
export LBX2GO_TCE_SHRINK="true"
# This patches the squashfs file into the initrd. Only parsed when image type "netboot" is set.
# Will require boot parameter live-media=/ instead of fetch=...
- # Both TFTP client and TFTP server must support file transfers >32MB for this to work, if you want to deploy this initrd via TFTP,
+ # Both TFTP client and TFTP server must support file transfers >32MB for this to work, if you want to deploy this initrd via TFTP,
# so e.g. atftpd will not work - tftpd-hpa, however, seems to have no problem with larger files.
# 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="true"
@@ -153,9 +167,9 @@
# 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'
+ # export LBX2GO_IMAGETYPE='iso-hybrid'
# to create a netboot-image:
export LBX2GO_IMAGETYPE='netboot'
# /!\ the options below are NOT RECOMMENDED unless you use live-build from Debian Buster /!\
# to create an image that can be written to a hard disk (for older live-build versions, this
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
[View Less]
A page in your DokuWiki was added or changed. Here are the details:
Date : 2019/09/17 12:02
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:60.9) Gecko/20100101 Goanna/4.4 Firefox/60.9 PaleMoon/28.7.1
IP-Address : 109.193.81.67
Hostname : HSI-KBW-109-193-081-067.hsi7.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1568718946
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Starting the Build] we need to fetch …
[View More]kernel and initrd from the chroot directory to be buildtype-independent
User : stefanbaur
@@ -261,10 +261,10 @@
chmod 755 ./config/hooks/0112-remove-folders.hook.chroot
fi
if lb build ; then
echo -e "Build is done: '$LBX2GO_TCEDIR'"
- ln ./binary/live/vmlinuz ./x2go-tce-vmlinuz
- ln ./binary/live/initrd.img ./x2go-tce-initrd.img
+ ln $(realpath ./chroot/vmlinuz) ./x2go-tce-vmlinuz
+ ln $(realpath ./chroot/initrd.img)
./x2go-tce-initrd.img
ln ./binary/live/filesystem.squashfs ./x2go-tce-filesystem.squashfs
if [ "$LBX2GO_IMAGETYPE" = "hdd" ] ; then
ln ./live-image-$(echo $LBX2GO_ARCH | awk '{print $2}').img \
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
[View Less]
A page in your DokuWiki was added or changed. Here are the details:
Date : 2019/09/17 11:15
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:60.9) Gecko/20100101 Goanna/4.4 Firefox/60.9 PaleMoon/28.7.1
IP-Address : 109.193.81.67
Hostname : HSI-KBW-109-193-081-067.hsi7.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1568717029
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Configuring the Build] updated apt-cacher-…
[View More]ng detection and actions to take if successful
User : stefanbaur
@@ -44,14 +44,15 @@
# we have a successful connect on port 3142, assume
# it's apt-cacher-ng and use it
if nc -z 127.0.0.1 3142 ; then
- export https_proxy=http://127.0.0.1:3142/
- export http_proxy=http://127.0.0.1:3142/
- export ftp_proxy=http://127.0.0.1:3142/
+ # bad idea with apt-cacher-ng, but will work with e.g. squid
+ # export https_proxy=http://127.0.0.1:3128/
+ # export
http_proxy=http://127.0.0.1:3128/
+ # export ftp_proxy=http://127.0.0.1:3128/
- export LB_APT_FTP_PROXY=$ftp_proxy
- export LB_APT_HTTP_PROXY=$http_proxy
+ export LB_APT_FTP_PROXY=http://127.0.0.1:3142/
+ export LB_APT_HTTP_PROXY=http://127.0.0.1:3142/
fi
# Select ONE of the following git reposities
# this one loosely corresponds to "stable"
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
[View Less]
A page in your DokuWiki was added or changed. Here are the details:
Date : 2019/09/17 10:43
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:60.9) Gecko/20100101 Goanna/4.4 Firefox/60.9 PaleMoon/28.7.1
IP-Address : 109.193.81.67
Hostname : HSI-KBW-109-193-081-067.hsi7.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1568716930
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Build system prerequisites for all …
[View More]variants] added netcat to list of required packages
User : stefanbaur
@@ -29,9 +29,9 @@
* You need a Debian Buster system to build the image. (Other distributions based on Debian might work, but this is untested.)
* We suggest using a 64-Bit system, however, it is possible to use a 32-Bit system if you don't want to build a 64-Bit ThinClient image.
* We suggest leaving at least 4 GB of free disk space so the build won't abort due to insufficient disk space while packages are
downloaded, unpacked and copied around.
* Make sure your package list is up to date by running: <code>sudo apt-get update </code>
- * Install the required package(s) by running: <code>sudo apt-get install genisoimage git-core live-build live-config-doc live-manual-html live-boot-doc lsb-release</code>
+ * Install the required package(s) by running: <code>sudo apt-get install genisoimage git-core live-build live-config-doc live-manual-html live-boot-doc lsb-release netcat-traditional</code>
* If you want to speed up subsequent builds, install the recommended package(s) by running: <code>sudo apt-get install apt-cacher-ng</code>
* 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: <code>sudo apt-get install qemu-user-static</code>
===== Building your own X2Go-TCE Image =====
--
This mail was generated by
DokuWiki at
https://wiki.x2go.org/
[View Less]
A page in your DokuWiki was added or changed. Here are the details:
Date : 2019/09/17 10:42
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:60.9) Gecko/20100101 Goanna/4.4 Firefox/60.9 PaleMoon/28.7.1
IP-Address : 109.193.81.67
Hostname : HSI-KBW-109-193-081-067.hsi7.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1568716569
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Build system prerequisites for all …
[View More]variants] updated list of required, recommended and optional packages
User : stefanbaur
@@ -29,9 +29,11 @@
* You need a Debian Buster system to build the image. (Other distributions based on Debian might work, but this is untested.)
* We suggest using a 64-Bit system, however, it is possible to use a 32-Bit system if you don't want to build a 64-Bit ThinClient image.
* We suggest leaving at least 4 GB of free disk space so the build won't abort due to insufficient disk space while
packages are downloaded, unpacked and copied around.
* 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 genisoimage git-core live-build live-config-doc live-manual-html live-boot-doc</code>
+ * Install the required package(s) by running: <code>sudo apt-get install genisoimage git-core live-build live-config-doc live-manual-html live-boot-doc lsb-release</code>
+ * If you want to speed up subsequent builds, install the recommended package(s) by running: <code>sudo apt-get install apt-cacher-ng</code>
+ * 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: <code>sudo apt-get install qemu-user-static</code>
===== Building your own X2Go-TCE Image =====
==== Configuring the Build ====
Change to a
directory where you want to save your builds, and save the following file as x2go-tce-config:
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
[View Less]
A page in your DokuWiki was added or changed. Here are the details:
Date : 2019/09/17 10:36
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:60.9) Gecko/20100101 Goanna/4.4 Firefox/60.9 PaleMoon/28.7.1
IP-Address : 109.193.81.67
Hostname : HSI-KBW-109-193-081-067.hsi7.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1568714088
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Configuring the Build] added simple check …
[View More]for apt-cacher-ng
User : stefanbaur
@@ -36,8 +36,21 @@
==== Configuring the Build ====
Change to a directory where you want to save your builds, and save the following file as x2go-tce-config:
<code>
# NOTE: This file gets sourced by the actual buildscript - so place it in the same directory as the buildscript or adjust the path in the buildscript.
+
+ # simple check for apt-cacher-ng being active - if
+ # we have a successful connect on port 3142, assume
+ # it's apt-cacher-ng
and use it
+
+ if nc -z 127.0.0.1 3142 ; then
+ export https_proxy=http://127.0.0.1:3142/
+ export http_proxy=http://127.0.0.1:3142/
+ export ftp_proxy=http://127.0.0.1:3142/
+
+ export LB_APT_FTP_PROXY=$ftp_proxy
+ export LB_APT_HTTP_PROXY=$http_proxy
+ fi
# 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-workar…'
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
[View Less]