Sorry for the previous mail, blame my thick fingers. Heres the complete mail.
Hi everybody,
I'm new to x2go and I am trying to set up a thinclient environment and I try to build the live netboot image. I've been following the instructions in
https://wiki.x2go.org/doku.php/doc:howto:tce#starting_the_build
I did set the following
export LBX2GO_CONFIG='https://github.com/LinuxHaus/live-build-x2go::feature/openbox-magic-pixel-wo...' export LBX2GO_ARCH='-a amd64 -k amd64' export LBX2GO_SPACE='--apt-indices none --apt-recommends false --cache false --checksums none --firmware-binary false --memtest none --win32-loader false' export LBX2GO_DEFAULTS="--backports true --firmware-chroot true --initsystem sysvinit --security true --updates true --distribution $LBX2GO_DEBVERSION" export LBX2GO_ARCHIVE_AREAS="main contrib non-free" export LBX2GO_LANG='de' export LBX2GO_TCE_SHRINK="true" export LBX2GO_NOSQUASHFS="false" export LBX2GO_IMAGETYPE='netboot'
When I run the build script on a debian stretch system (9.2) I run into the following error
... [2017-12-08 10:49:48] lb binary_disk [2017-12-08 10:49:48] lb binary_loadlin [2017-12-08 10:49:48] lb binary_win32-loader [2017-12-08 10:49:48] lb binary_includes P: Begin copying binary includes... [2017-12-08 10:49:48] lb binary_hooks P: Begin executing hooks... [2017-12-08 10:49:48] lb binary_grub-efi P: Begin preparing Grub based EFI support... W: Bootloader in this image type not yet supported by live-build. W: This would produce a not bootable image, aborting (FIXME). P: Begin unmounting filesystems... P: Saving caches... Build failed: './live-build-x2go-20171208104441
Then I did try the same build with the same environment on a jessie system (8.6) and it worked.
I tried it as well on different ubuntu-versions (14.04, 16.04, 17.10) and all failed.
Maybe this should be stated in the wiki?
cheers widu
My build script is not significantly different from yours, except I build i386 images for my AMD Geode thin clients. My build machine runs debian jessie and I can build images successfully for both jessie and stretch, just by changing $LBX2GO_DEBVERSION and selecting the proper branch for $LBX2GO_CONFIG. For stretch, use the branch as you have here. For jessie, take off "-stretch" from the end of the url.
I don't believe the release of the build host matters, as packages are pulled down according to the parameters passed to "lb config" and "lb build". These are generated based on files from the repo branch pulled down from $LBX2GO_CONFIG. I don't think there are specific branches for various ubuntu releases, though.
Seth
On 12/08/2017 03:54 AM, Widu Wittekindt wrote:
Sorry for the previous mail, blame my thick fingers. Heres the complete mail.
Hi everybody,
I'm new to x2go and I am trying to set up a thinclient environment and I try to build the live netboot image. I've been following the instructions in
https://wiki.x2go.org/doku.php/doc:howto:tce#starting_the_build
I did set the following
export LBX2GO_CONFIG='https://github.com/LinuxHaus/live-build-x2go::feature/openbox-magic-pixel-wo...' export LBX2GO_ARCH='-a amd64 -k amd64' export LBX2GO_SPACE='--apt-indices none --apt-recommends false --cache false --checksums none --firmware-binary false --memtest none --win32-loader false' export LBX2GO_DEFAULTS="--backports true --firmware-chroot true --initsystem sysvinit --security true --updates true --distribution $LBX2GO_DEBVERSION" export LBX2GO_ARCHIVE_AREAS="main contrib non-free" export LBX2GO_LANG='de' export LBX2GO_TCE_SHRINK="true" export LBX2GO_NOSQUASHFS="false" export LBX2GO_IMAGETYPE='netboot'
When I run the build script on a debian stretch system (9.2) I run into the following error
... [2017-12-08 10:49:48] lb binary_disk [2017-12-08 10:49:48] lb binary_loadlin [2017-12-08 10:49:48] lb binary_win32-loader [2017-12-08 10:49:48] lb binary_includes P: Begin copying binary includes... [2017-12-08 10:49:48] lb binary_hooks P: Begin executing hooks... [2017-12-08 10:49:48] lb binary_grub-efi P: Begin preparing Grub based EFI support... W: Bootloader in this image type not yet supported by live-build. W: This would produce a not bootable image, aborting (FIXME). P: Begin unmounting filesystems... P: Saving caches... Build failed: './live-build-x2go-20171208104441
Then I did try the same build with the same environment on a jessie system (8.6) and it worked.
I tried it as well on different ubuntu-versions (14.04, 16.04, 17.10) and all failed.
Maybe this should be stated in the wiki?
cheers widu
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
-- Seth Galitzer Systems Coordinator Computer Science Department Kansas State University http://www.cs.ksu.edu/~sgsax sgsax@ksu.edu 785-532-7790
Am 08.12.2017 um 18:17 schrieb Seth Galitzer:
I don't believe the release of the build host matters [...]
*ahem* As the guy behind X2Go-TCE-live, I beg to differ. Debian Jessie and Debian Stretch come with different versions of Live-Build. It seems the one in Stretch is acting up, so we will have to investigate what's going wrong. Since Ubuntu is likely to use the version of Live-Build that is bundled in Stretch, it is not surprising that when building on Stretch fails, it also fails for Ubuntu.
Kind Regards, Stefan Baur
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
That does make sense, now that you mention it. :) I wouldn't have thought that live-build would change all that much, but what do I know? Thanks for clarifying. Let me know if I can help with testing.
Seth
PS - I just checked packages for both ubuntu and debian. Looks like all current ubuntu releases use live-build v. 3.0, which is the same as debian wheezy. Jessie uses 4.0 and stretch uses 1:20170213 (new numbering system, I guess).
On 12/08/2017 01:23 PM, Stefan Baur wrote:
Am 08.12.2017 um 18:17 schrieb Seth Galitzer:
I don't believe the release of the build host matters [...]
*ahem* As the guy behind X2Go-TCE-live, I beg to differ. Debian Jessie and Debian Stretch come with different versions of Live-Build. It seems the one in Stretch is acting up, so we will have to investigate what's going wrong. Since Ubuntu is likely to use the version of Live-Build that is bundled in Stretch, it is not surprising that when building on Stretch fails, it also fails for Ubuntu.
Kind Regards, Stefan Baur
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
-- Seth Galitzer Systems Coordinator Computer Science Department Kansas State University http://www.cs.ksu.edu/~sgsax sgsax@ksu.edu 785-532-7790
Am 08.12.2017 um 21:32 schrieb Seth Galitzer:
That does make sense, now that you mention it. :) I wouldn't have thought that live-build would change all that much, but what do I know? Thanks for clarifying. Let me know if I can help with testing. I had a chance to set up a stretch system today and try live-build on it. It fails just as Widu described it, when you select a netboot image. It will build iso-hybrid images just fine.
The underlying issues are two:
In jessie, live-build picks a sane default - I'm guessing syslinux - for all image types, when you don't specify one using the parameter --bootloader. In stretch, however, it picks grub-efi for netboot, even though it knows that it won't work.
In jessie, the parameter is named --bootloader, in stretch, it is named --bootloaders (plural).
An updated build script that should hopefully fix this is now in the Wiki. (Changes are in <https://wiki.x2go.org/doku.php/doc:howto:tce#configuring_the_build> and <https://wiki.x2go.org/doku.php/doc:howto:tce#starting_the_build>)
BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
I would add that it fails miserabily under Ubuntu 16.04 ... Live Build scripts seem completely broken on Ubuntu.
Regards, Walid Moghrabi
TRAVAUX.COM BAT I - PARC CEZANNE 2 290 AVENUE GALILEE - CS 80403 13591 AIX EN PROVENCE CEDEX 3
----- Mail original -----
De: "Stefan Baur" <X2Go-ML-1@baur-itcs.de> À: x2go-user@lists.x2go.org, "Seth Galitzer" <sgsax@ksu.edu> Envoyé: Mardi 12 Décembre 2017 15:29:13 Objet: Re: [X2Go-User] TCE-live build
Am 08.12.2017 um 21:32 schrieb Seth Galitzer:
That does make sense, now that you mention it. :) I wouldn't have thought that live-build would change all that much, but what do I know? Thanks for clarifying. Let me know if I can help with testing. I had a chance to set up a stretch system today and try live-build on it. It fails just as Widu described it, when you select a netboot image. It will build iso-hybrid images just fine.
The underlying issues are two:
In jessie, live-build picks a sane default - I'm guessing syslinux - for all image types, when you don't specify one using the parameter --bootloader. In stretch, however, it picks grub-efi for netboot, even though it knows that it won't work.
In jessie, the parameter is named --bootloader, in stretch, it is named --bootloaders (plural).
An updated build script that should hopefully fix this is now in the Wiki. (Changes are in <https://wiki.x2go.org/doku.php/doc:howto:tce#configuring_the_build> and <https://wiki.x2go.org/doku.php/doc:howto:tce#starting_the_build>)
BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
DISCLAIMER: This e-mail is private and confidential and may contain proprietary or legally privileged information. It is for the intended recipient only. If you have received this email in error, please notify the author by replying to it and then destroy it. If you are not the intended recipient you must not use, disclose, distribute, copy, print or rely on this e-mail or any attachment. Thank you
Am 12.12.2017 um 17:58 schrieb Walid MOGHRABI:
I would add that it fails miserabily under Ubuntu 16.04 ... Live Build scripts seem completely broken on Ubuntu.
I would add that you might want to update your buildscript to what's in the Wiki now. ;-)
While my test build of a stretch image on xenial is still running, it looks rather promising. Ubuntu does some rather brain-dead things wrt/ live-build, it seems, but for what I found so far, I was able to add workarounds to the code.
(And next time, just file a bug. ;-) My Ubuntu box is currently one if my slowest boxes, so I usually don't do any builds on it.)
BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
Am 12.12.2017 um 17:58 schrieb Walid MOGHRABI:
I would add that it fails miserabily under Ubuntu 16.04 ... Live Build scripts seem completely broken on Ubuntu.
I would add that you might want to update your buildscript to what's in the Wiki now. ;-)
While my test build of a stretch image on xenial is still running, it looks rather promising. Ubuntu does some rather brain-dead things wrt/ live-build, it seems, but for what I found so far, I was able to add workarounds to the code. Okay, so, after a few more test runs, it looks like live-build on Ubuntu either has issues with adding a security mirror, or I'm doing something wrong re: the way the parameters should be specified. I still believe
Am 12.12.2017 um 21:34 schrieb Stefan Baur: this can be fixed somehow (not using a security mirror at all would be the easiest solution, but obviously that's not a sane thing to do).
-Stefan
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243