Add packaging bits for TrueNAS SCALE
This commit is contained in:
parent
8e8acabdca
commit
23f878a89d
|
@ -0,0 +1,35 @@
|
||||||
|
openzfs (2.1.0-0) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Rebased to OpenZFS 2.1.0
|
||||||
|
|
||||||
|
-- Ryan Moeller <ryan@ixsystems.com> Thu, 01 Apr 2021 13:00:00 -500
|
||||||
|
|
||||||
|
openzfs (2.0.4-0) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Rebased to OpenZFS 2.0.4
|
||||||
|
|
||||||
|
-- Ryan Moeller <ryan@ixsystems.com> Tue, 09 Mar 2021 14:00:00 -0500
|
||||||
|
|
||||||
|
openzfs (2.0.3-0) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Rebased to OpenZFS 2.0.3
|
||||||
|
|
||||||
|
-- Ryan Moeller <ryan@ixsystems.com> Wed, 24 Feb 2021 15:00:00 -0500
|
||||||
|
|
||||||
|
openzfs (2.0.2-0) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Rebased to OpenZFS 2.0.2
|
||||||
|
|
||||||
|
-- Ryan Moeller <ryan@ixsystems.com> Mon, 01 Feb 2021 15:00:00 -0500
|
||||||
|
|
||||||
|
openzfs (2.0.1-0) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Rebased to OpenZFS 2.0.1
|
||||||
|
|
||||||
|
-- Ryan Moeller <ryan@ixsystems.com> Thu, 07 Jan 2021 17:34:28 -0500
|
||||||
|
|
||||||
|
openzfs (2.0.0-0) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Initial package for TrueNAS SCALE based on OpenZFS 2.0.0
|
||||||
|
|
||||||
|
-- Ryan Moeller <ryan@ixsystems.com> Mon, 14 Sep 2020 22:01:55 -0400
|
|
@ -0,0 +1 @@
|
||||||
|
12
|
|
@ -0,0 +1,10 @@
|
||||||
|
Source: openzfs
|
||||||
|
Maintainer: Ryan Moeller <ryan@iXsystems.com>
|
||||||
|
Section: truenas
|
||||||
|
Priority: extra
|
||||||
|
Build-Depends: build-essential, autoconf, automake, libtool, gawk, alien, fakeroot, libblkid-dev, uuid-dev, libudev-dev, libssl-dev, zlib1g-dev, libaio-dev, libattr1-dev, libelf-dev, linux-image-amd64, linux-headers-amd64, python3, python3-dev, python3-setuptools, python3-cffi, libffi-dev
|
||||||
|
|
||||||
|
Package: openzfs
|
||||||
|
Architecture: amd64
|
||||||
|
Depends: zfs, ${kmod}, linux-image-amd64, libnvpair3, libuutil3, libzfs5, libzpool5
|
||||||
|
Description: OpenZFS 2.1 for TrueNAS SCALE
|
|
@ -0,0 +1,7 @@
|
||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: openzfs/zfs
|
||||||
|
Source: https://github.com/openzfs/zfs
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: See AUTHORS file
|
||||||
|
License: See COPYRIGHT and LICENSE files
|
|
@ -0,0 +1,32 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
export DH_VERBOSE = 1
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
||||||
|
|
||||||
|
src!= dpkg --get-selections | awk '/^linux-headers-.*-common/ { print $$1 }'
|
||||||
|
obj!= dpkg --get-selections | awk '/^linux-headers-.*-amd64/ { print $$1 }'
|
||||||
|
krn!= dpkg --get-selections | awk '/^linux-image-.*-amd64/ { print $$1 }'
|
||||||
|
kmod= kmod-zfs-$(subst linux-image-,,$(krn))
|
||||||
|
|
||||||
|
override_dh_auto_configure:
|
||||||
|
dh_auto_configure -- \
|
||||||
|
--enable-debug --enable-debuginfo \
|
||||||
|
--with-linux=/usr/src/${src} \
|
||||||
|
--with-linux-obj=/usr/src/${obj}
|
||||||
|
|
||||||
|
override_dh_auto_test:
|
||||||
|
|
||||||
|
override_dh_shlibdeps:
|
||||||
|
|
||||||
|
override_dh_auto_install:
|
||||||
|
|
||||||
|
override_dh_gencontrol:
|
||||||
|
echo kmod=$(kmod) >> debian/openzfs.substvars
|
||||||
|
dh_gencontrol
|
||||||
|
|
||||||
|
override_dh_builddeb:
|
||||||
|
$(MAKE) deb-kmod deb-utils
|
||||||
|
mv *.deb ../
|
||||||
|
mv ../openzfs-build-deps-depends_*.deb ./
|
||||||
|
dh_builddeb
|
Loading…
Reference in New Issue