From ec009855c4a43c83837741f787ab26cb7f8edfdc Mon Sep 17 00:00:00 2001 From: Matthew Ahrens Date: Thu, 29 Sep 2016 21:01:50 -0700 Subject: [PATCH] Add a script to change file names when upstreaming to OpenZFS/illumos Add a script to change file names when upstreaming to OpenZFS/illumos. Reviewed-by: Reviewed by: Prashanth Sreenivasa Reviewed-by: Brian Behlendorf Signed-off-by: Matt Ahrens Closes #5178 --- scripts/zol2zfs-patch.sed | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 scripts/zol2zfs-patch.sed diff --git a/scripts/zol2zfs-patch.sed b/scripts/zol2zfs-patch.sed new file mode 100755 index 0000000000..bb6d9faac4 --- /dev/null +++ b/scripts/zol2zfs-patch.sed @@ -0,0 +1,20 @@ +#!/bin/sed -f + +s:cmd:usr/src/cmd:g +s:include/libzfs.h:usr/src/lib/libzfs/common/libzfs.h:g +s:include/libzfs_core.h:usr/src/lib/libzfs_core/common/libzfs_core.h:g +s:include/sys:lib/libzpool/common/sys:g +s:include/sys:usr/src/uts/common/fs/zfs/sys:g +s:include/sys:usr/src/uts/common/sys:g +s:include/zfs_fletcher.h:usr/src/common/zfs/zfs_fletcher.h:g +s:include:usr/src/common/zfs:g +s:lib/libzfs:usr/src/lib/libzfs/common:g +s:lib/libzfs_core:usr/src/lib/libzfs_core/common:g +s:lib/libzpool:lib/libzpool/common:g +s:lib/libzpool:usr/src/lib/libzpool:g +s:man/man5/zpool-features.5:usr/src/man/man5/zpool-features.5:g +s:man/man8/zfs.8:usr/src/man/man1m/zfs.1m:g +s:module/nvpair:usr/src/common/nvpair:g +s:module/zcommon:usr/src/common/zfs/:g +s:module/zfs:usr/src/uts/common/fs/zfs:g +s:tests/zfs-tests:test/zfs-tests:g