Package Details: powerofforreboot.efi 20190517-2

Git Clone URL: https://aur.archlinux.org/powerofforreboot.efi.git (read-only, click to copy)
Package Base: powerofforreboot.efi
Description: Utilities to be used from within a UEFI boot manager or shell
Upstream URL: None
Keywords: boot uefi
Licenses: GPL-2.0-only
Submitter: ron2138
Maintainer: wooptoo
Last Packager: wooptoo
Votes: 6
Popularity: 0.47
First Submitted: 2019-05-21 15:36 (UTC)
Last Updated: 2026-02-14 03:32 (UTC)

Dependencies (1)

Required by (0)

Sources (4)

Pinned Comments

ron2138 commented on 2026-02-14 01:36 (UTC)

According to systemd-boot(7) § KEY BINDINGS, there are the following key bindings: Shift+o power off the system and Shift+b reboot the system. Both added in version 255. Both GRUB and rEFInd have similar feature. I guess most, or perhaps all, other UEFI boot managers have it too.

Latest Comments

1 2 Next › Last »

marmis commented on 2026-02-14 02:33 (UTC) (edited on 2026-02-14 02:33 (UTC) by marmis)

Nice! If you're interested, official packages are licensed under 0BSD, like https://gitlab.archlinux.org/archlinux/packaging/packages/pam/-/commit/2c4ed078b6a771c538dd421bc06ba4b88f45b0d4.

And here is how files under another another license are included: https://gitlab.archlinux.org/archlinux/packaging/packages/libkrun/-/commit/3d40472c894c29ba31d8e39b0866ca5696bcb1e2.

So the pattern would be PKGBUILD and .SRCINFO under 0BSD, with Makefile and and the C sources under GPL-2.0-only or GPL-2.0-or-later. But it's up the maintainer to follow this.

ron2138 commented on 2026-02-14 02:23 (UTC) (edited on 2026-02-14 02:34 (UTC) by ron2138)

@wooptoo, who commented on 2026-02-14 02:07 (UTC): My understanding is a GPL2 license is already assigned to this entire repo. Where am I wrong? In any case, I would be happy for you to maintain it and update it with a GPL2 license to this entire repo.

wooptoo commented on 2026-02-14 02:07 (UTC)

ron2138 thanks for maintaining this package over the years, I'm happy to update it and maintain it. I still find these boot entries very useful to have.

For the avoidance of any doubt wrt licensing; would you be happy for me to assign a GPL2 license to this entire repo?

Thanks

ron2138 commented on 2026-02-14 02:02 (UTC) (edited on 2026-02-14 02:17 (UTC) by ron2138)

@mermis. Thank you for the comment from 2026-02-10 07:03 (UTC). Due to systemd-boot(7) § KEY BINDINGS Shift+b and Shift+o, the package looks to me redundant at this time. I no longer use it. I have disowned it. The patch you wrote looks to me straight forward, but I will not test it. Indeed binutils 2.46-1 is in Core at the time of this writing.

ron2138 commented on 2026-02-14 01:36 (UTC)

According to systemd-boot(7) § KEY BINDINGS, there are the following key bindings: Shift+o power off the system and Shift+b reboot the system. Both added in version 255. Both GRUB and rEFInd have similar feature. I guess most, or perhaps all, other UEFI boot managers have it too.

marmis commented on 2026-02-10 07:03 (UTC)

@ron2138 Makefile needs to be updated for binutils 2.46, see https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=binutils/NEWS;;hb=refs/tags/binutils-2_46.

diff --git a/Makefile b/Makefile
index 6dd34c1..aa661c0 100644
--- a/Makefile
+++ b/Makefile
@@ -28 +28 @@ all: poweroff.efi  reboot.efi
-       --target=efi-app-$(ARCH) $^ $@
+       --output-target=efi-app-$(ARCH) $^ $@

HaloSlayer255 commented on 2025-10-25 14:13 (UTC) (edited on 2025-10-25 14:15 (UTC) by HaloSlayer255)

I got it working.

/boot/loader/entries/poweroff.conf (changed to remove the 70-)

title POWER OFF
efi /poweroff.efi

/boot/loader/entries/reboot.conf (changed to remove the 71-)

title Reboot
efi /reboot.efi

I placed the .efi files at /boot/poweroff.efi and /boot/reboot.efi

I'm guessing I got confused at where to put the files and it was one directory deep than it should have been. I previously had the files at /boot/EFI/ and that may have been why they weren't seen. I also signed the .efi files to make sure they boot with secure boot enabled.

Cheers!

ron2138 commented on 2025-10-25 10:56 (UTC) (edited on 2025-10-25 11:09 (UTC) by ron2138)

Replying to HaloSlayer255 comment from 2025-10-18 04:59 (UTC) (and edited afterwards):

Can you replace the content of /boot/loader/entries/70-poweroff.conf with

title    POWER OFF
efi      /EFI/poweroff.efi

and let us know what the results were? Do note I know very little about secure boot. I can not tell which files should, or should not, be signed.

Can you also share other entry files you have, such as the Linux kernel entry file?

HaloSlayer255 commented on 2025-10-18 04:59 (UTC) (edited on 2025-10-21 02:26 (UTC) by HaloSlayer255)

Hello, I'm trying to add these entries to systemd-boot. If I have secure boot enabled, do these also need signed to work with systemd-boot.

I've made these entry files:

/boot/loader/entries/70-poweroff.conf

title POWER OFF
efi /boot/poweroff.efi
efi /EFI/poweroff.efi
efi /boot/EFI/poweroff.efi
/boot/loader/entries/71-reboot.conf
title Reboot
efi /boot/reboot.efi
efi /EFI/reboot.efi
efi /boot/EFI/reboot.efi

The poweroff.efi and reboot.efi files are located at:

/boot/poweroff.efi

/boot/reboot.efi

/boot/EFI/poweroff.efi

/boot/EFI/reboot.efi

I wonder what I could be doing wrong to prevent these from displaying properly?

Thank you to anyone who sees this in advance and have a good day!

SalvatoreN commented on 2024-03-13 12:18 (UTC)

Ty so much wooptoo. Now are present in list. Really appreciated :D