summaryrefslogtreecommitdiff
path: root/doc/forum/grub-mkconfig_incorrectly_run_by_imageBuiltFor__63__/comment_2_00b8165c200b515c98d4e66c66df8a56._comment
blob: 099be8a24cc4b6c72e18afba12ae187096aebc8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[[!comment format=mdwn
 username="gueux"
 avatar="http://cdn.libravatar.org/avatar/2982bac2c2cd94ab3860efb189deafc8"
 subject="comment 2"
 date="2017-12-19T22:01:17Z"
 content="""
manually adding \"--target\" and \"i386-coreboot\" to grub-install arguments seems to make the build successful:

         17,512,735  69%  155.80MB/s    0:00:00 (xfr#1, to-chk=0/5)
                129   0%    0.14kB/s    0:00:00 (xfr#3, to-chk=0/33524)   
    update-initramfs: Generating /boot/initrd.img-4.9.0-4-amd64
    Installing for i386-coreboot platform.
    grub-install: warning: WARNING: no platform-specific install was performed.
    Installation finished. No error reported.
    Generating grub configuration file ...
    Found linux image: /boot/vmlinuz-4.9.0-4-amd64
    Found initrd image: /boot/initrd.img-4.9.0-4-amd64
    done
    loop deleted : /dev/loop0
    laptop built disk image /srv/router.img ... done
    laptop overall ... done

I've not tested the image yet, but I guess we need to a BIOS argument to bootsMounted, or put the BIOS property is Info.

/srv/router.img.chroot/boot/ still contains only, config-4.9.0-4-amd64, System.map-4.9.0-4-amd64, initrd.img-4.9.0-4-amd64, vmlinuz-4.9.0-4-amd64. There is no /srv/router.img.chroot/boot/grub/

"""]]