]> git.proxmox.com Git - mirror_zfs.git/commit
A collection of dracut fixes
authorManuel Amador (Rudd-O) <rudd-o@rudd-o.com>
Sun, 24 Apr 2016 11:35:44 +0000 (11:35 +0000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 12 May 2016 21:31:15 +0000 (14:31 -0700)
commitd402c18dd60124525b253b27c5018f54a030928d
tree1057315f14baad460620b4340a9f312d57432463
parent8adb798aa50849cc3f6e099fcae7c29db1b83e39
A collection of dracut fixes

- In older systems without sysroot.mount, import before dracut-mount,
  and re-enable old dracut mount hook
- rootflags MUST be present even if the administrator neglected to
  specify it explicitly
- Check that mount.zfs exists in sbindir
- Remove awk and head as (now unused) requirements, add grep, and
  install the right mount.zfs
- Eliminate one use of grep in Dracut
- Use a more accurate grepping statement to identify zfsutil in rootflags
- Ensure that pooldev is nonempty
- Properly handle /dev/sd* devices and more
- Use new -P to get list of zpool devices
- Bail out of the generator when zfs:AUTO is on the root command line
- Ignore errors from systemctl trying to load sysroot.mount, we only
  care about the output
- Determine which one is the correct initqueuedir at run time.
- Add a compatibility getargbool for our detection / setup script.
- Update dracut .gitignore files

Signed-off-by: <Matthew Thode mthode@mthode.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4558
Closes #4562
contrib/dracut/02zfsexpandknowledge/.gitignore [new file with mode: 0644]
contrib/dracut/02zfsexpandknowledge/module-setup.sh.in
contrib/dracut/90zfs/.gitignore
contrib/dracut/90zfs/module-setup.sh.in
contrib/dracut/90zfs/mount-zfs.sh.in
contrib/dracut/90zfs/parse-zfs.sh.in
contrib/dracut/90zfs/zfs-generator.sh.in [changed mode: 0644->0755]
contrib/dracut/90zfs/zfs-lib.sh.in
etc/systemd/system/zfs-import-cache.service.in
etc/systemd/system/zfs-import-scan.service.in