| Summary: | grub-mkconfig references wrong location of grub-mkconfig_lib | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Jesse Zhang <sen.zhang> |
| Component: | core | Assignee: | Jesse Zhang <sen.zhang> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | laurentiu.serban, liang.li2, meta.mr.watcher, meta.watcher, sgw, zhenfeng.zhao |
| Version: | unspecified | ||
| Target Milestone: | 1.3 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
After the error is fixed, it would fail of another one: # grub-mkconfig /usr/sbin/grub-probe: error: cannot stat `/dev/root'. Which needs another patch. http://git.openembedded.org/openembedded-core/commit/?id=5b7da937cd298abd6f8f0eecfede2810b157179f http://git.openembedded.org/openembedded-core/commit/?id=72a582874704838ddd19700bf7c300d7a7faaf9f root@qemux86:/# find . -name *grub* ./usr/share/augeas/lenses/dist/tests/test_grub.aug ./usr/share/augeas/lenses/dist/grub.aug grub is not installed in core-image-lsb-sdk. So there might be a problem with the recipe. I reopen this bug. If there is another explanation for this, please let me know Thank you, Laurentiu Hi Laurentiu, that seems a different issue. "grub is not installed in core-image-lsb-sdk" is clearly irrelevant to this bug. Please file new bugs instead of reopening this one. Btw, I was using qemux86, but I ran it on real hardware and I copied grub to the target. grub version now 2.00,change status to verified. |
grub-mkconfig_lib is installed to /usr/share, but grub-mkconfig thinks it's in /usr/lib. root@qemux86:~# grub-mkconfig /usr/sbin/grub-mkconfig: line 98: /usr/lib/grub/grub-mkconfig_lib: No such file or directory root@qemux86:~# ls /usr/lib/grub/grub-mkconfig_lib ls: /usr/lib/grub/grub-mkconfig_lib: No such file or directory root@qemux86:~# ls /usr/share/grub/grub-mkconfig_lib /usr/share/grub/grub-mkconfig_lib root@qemux86:~# grep grub-mkconfig_lib /usr/sbin/grub-mkconfig . ${libdir}/grub/grub-mkconfig_lib I have a patch ready, will send to oe-core.