grub2/grub2-once.service
Michael Chang 690c7c825e Accepting request 1245717 from home:michael-chang:branches:Base:System
- Fix out of memory issue on PowerPC by increasing RMA size (bsc#1236744)
  * 0001-powerpc-increase-MIN-RMA-size-for-CAS-negotiation.patch

OBS-URL: https://build.opensuse.org/request/show/1245717
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=527
2025-02-14 03:29:15 +00:00

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