From: "Peter Müller" <peter.mueller@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH 1/3] mountkernfs: Mount /sys/firmware/efi/efivars on EFI systems
Date: Wed, 17 Nov 2021 20:10:21 +0000 [thread overview]
Message-ID: <feacf32e-cd53-ecfe-d5e7-11ffddc1c991@ipfire.org> (raw)
In-Reply-To: <20211104090554.6510-1-michael.tremer@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 915 bytes --]
Reviewed-by: Peter Müller <peter.mueller(a)ipfire.org>
> Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
> ---
> src/initscripts/system/mountkernfs | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/src/initscripts/system/mountkernfs b/src/initscripts/system/mountkernfs
> index 264da24c4..1f1426077 100644
> --- a/src/initscripts/system/mountkernfs
> +++ b/src/initscripts/system/mountkernfs
> @@ -39,6 +39,11 @@ case "${1}" in
> mount -t cgroup2 none /sys/fs/cgroup || failed=1
> fi
>
> + if ! mountpoint /sys/firmware/efi/efivars &>/dev/null && [ -d "/sys/firmware/efi" ]; then
> + boot_mesg -n " /sys/firmware/efi/efivars" ${NORMAL}
> + mount -t efivarfs efivarfs /sys/firmware/efi/efivars || failed=1
> + fi
> +
> # create folder for dhcpcd changeroot
> mkdir -p /run/dhcpcd/chroot
> chown dhcpcd:dhcpcd /run/dhcpcd/chroot
>
prev parent reply other threads:[~2021-11-17 20:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-04 9:05 Michael Tremer
2021-11-04 9:05 ` [PATCH 2/3] installer: Setup efivarfs when possible Michael Tremer
2021-11-17 20:09 ` Peter Müller
2021-11-04 9:05 ` [PATCH 3/3] installer: Bind-mount /sys/firmware/efi/efivars into chroot Michael Tremer
2021-11-17 20:11 ` Peter Müller
2021-11-18 11:09 ` Michael Tremer
2021-11-19 6:30 ` Peter Müller
2021-11-19 11:10 ` Michael Tremer
2021-11-17 20:10 ` Peter Müller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=feacf32e-cd53-ecfe-d5e7-11ffddc1c991@ipfire.org \
--to=peter.mueller@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox