Hello Steve, list, > On 27/07/2024 23:51, Steve McIntyre wrote: >>>>> On Sun, Jun 23, 2024 at 11:39:05AM +0200, Roland Clobus wrote: > ... >>>> The MR is at >>>> https://salsa.debian.org/images-team/live-setup/-/merge_requests/5 >>>> >>>> Let's start only with a GNOME image at first. >>>> I'll update the matching openQA tests, as soon as the new image >>>> appears. > ... >> I've merged everything and added that config and run a couple of times >> to test. I'm seeing a (slow, as expected!) live image build OK, then >> right at the end: >> >> ... >> P: building the debian-installer >> cp: cannot stat 'chroot/debian-installer/build/dest/cdrom/vmlinuz': No >> such file or directory >> E: An unexpected failure occurred, exiting... >> P: Begin unmounting filesystems... >> P: Saving caches... >> ... >> >> Did you test this to build an arm64 image yourself?I found the issue and it has been fixed in the git repository of live-build, so the weekly build can be run for arm64.
Within the live-setup script, the arm64 build will need its current value for '$RETRY_ON_UPDATE' of zero, otherwise it will see that a new DAK run has taken place and do another build, which will error out because of yet another DAK run and finally then the result would be discarded...
I've used 'only' the rebuild.sh script from live-build, and that takes 11 hours on my computer, with an already pre-loaded proxy. I have not tested how much additional time would be required due to running from a amd64-VM.
A course breakdown of the time required for various stages: bootstrap: 30min install packages: 4h post-installation fixup: 15min build installer from git: 1.5h compress to squashfs: 3h45minThe compression to squashfs can be sped-up dramatically, by avoiding to run as arm64 and to use the native compression. That would need some more development from my side.
All would be much faster if it would run on a native arm64 machine. Is it acceptable to have an 11 hours step in the weekly image generation? With kind regards, Roland Clobus
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature