mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
a893627fac
When upgrading from the distribution-provided zfs-initramfs package on root-on-zfs Ubuntu and Debian the system may fail to boot: this change adds the missing initramfs configuration file. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Richard Laager <rlaager@wiktel.com> Signed-off-by: loli10K <ezomori.nozomu@gmail.com> Closes #7158
9 lines
99 B
Plaintext
9 lines
99 B
Plaintext
for x in $(cat /proc/cmdline)
|
|
do
|
|
case $x in
|
|
root=ZFS=*|root=zfs:*)
|
|
BOOT=zfs
|
|
;;
|
|
esac
|
|
done
|