X-Git-Url: http://git.datanom.net/omvzfs.git/blobdiff_plain/e39afba819f1986779412e3bbbb5febf0ec00ce5..6b3ce31b7350912d6080771f0f02f0990fdcbf5e:/build-package.sh?ds=sidebyside diff --git a/build-package.sh b/build-package.sh new file mode 100755 index 0000000..4a30205 --- /dev/null +++ b/build-package.sh @@ -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 +