[systemd-devel] [PATCH v2] Add reboot to EFI support

Kay Sievers kay at vrfy.org
Thu Apr 2 11:21:54 PDT 2015


On Thu, Apr 2, 2015 at 8:18 PM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Thu, 02.04.15 15:51, Jan Janssen (medhefgo at web.de) wrote:
>
>> Hi,
>>
>> On 2015-04-02 11:34, Lennart Poettering wrote:
>> >On Thu, 26.03.15 16:09, Jan Janssen (medhefgo at web.de) wrote:
>> >
>> >Heya,
>> >
>> >Hmm, so we already support passing special reboot() parameters, and
>> >this is done by manipulating a file in /run, without introducing any
>> >new targets. To me it appears that boot-into-firmware-setup is
>> >something hat should be handled the same way, i.e. as a special
>> >parameter for the *normal* poweroff path, instead of introducing a new
>> >poweroff path for it. Of course, instead of manipulating /run for this
>> >we should directly manipulate the respective EFI variable.
>> >
>> >I hence think this should be a new switch --firmware-setup or so to
>> >systemctl. Of course, that sounds awfully specific and I don't really
>> >like too much adding a new switch just for this flag, but it's the
>> >least best option I see.
>>
>> That was my original approach. Kay said "--firmware" sounded weird.
>
> Yeah, he initially said that but 6 hours later suggested suggested
> "--firmware" again.

No, I did not. The mail contains only references about the order of
options. I dislike the global options for local verbs systemctl does,
it is confusing even in the man page, and does not scale.

Kay


More information about the systemd-devel mailing list