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

Date        : 2019/09/17 08:46
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=1568706133
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Starting the Build] updated post-build packaging steps
User        : stefanbaur

@@ -245,12 +245,17 @@
         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 ./binary/live/filesystem.squashfs ./x2go-tce-filesystem.squashfs
+ + if [ "$LBX2GO_IMAGETYPE" = "hdd" ] ; then
+                 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
-             ln ./tftpboot/live/vmlinuz ./x2go-tce-vmlinuz
-             ln ./tftpboot/live/initrd.img ./x2go-tce-initrd.img
             if [ "$LBX2GO_NOSQUASHFS" = "true" ] ; then
                 (cd binary; echo live$'\n'live/filesystem.squashfs |cpio -o -H 
newc | gzip --fast) >./x2go-tce-filesystem.cpio.gz
                 cat ./x2go-tce-initrd.img ./x2go-tce-filesystem.cpio.gz 
>./x2go-tce-initrd-with-fs.img || exit 1
                 rm ./x2go-tce-filesystem.cpio.gz
@@ -258,15 +263,16 @@
                 # rm ./x2go-tce-filesystem.squashfs ./x2go-tce-initrd.img
             fi
         fi
         if [ "$LBX2GO_IMAGETYPE" = "iso" ] || [ "$LBX2GO_IMAGETYPE" = 
"iso-hybrid" ] ; then
-             ln ./binary/live/vmlinuz ./x2go-tce-vmlinuz
-             ln
./binary/live/initrd.img ./x2go-tce-initrd.img
             genisoimage -o ./x2go-tce-squashfs-only.iso -R -J -graft-points 
live/filesystem.squashfs=./x2go-tce-filesystem.squashfs
-             [ -e ./live-image-amd64.hybrid.iso ] && ln 
./live-image-amd64.hybrid.iso ./original-x2go-tce-live-image-amd64.hybrid.iso
-             [ -e ./live-image-amd64.iso ] && ln ./live-image-amd64.iso 
./original-x2go-tce-live-image-amd64.iso
-             [ -e ./live-image-i386.hybrid.iso ] && ln 
./live-image-i386.hybrid.iso ./original-x2go-tce-live-image-i386.hybrid.iso
-             [ -e ./live-image-i386.iso ] && ln ./live-image-i386.iso 
./original-x2go-tce-live-image-i386.iso
+             if [ -e ./live-image-$(echo $LBX2GO_ARCH | awk '{print 
$2}').hybrid.iso ] ; then
+                     ln ./live-image-$(echo $LBX2GO_ARCH | awk '{print 
$2}').hybrid.iso \
+                        ./original-x2go-tce-live-image-$(echo $LBX2GO_ARCH | 
awk '{print $2}').hybrid.iso
+             elif [ -e
./live-image-$(echo $LBX2GO_ARCH | awk '{print $2}').iso ] ; then
+                     ln ./live-image-$(echo $LBX2GO_ARCH | awk '{print 
$2}').iso \
+                        ./original-x2go-tce-live-image-$(echo $LBX2GO_ARCH | 
awk '{print $2}').iso
+             fi
             mv ./x2go-tce-filesystem.squashfs 
./original-x2go-tce-filesystem.squashfs
         fi
         # create timestamp file
         stat -c %Y ./config/includes.chroot/lib >./x2go-tce-timestamp


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

_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to