summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2010-04-29 10:37:15 -0700
committerBrian Behlendorf <[email protected]>2010-04-29 10:37:15 -0700
commitfa42225a3d5daa58704bdb920ec92cd95c274011 (patch)
treebcec3594c18600b1c7f594dcc5b5d4996ff32f96 /scripts
parent414f1f975e5c8ac0e9a399e992e46f517ab59828 (diff)
Add Solaris FMA style support
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/zfs-update.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/zfs-update.sh b/scripts/zfs-update.sh
index 03023eaef..83525fe03 100755
--- a/scripts/zfs-update.sh
+++ b/scripts/zfs-update.sh
@@ -94,17 +94,19 @@ cp ${SRC_UCM}/sys/u8_textprep_data.h ${DST_MOD}/unicode/include/sys/
echo "* module/zcommon"
mkdir -p ${DST_MOD}/zcommon/include/sys/fs/
-mkdir -p ${DST_MOD}/zcommon/include/sys/fm/fs/
cp ${SRC_CM}/zfs/*.c ${DST_MOD}/zcommon/
cp ${SRC_CM}/zfs/*.h ${DST_MOD}/zcommon/include/
cp ${SRC_UCM}/sys/fs/zfs.h ${DST_MOD}/zcommon/include/sys/fs/
-cp ${SRC_UCM}/sys/fm/fs/zfs.h ${DST_MOD}/zcommon/include/sys/fm/fs/
echo "* module/zfs"
-mkdir -p ${DST_MOD}/zpool/include/sys/
+mkdir -p ${DST_MOD}/zfs/include/sys/fm/fs/
cp ${SRC_UTS}/intel/zfs/spa_boot.c ${DST_MOD}/zfs/
cp ${SRC_ZLIB}/*.c ${DST_MOD}/zfs/
cp ${SRC_ZLIB}/sys/*.h ${DST_MOD}/zfs/include/sys/
+cp ${SRC_UCM}/os/fm.c ${DST_MOD}/zfs/
+cp ${SRC_UCM}/sys/fm/protocol.h ${DST_MOD}/zfs/include/sys/fm/
+cp ${SRC_UCM}/sys/fm/util.h ${DST_MOD}/zfs/include/sys/fm/
+cp ${SRC_UCM}/sys/fm/fs/zfs.h ${DST_MOD}/zfs/include/sys/fm/fs/
rm ${DST_MOD}/zfs/vdev_disk.c
rm ${DST_MOD}/zfs/zvol.c
rm ${DST_MOD}/zfs/include/sys/vdev_disk.h