]> git.datanom.net - omvzfs.git/blobdiff - build-package.sh
GUI part from Niclas as well as debian build script
[omvzfs.git] / build-package.sh
diff --git a/build-package.sh b/build-package.sh
new file mode 100755 (executable)
index 0000000..4a30205
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/bash
+rm -rf openmediavault-zfs/usr/share/openmediavault/engined/rpc
+mkdir -p openmediavault-zfs/usr/share/openmediavault/engined/rpc/zfs
+rm -rf openmediavault-zfs/var/www/openmediavault/js/omv/module/admin/service/zfs
+mkdir -p openmediavault-zfs/var/www/openmediavault/js/omv/module/admin/service/zfs
+rm -rf openmediavault-zfs/var/www/openmediavault/images
+mkdir -p openmediavault-zfs/var/www/openmediavault/images
+cp src/* openmediavault-zfs/usr/share/openmediavault/engined/rpc/zfs
+cp gui/rpc/zfs.inc openmediavault-zfs/usr/share/openmediavault/engined/rpc
+cp gui/js/omv/module/admin/service/zfs/* openmediavault-zfs/var/www/openmediavault/js/omv/module/admin/service/zfs
+cp images/* openmediavault-zfs/var/www/openmediavault/images
+cd openmediavault-zfs
+dpkg-buildpackage -us -uc
+
This page took 0.027844 seconds and 5 git commands to generate.