http://bugzilla.opensuse.org/show_bug.cgi?id=904422 http://bugzilla.opensuse.org/show_bug.cgi?id=904422#c13 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimstar@opensuse.org --- Comment #13 from Dominique Leuenberger <dimstar@opensuse.org> --- (In reply to Jiri Slaby from comment #12)
Perhaps executing something like /etc/events/os-release.d/* from the *release.rpm and put grub2.sh in there (via grub2.rpm) to do the work?
I actually like this approach: it ensures that the logic for the content of grub owned files stays with grub. The 'issue' might be that openSUSE-release, especially in Tumbleweed, is being updated at every snapshot. So overwriting /etc/default/grub all the time might not be welcome there. for Leap 42.1, this is less of an issue, as the openSUSE-release package won't be updated post release... I can add something like this to opensuse-release.spec: %post for script in %{_sysconfdir}/events/os-release.d/*; do if [ -x "$script" ]; then $script || : fi done -- You are receiving this mail because: You are on the CC list for the bug.