summaryrefslogtreecommitdiffstats
path: root/scripts/update-zfs.sh
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2008-12-11 11:14:49 -0800
committerBrian Behlendorf <[email protected]>2008-12-11 11:14:49 -0800
commit77755a5771c339a1d96c36ab1a8f1e41e14507f0 (patch)
tree2e4b2e7b3b56b8aa4a3bf054491b59e69aa5fb2a /scripts/update-zfs.sh
parent172bb4bd5e4afef721dd4d2972d8680d983f144b (diff)
Add a few missing files
Diffstat (limited to 'scripts/update-zfs.sh')
-rwxr-xr-xscripts/update-zfs.sh16
1 files changed, 9 insertions, 7 deletions
diff --git a/scripts/update-zfs.sh b/scripts/update-zfs.sh
index 158457a35..ce772fd24 100755
--- a/scripts/update-zfs.sh
+++ b/scripts/update-zfs.sh
@@ -89,13 +89,6 @@ cp ${SRC_ZLIB}/sys/*.h ${DST_MOD}/zfs/include/sys/
rm ${DST_MOD}/zfs/vdev_disk.c
rm ${DST_MOD}/zfs/include/sys/vdev_disk.h
-echo " lib/libzpool"
-mkdir -p ${DST_LIB}/libzpool/include/sys/
-cp ${SRC_LIB}/libzpool/common/kernel.c ${DST_LIB}/libzpool/
-cp ${SRC_LIB}/libzpool/common/taskq.c ${DST_LIB}/libzpool/
-cp ${SRC_LIB}/libzpool/common/util.c ${DST_LIB}/libzpool/
-cp ${SRC_LIB}/libzpool/common/sys/zfs_context.h ${DST_LIB}/libzpool/include/sys/
-
echo "* lib/libspl"
mkdir -p ${DST_LIB}/libspl/include/sys/
cp ${SRC_LIB}/libc/port/gen/strlcat.c ${DST_LIB}/libspl/
@@ -112,6 +105,13 @@ mkdir -p ${DST_LIB}/libuutil/include/
cp ${SRC_LIB}/libuutil/common/*.c ${DST_LIB}/libuutil/
cp ${SRC_LIB}/libuutil/common/*.h ${DST_LIB}/libuutil/include/
+echo "* lib/libzpool"
+mkdir -p ${DST_LIB}/libzpool/include/sys/
+cp ${SRC_LIB}/libzpool/common/kernel.c ${DST_LIB}/libzpool/
+cp ${SRC_LIB}/libzpool/common/taskq.c ${DST_LIB}/libzpool/
+cp ${SRC_LIB}/libzpool/common/util.c ${DST_LIB}/libzpool/
+cp ${SRC_LIB}/libzpool/common/sys/zfs_context.h ${DST_LIB}/libzpool/include/sys/
+
echo "* lib/libzfs"
mkdir -p ${DST_LIB}/libzfs/include/
cp ${SRC_LIB}/libzfs/common/*.c ${DST_LIB}/libzfs/
@@ -144,4 +144,6 @@ echo "* cmd/ztest"
mkdir -p ${DST_CMD}/ztest
cp ${SRC_CMD}/ztest/*.c ${DST_CMD}/ztest/
+echo "${REMOTE_SRC}" >${DST}/ZFS.RELEASE
+
rm -Rf ${SRC}