logo

make-initrd

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/make-initrd.git
commit: 31a738024f7c0945d54f1dd221260cda82a41d43
parent 66fb82207ed6a735a3219cf5d5e66b75b4caf63e
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 24 Sep 2022 07:05:10 +0200

init: Handle ZFS= prefix for root= cmdline variable

Diffstat:

Minit2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/init b/init @@ -53,6 +53,8 @@ for arg in $(cat /proc/cmdline); do esac done +root="${root/#ZFS=}" + "$dev_hotplug" -s || die command -v "$dev_hotplug" > /proc/sys/kernel/hotplug