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

Date        : 2017/02/18 17:14
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=1487437738
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Starting the Build] moved deletion into hooks script
User        : stefanbaur

@@ -335,21 +335,22 @@
        --archive-areas "$LBX2GO_ARCHIVE_AREAS"
     if [ -d "../patch" ] ; then
         cp -a ../patch/* config/
     fi
+       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 (i.e. 
Minidesktop), your results may vary ... use at your own risk.
+         echo '#!/bin/sh'
./config/hooks/normal/0112-remove-folders.hook.chroot
+         echo 'set -e' >>./config/hooks/normal/0112-remove-folders.hook.chroot
+         echo '# Remove folders' 
>>./config/hooks/normal/0112-remove-folders.hook.chroot
+         echo 'rm -rf /usr/share/doc/*' 
>>./config/hooks/normal/0112-remove-folders.hook.chroot
+         echo 'rm -rf  /usr/share/locale/*' 
>>./config/hooks/normal/0112-remove-folders.hook.chroot
+         echo 'rm -rf  /usr/share/man/*' 
>>./config/hooks/normal/0112-remove-folders.hook.chroot
+         echo 'rm -rf ./squashfs-root/var/lib/apt/lists/*' 
>>./config/hooks/normal/0112-remove-folders.hook.chroot
+       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 -noappend) && 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