| Summary: | netinstall: %post(grub2-2.00-29.mga3.x86_64) scriptlet failed, exit status 1 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Manuel Hiebel <manuel.mageia> |
| Component: | RPM Packages | Assignee: | Barry Jackson <zen25000> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | grub2 | CVE: | |
| Status comment: | |||
| Bug Depends on: | |||
| Bug Blocks: | 416 | ||
| Attachments: | report.bug | ||
|
Description
Manuel Hiebel
2013-02-21 13:17:57 CET
Created attachment 3535 [details]
report.bug
(In reply to Manuel Hiebel from comment #1) > Created attachment 3535 [details] > report.bug Is there anything in /var/log/grub2_post.log ? yep: Installation finished. No error reported. Generating grub.cfg ... Found linux image: /boot/vmlinuz-desktop Found initrd image: /boot/initrd-desktop.img Found linux image: /boot/vmlinuz-3.8.0-desktop-1.mga3 Found initrd image: /boot/initrd-3.8.0-desktop-1.mga3.img done cp: cannot stat '/boot/grub2/locale/en@quot.mo': No such file or directory I can't reproduce this, but have updated version grub2-2.00-30.mga3 to hopefully avoid these messages. Please test the same way if possible. Thanks ;) Why is that cp done in %post anyway? This is nonsense. This will left unpackaged files on uninstall! Do it in %install and just add it to %files. And use a hardlink instead of cp for saving space! CC:
(none) =>
thierry.vignaud (In reply to Thierry Vignaud from comment #5) > Why is that cp done in %post anyway? Because the directory does not exist until %post is run. > This is nonsense. It was not the most elegant solution I admit. > This will left unpackaged files on uninstall! Yes the whole /boot/grub2/locale/ dir must be removed in %preun as it is created by grub2-install in %post > Do it in %install and just add it to %files. Yes I now realize that this is possible. All the locales are handled by find_lang, so linking the dir in %install is better since it requires no change to %files. > And use a hardlink instead of cp for saving space! I have used a symlink for the file in %datadir, and this does save some space, however the file is still copied to /boot/grub2/locales/en by grub2-install. Closing as fixed in grub2-2.00-31.mga3.src.rpm Thanks for your help, Barry Status:
NEW =>
RESOLVED (In reply to Barry Jackson from comment #4) > I can't reproduce this, but have updated version grub2-2.00-30.mga3 to > hopefully avoid these messages. > > Please test the same way if possible. Thanks ;) it's ok, thanks. Source RPM:
(none) =>
grub2 |