What | Removed | Added |
---|---|---|
CC | 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