zfs/contrib/dracut/90zfs
наб 0864c29e7c contrib; dracut: centralise root= parsing, actually support root=s
So far, everything parsed root= manually, which meant that while
zfs-parse.sh was updated, and supposedly supported + -> ' ' conversion,
it meant nothing

Instead, centralise parsing, and allow:
  root=
  root=zfs
  root=zfs:
  root=zfs:AUTO

  root=ZFS=data/set
  root=zfs:data/set
  root=zfs:ZFS=data/set (as a side-effect; allowed but undocumented)

  rootfstype=zfs AND root=data/set <=> root=data/set
  rootfstype=zfs AND root=         <=> root=zfs:AUTO

So rootfstype=zfs /also/ behaves as expected, and + decoding works

Upstream-commit: 245529d85f
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13291
2022-05-06 12:01:48 -07:00
..
.gitignore dracut: 90zfs: respect zfs_force=1 on systemd systems 2021-06-10 10:50:16 -07:00
Makefile.am dracut: 90zfs: respect zfs_force=1 on systemd systems 2021-06-10 10:50:16 -07:00
export-zfs.sh.in contrib/dracut: zfs-lib: export_all: replace with inline zpool export -a 2022-05-06 12:01:48 -07:00
import-opts-generator.sh.in dracut: 90zfs: respect zfs_force=1 on systemd systems 2021-06-10 10:50:16 -07:00
module-setup.sh.in libfetch: unquote @LIBFETCH_SONAME@ subst 2022-02-16 17:58:55 -08:00
mount-zfs.sh.in contrib; dracut: centralise root= parsing, actually support root=s 2022-05-06 12:01:48 -07:00
parse-zfs.sh.in contrib; dracut: centralise root= parsing, actually support root=s 2022-05-06 12:01:48 -07:00
zfs-env-bootfs.service.in libzfs: add keylocation=https://, backed by fetch(3) or libcurl 2022-02-16 17:58:37 -08:00
zfs-generator.sh.in contrib; dracut: centralise root= parsing, actually support root=s 2022-05-06 12:01:48 -07:00
zfs-lib.sh.in contrib; dracut: centralise root= parsing, actually support root=s 2022-05-06 12:01:48 -07:00
zfs-load-key.sh.in contrib; dracut: centralise root= parsing, actually support root=s 2022-05-06 12:01:48 -07:00
zfs-needshutdown.sh.in dracut: use /bin/sh instead of bash as the intepreter 2020-11-28 11:02:08 -08:00
zfs-rollback-bootfs.service.in libzfs: add keylocation=https://, backed by fetch(3) or libcurl 2022-02-16 17:58:37 -08:00
zfs-snapshot-bootfs.service.in libzfs: add keylocation=https://, backed by fetch(3) or libcurl 2022-02-16 17:58:37 -08:00