[Grml] Cannot build grml from within grml
Marc Haber
mh+grml at zugschlus.de
Sun Sep 10 13:55:43 CEST 2017
On Wed, Sep 06, 2017 at 09:04:45AM +0200, Michael Prokop wrote:
> > this emits warnings during the build process about missing EFI files,
> > ending in "xorriso : FAILURE : Cannot find path '/boot/efi.img' in
> > loaded ISO image" (full log in exhibit A).
>
> Here you're using grml-live v0.30.1
>
> > (4)
> > configure the same VM to boot from a released grml64-full.2017.05 iso
>
> > (5)
> > try rebuilding the grml.iso file with the same command line:
> > grml-live -V -e /dev/cdrom -o output/
>
> > (6)
> > see the build succeed (exhibit B).
>
> Here you're using grml-live v0.29.7
>
> > What am I doing wrong when building grml64_0.0.1.iso so that it cannot
> > self-reproduce, while the released grml64-full.2017.05.iso can? Any hints?
>
> You are using different grml-live versions.
Thanks for spotting this.
> So if you want just try the latest grml-live version from git,
> either with the package from https://jenkins.grml.org/job/grml-live-binaries/
> or straight out of git:
>
> export SCRIPTS_DIRECTORY=$(pwd)/scripts
> export GRML_FAI_CONFIG=$(pwd)/etc/grml/fai
> export LIVE_CONF=$(pwd)/etc/grml/grml-live.conf
> ./grml-live ...
I took grml-live_0.31.0+0~20170907073759.330~1.gbp7f38fb_all.deb from
jenkins, and that one, invoked from within grml, fails pretty fast:
# root at grml ~ # grml-live -V -e /dev/cdrom -o output/
[ OK ] Sourcing configuration file /etc/grml/grml-live.conf
grml-live [0.31.0+0~20170907073759.330~1.gbp7f38fb]: check your configuration (or use -F to force execution):
FAI classes: GRMLBASE,GRML_FULL,AMD64
Config directory: /etc/grml/fai
main directory: /root/output
Extract ISO: /dev/sr0
Chroot target: /root/output/grml_chroot
Build target: /root/output/grml_cd
ISO target: /root/output/grml_isos
Grml name: grml
Release name: grml-live rocks
Build date: 2017-09-10
Grml version: 0.0.1
Debian suite: testing
Architecture: amd64
Boot method: isolinux
Hybrid method: isohybrid
Template files: /usr/share/grml-live/templates
Using VERBOSE mode.
Is this ok for you? [y/N] y
[ OK ] Logging actions to logfile /root/output/grml_logs/grml-live.log
[ OK ] Unpacking ISO from /dev/sr0
Parallel unsquashfs: Using 4 processors
69110 inodes (72966 blocks) to write
dir_scan: failed to make directory /root/output/grml_chroot, because File exists
[| ] 0/72966 0%
created 0 files
created 0 directories
created 0 symlinks
created 0 devices
created 0 fifos
[ WARN ] Skipping stage 'fai dirinstall' as /root/output/grml_chroot exists already.
[ OK ] No missing packages found, generating empty junit report.
[ OK ] Generating /conf/bootid.txt with entry grml001.
[ FAIL ] Can not access GRUB efi image /root/output/grml_chroot//boot/bootx64.efi, required for Secure Boot support
[ WARN ] Possible reason is failure to run /etc/grml/fai/config/scripts/GRMLBASE/45-grub-images
# 50 root at grml ~ # :(
Is this a missing dependency, or am I supposed to give fai classes even
when rebuilding the actual ISO?
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421
More information about the Grml
mailing list