A page in your DokuWiki was added or changed. Here are the details:

Date        : 2017/02/18 12:54
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=1487421943
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Starting the Build] added shrinker
User        : stefanbaur

@@ -338,8 +338,18 @@
     fi
     if lb build ; then
         echo -e "Build is done: '$LBX2GO_TCEDIR'"
         ln ./binary/live/filesystem.squashfs ./x2go-tce-filesystem.squashfs
+         if [ $X2GOTCE_SHRINK = "true" ] ; then
+               # You can safely set $X2GOTCE_SHRINK = "true" if you intend to 
run X2GoClient in fullscreen mode all the time.
+               # For all other uses of the TCE-Live image creator, your 
results may vary ... use at your own risk.
+               # This code unpacks the squashfs, deletes a few
directory contents that would only be useful for shell logins and local apps,
+               # then repacks everything again, with a larger block size and 
better compression.
+               # Effects: Build time will increase, loading time and ramdisk 
size will decrease.
+               unsquashfs ./x2go-tce-filesystem.squashfs
+               rm -rf ./squashfs-root/usr/share/doc/* 
./squashfs-root/usr/share/locale/* ./squashfs-root/usr/share/man/* 
./squashfs-root/var/lib/apt/lists/*
+               (cd squashfs-root && mksquashfs . ../x2go-tce-filesystem.squashfs -b 
1048576 -comp xz) && rm -rf ./squashfs-root
+       fi
         if [ "$LBX2GO_IMAGETYPE" = "netboot" ] ; then
             ln ./tftpboot/live/vmlinuz ./x2go-tce-vmlinuz
             ln ./tftpboot/live/initrd.img ./x2go-tce-initrd.img
         fi


--
This mail was generated by DokuWiki at
http://wiki.x2go.org/

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

Reply via email to