forked from pool/grub2
957b4bf706
- Switch to '--no-hostonly' when creating the ZIPL initrd in the KIWI build environment to avoid some potential issues due to the missing modules * grub2-s390x-set-hostonly.patch OBS-URL: https://build.opensuse.org/request/show/1191065 OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=510
18 lines
458 B
Desktop File
18 lines
458 B
Desktop File
[Unit]
|
|
Description=Restore grubenv
|
|
DefaultDependencies=no
|
|
After=local-fs.target
|
|
Before=sysinit.target shutdown.target
|
|
Conflicts=shutdown.target
|
|
ConditionPathIsReadWrite=/boot/grub2/grubenv
|
|
ConditionPathExists=/var/lib/misc/grub2-cleanup-once
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=-/usr/bin/grub2-editenv /boot/grub2/grubenv unset next_entry
|
|
ExecStartPost=-/usr/bin/rm -f /var/lib/misc/grub2-cleanup-once
|
|
StandardOutput=journal
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|