[X2Go-Commits] [[X2Go Wiki]] page changed: doc:howto:tce
wiki-admin at x2go.org
wiki-admin at x2go.org
Fri Dec 1 00:45:49 CET 2017
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/11/30 23:45
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.2
IP-Address : 134.3.37.90
Hostname : HSI-KBW-134-3-37-90.hsi14.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1512070268
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: Updated buildscript section
User : stefanbaur
@@ -77,8 +77,11 @@
--updates true
--distribution $LBX2GO_DEBVERSION"
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'
# 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
@@ -358,8 +361,9 @@
}
close (F);
}
+
USBMOUNTPATCH
chmod 755 ./patch/includes.chroot/usr/lib/x2go/tce/x2gousbmount
</code>
@@ -405,8 +409,15 @@
# This enables an i386-only package in the sources.list file when an i386 build is requested
if echo "$LBX2GO_ARCH" | grep -q -i "i386" ; then
sed -i -e 's/# for i386 only #//' config/package-lists/desktop.list.chroot
fi
+ # This is for minidesktop builds only
+ if [ -f config/package-lists/firefox-langpacks.list.chroot ] && [ -n "$LBX2GO_LANG" ]; then
+ for LBX2GO_SINGLE_LANG in $(echo $LBX2GO_LANG | tr ';' ' '); do
+ echo "LANG: '$LBX2GO_SINGLE_LANG'"
+ sed -i -e
's/#firefox-esr-l10n-'$LBX2GO_SINGLE_LANG'$/firefox-esr-l10n-'$LBX2GO_SINGLE_LANG'/' config/package-lists/firefox-langpacks.list.chroot
+ done
+ fi
if [ "$LBX2GO_TCE_SHRINK" = "true" ] ; then
echo '#!/bin/sh' >./config/hooks/0112-remove-folders.hook.chroot
echo 'set -e' >>./config/hooks/0112-remove-folders.hook.chroot
echo '# Remove folders' >>./config/hooks/0112-remove-folders.hook.chroot
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
More information about the x2go-commits
mailing list