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 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-workaround-buster'
+ # export 
LBX2GO_CONFIG='git://code.x2go.org/live-build-x2go.git::feature/openbox-magic-pixel-workaround-buster'
 # this one loosely corresponds to "heuler"
 export 
LBX2GO_CONFIG='https://github.com/LinuxHaus/live-build-x2go::feature/openbox-magic-pixel-workaround-buster'
 # 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/

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

Reply via email to