summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMatthew Ahrens <[email protected]>2016-09-29 21:01:50 -0700
committerBrian Behlendorf <[email protected]>2016-09-29 21:01:50 -0700
commitec009855c4a43c83837741f787ab26cb7f8edfdc (patch)
tree6f2a137041f80c25981502c044f0578a761bea40 /scripts
parent6ca636a1526ea08a7e0a972fa164b22815529d4b (diff)
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 <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matt Ahrens <[email protected]> Closes #5178
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/zol2zfs-patch.sed20
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/zol2zfs-patch.sed b/scripts/zol2zfs-patch.sed
new file mode 100755
index 000000000..bb6d9faac
--- /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