mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
a9ff89e05c
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
|