* [meta-filesystems][PATCH] Add zfs recipe
@ 2022-05-06 6:55 Windel Bouwman
0 siblings, 0 replies; 4+ messages in thread
From: Windel Bouwman @ 2022-05-06 6:55 UTC (permalink / raw)
To: openembedded-devel; +Cc: Windel Bouwman
Signed-off-by: Windel Bouwman <windel@windel.nl>
---
.../recipes-filesystems/zfs/zfs_2.1.4.bb | 54 +++++++++++++++++++
1 file changed, 54 insertions(+)
create mode 100644 meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb
diff --git a/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb b/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb
new file mode 100644
index 000000000..072af7901
--- /dev/null
+++ b/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb
@@ -0,0 +1,54 @@
+
+SUMMARY = "OpenZFS on Linux and FreeBSD"
+DESCRIPTION = "OpenZFS on Linux and FreeBSD"
+LICENSE = "CDDL-1.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=7087caaf1dc8a2856585619f4a787faa"
+HOMEPAGE ="https://github.com/openzfs/zfs"
+
+SRC_URI = "https://github.com/openzfs/zfs/releases/download/${BPN}-${PV}/${BPN}-${PV}.tar.gz"
+SRC_URI[sha256sum] = "3b52c0d493f806f638dca87dde809f53861cd318c1ebb0e60daeaa061cf1acf6"
+
+# Using both 'module' and 'autotools' classes seems a bit odd, they both
+# define a do_compile function.
+# That's why we opt for module-base, also this prevents module splitting.
+inherit module-base pkgconfig autotools
+
+DEPENDS = "virtual/kernel zlib util-linux libtirpc openssl curl"
+
+PACKAGECONFIG[pam] = "--enable-pam --with-pamconfigsdir=${datadir}/pam-configs --with-pammoduledir=${libdir}/security, --disable-pam"
+
+EXTRA_OECONF:append = " \
+ --disable-pyzfs \
+ --with-linux=${STAGING_KERNEL_DIR} --with-linux-obj=${STAGING_KERNEL_BUILDDIR} \
+ --with-mounthelperdir=${base_sbin} \
+ --with-udevdir=${base_libdir}/udev \
+ --enable-systemd \
+ --disable-sysvinit \
+ --without-dracutdir \
+ "
+
+EXTRA_OEMAKE:append = " \
+ INSTALL_MOD_PATH=${D}${root_prefix} \
+ "
+
+do_install:append() {
+ # /usr/share/zfs contains the zfs-tests folder which we do not need:
+ rm -rf ${D}${datadir}/zfs
+
+ rm -rf ${D}${datadir}/initramfs-tools
+}
+
+FILES:${PN} += "\
+ ${base_sbindir}/* \
+ ${base_libdir}/* \
+ ${sysconfdir}/* \
+ ${sbindir}/* \
+ ${bindir}/* \
+ ${libexecdir}/${BPN}/* \
+ ${libdir}/* \
+ "
+
+FILES:${PN}-dev += "\
+ ${prefix}/src/zfs-${PV}/* \
+ ${prefix}/src/spl-${PV}/* \
+ "
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [meta-filesystems][PATCH] Add zfs recipe
@ 2022-05-05 14:27 Windel Bouwman
0 siblings, 0 replies; 4+ messages in thread
From: Windel Bouwman @ 2022-05-05 14:27 UTC (permalink / raw)
To: openembedded-devel; +Cc: Windel Bouwman
Signed-off-by: Windel Bouwman <windel@windel.nl>
---
.../recipes-filesystems/zfs/zfs_2.1.4.bb | 54 +++++++++++++++++++
1 file changed, 54 insertions(+)
create mode 100644 meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb
diff --git a/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb b/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb
new file mode 100644
index 000000000..ebe2ec39d
--- /dev/null
+++ b/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb
@@ -0,0 +1,54 @@
+
+SUMMARY = "OpenZFS on Linux and FreeBSD"
+DESCRIPTION = "OpenZFS on Linux and FreeBSD"
+LICENSE = "CDDL-1.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=7087caaf1dc8a2856585619f4a787faa"
+HOMEPAGE ="https://github.com/openzfs/zfs"
+
+SRC_URI = "https://github.com/openzfs/zfs/releases/download/${BPN}-${PV}/${BPN}-${PV}.tar.gz"
+SRC_URI[sha256sum] = "3b52c0d493f806f638dca87dde809f53861cd318c1ebb0e60daeaa061cf1acf6"
+
+# Using both 'module' and 'autotools' classes seems a bit odd, they both
+# define a do_compile function.
+# That's why we opt for module-base, also this prevents module splitting.
+inherit module-base pkgconfig autotools
+
+DEPENDS = "virtual/kernel zlib util-linux libtirpc openssl"
+
+PACKAGECONFIG[pam] = "--enable-pam --with-pamconfigsdir=${datadir}/pam-configs --with-pammoduledir=${libdir}/security, --disable-pam"
+
+EXTRA_OECONF:append = " \
+ --disable-pyzfs \
+ --with-linux=${STAGING_KERNEL_DIR} --with-linux-obj=${STAGING_KERNEL_BUILDDIR} \
+ --with-mounthelperdir=${base_sbin} \
+ --with-udevdir=${base_libdir}/udev \
+ --enable-systemd \
+ --disable-sysvinit \
+ --without-dracutdir \
+ "
+
+EXTRA_OEMAKE:append = " \
+ INSTALL_MOD_PATH=${D}${root_prefix} \
+ "
+
+do_install:append() {
+ # /usr/share/zfs contains the zfs-tests folder which we do not need:
+ rm -rf ${D}${datadir}/zfs
+
+ rm -rf ${D}${datadir}/initramfs-tools
+}
+
+FILES:${PN} += "\
+ ${base_sbindir}/* \
+ ${base_libdir}/* \
+ ${sysconfdir}/* \
+ ${sbindir}/* \
+ ${bindir}/* \
+ ${libexecdir}/${BPN}/* \
+ ${libdir}/* \
+ "
+
+FILES:${PN}-dev += "\
+ ${prefix}/src/zfs-${PV}/* \
+ ${prefix}/src/spl-${PV}/* \
+ "
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [meta-filesystems][PATCH] Add zfs recipe
@ 2022-05-02 14:14 Windel Bouwman
0 siblings, 0 replies; 4+ messages in thread
From: Windel Bouwman @ 2022-05-02 14:14 UTC (permalink / raw)
To: openembedded-devel; +Cc: Windel Bouwman
Signed-off-by: Windel Bouwman <windel@windel.nl>
---
.../recipes-filesystems/zfs/zfs_2.1.4.bb | 46 +++++++++++++++++++
1 file changed, 46 insertions(+)
create mode 100644 meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb
diff --git a/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb b/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb
new file mode 100644
index 000000000..01a64cc95
--- /dev/null
+++ b/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb
@@ -0,0 +1,46 @@
+
+SUMMARY = "OpenZFS on Linux and FreeBSD"
+DESCRIPTION = "OpenZFS on Linux and FreeBSD"
+LICENSE = "CDDL-1.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=7087caaf1dc8a2856585619f4a787faa"
+HOMEPAGE ="https://github.com/openzfs/zfs"
+
+SRC_URI = "https://github.com/openzfs/zfs/releases/download/${BPN}-${PV}/${BPN}-${PV}.tar.gz"
+SRC_URI[sha256sum] = "3b52c0d493f806f638dca87dde809f53861cd318c1ebb0e60daeaa061cf1acf6"
+
+# Using both 'module' and 'autotools' classes seems a bit odd, they both
+# define a do_compile function.
+# That's why we opt for module-base, also this prevents module splitting.
+inherit module-base pkgconfig autotools
+
+DEPENDS = "virtual/kernel zlib util-linux libtirpc openssl"
+
+EXTRA_OECONF:append = " \
+ --disable-pyzfs \
+ --with-linux=${STAGING_KERNEL_DIR} --with-linux-obj=${STAGING_KERNEL_BUILDDIR} \
+ --enable-systemd \
+ --disable-sysvinit \
+ --without-dracutdir \
+ "
+
+do_install:append() {
+ # /usr/share/zfs contains the zfs-tests folder which we do not need:
+ rm -rf ${D}${datadir}/zfs
+
+ rm -rf ${D}${datadir}/initramfs-tools
+}
+
+FILES:${PN} += "\
+ ${base_sbindir}/* \
+ ${base_libdir}/* \
+ ${sysconfdir}/* \
+ ${sbindir}/* \
+ ${bindir}/* \
+ ${libexecdir}/${BPN}/* \
+ ${libdir}/* \
+ "
+
+FILES:${PN}-dev += "\
+ ${prefix}/src/zfs-${PV}/* \
+ ${prefix}/src/spl-${PV}/* \
+ "
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [meta-filesystems][PATCH] Add zfs recipe
@ 2022-05-02 12:01 Windel Bouwman
0 siblings, 0 replies; 4+ messages in thread
From: Windel Bouwman @ 2022-05-02 12:01 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1914 bytes --]
Add zfs recipe
Signed-off-by: Windel Bouwman <windel@windel.nl>
---
.../recipes-filesystems/zfs/zfs_2.1.4.bb | 46 +++++++++++++++++++
1 file changed, 46 insertions(+)
create mode 100644 meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb
diff --git a/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb
b/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb
new file mode 100644
index 000000000..01a64cc95
--- /dev/null
+++ b/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb
@@ -0,0 +1,46 @@
+
+SUMMARY = "OpenZFS on Linux and FreeBSD"
+DESCRIPTION = "OpenZFS on Linux and FreeBSD"
+LICENSE = "CDDL-1.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=7087caaf1dc8a2856585619f4a787faa"
+HOMEPAGE ="https://github.com/openzfs/zfs"
+
+SRC_URI = "
https://github.com/openzfs/zfs/releases/download/${BPN}-${PV}/${BPN}-${PV}.tar.gz
"
+SRC_URI[sha256sum] =
"3b52c0d493f806f638dca87dde809f53861cd318c1ebb0e60daeaa061cf1acf6"
+
+# Using both 'module' and 'autotools' classes seems a bit odd, they both
+# define a do_compile function.
+# That's why we opt for module-base, also this prevents module splitting.
+inherit module-base pkgconfig autotools
+
+DEPENDS = "virtual/kernel zlib util-linux libtirpc openssl"
+
+EXTRA_OECONF:append = " \
+ --disable-pyzfs \
+ --with-linux=${STAGING_KERNEL_DIR}
--with-linux-obj=${STAGING_KERNEL_BUILDDIR} \
+ --enable-systemd \
+ --disable-sysvinit \
+ --without-dracutdir \
+ "
+
+do_install:append() {
+ # /usr/share/zfs contains the zfs-tests folder which we do not need:
+ rm -rf ${D}${datadir}/zfs
+
+ rm -rf ${D}${datadir}/initramfs-tools
+}
+
+FILES:${PN} += "\
+ ${base_sbindir}/* \
+ ${base_libdir}/* \
+ ${sysconfdir}/* \
+ ${sbindir}/* \
+ ${bindir}/* \
+ ${libexecdir}/${BPN}/* \
+ ${libdir}/* \
+ "
+
+FILES:${PN}-dev += "\
+ ${prefix}/src/zfs-${PV}/* \
+ ${prefix}/src/spl-${PV}/* \
+ "
--
2.25.1
[-- Attachment #2: Type: text/html, Size: 2652 bytes --]
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-05-06 6:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-06 6:55 [meta-filesystems][PATCH] Add zfs recipe Windel Bouwman
-- strict thread matches above, loose matches on Subject: below --
2022-05-05 14:27 Windel Bouwman
2022-05-02 14:14 Windel Bouwman
2022-05-02 12:01 Windel Bouwman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.