[Pkg-zfsonlinux-devel] [SCM] zfs branch, master, updated. debian/0.6.5.8-3-22-gb98f797

Aron Xu aron at debian.org
Mon Mar 27 07:34:11 UTC 2017


The following commit has been merged in the master branch:
commit 16cf48d9aba7895d421f145961f3b1aea137889d
Author: Aron Xu <aron at debian.org>
Date:   Sun Mar 19 18:13:27 2017 +0800

    Add zfs initramfs conf for root pool setup (Closes: #848157, LP: #1673197)

diff --git a/debian/zfs b/debian/zfs
new file mode 100644
index 0000000..5103cc4
--- /dev/null
+++ b/debian/zfs
@@ -0,0 +1,8 @@
+for x in $(cat /proc/cmdline)
+do
+	case $x in
+		root=ZFS=*)
+			BOOT=zfs
+			;;
+	esac
+done
diff --git a/debian/zfs-initramfs.install b/debian/zfs-initramfs.install
index efd8c64..f1b2e61 100644
--- a/debian/zfs-initramfs.install
+++ b/debian/zfs-initramfs.install
@@ -1 +1,2 @@
 usr/share/initramfs-tools/*
+debian/zfs usr/share/initramfs-tools/conf.d/

-- 
UNNAMED PROJECT



More information about the Pkg-zfsonlinux-devel mailing list