diff options
-rw-r--r-- | meta-filesystems/recipes-filesystems/zfs/zfs_2.1.9.bb | 36 |
1 files changed, 23 insertions, 13 deletions
diff --git a/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.9.bb b/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.9.bb index 77daab7dd5..573561db25 100644 --- a/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.9.bb +++ b/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.9.bb | |||
@@ -27,12 +27,16 @@ EXTRA_OECONF:append = " \ | |||
27 | --with-linux=${STAGING_KERNEL_DIR} --with-linux-obj=${STAGING_KERNEL_BUILDDIR} \ | 27 | --with-linux=${STAGING_KERNEL_DIR} --with-linux-obj=${STAGING_KERNEL_BUILDDIR} \ |
28 | --with-mounthelperdir=${base_sbin} \ | 28 | --with-mounthelperdir=${base_sbin} \ |
29 | --with-udevdir=${base_libdir}/udev \ | 29 | --with-udevdir=${base_libdir}/udev \ |
30 | --with-systemdunitdir=${systemd_system_unitdir} \ | ||
31 | --with-systemdgeneratordir=${nonarch_base_libdir}/systemd/system-generators \ | ||
32 | --with-systemdpresetdir=${nonarch_base_libdir}/systemd/system-preset \ | ||
33 | --with-systemdmodulesloaddir=${sysconfdir}/module-load.d \ | ||
30 | --without-dracutdir \ | 34 | --without-dracutdir \ |
31 | " | 35 | " |
32 | 36 | ||
33 | EXTRA_OEMAKE:append = " \ | 37 | EXTRA_OEMAKE:append = " \ |
34 | INSTALL_MOD_PATH=${D}${root_prefix} \ | 38 | INSTALL_MOD_PATH=${D}${root_prefix} \ |
35 | " | 39 | " |
36 | 40 | ||
37 | do_install:append() { | 41 | do_install:append() { |
38 | # /usr/share/zfs contains the zfs-tests folder which we do not need: | 42 | # /usr/share/zfs contains the zfs-tests folder which we do not need: |
@@ -42,19 +46,25 @@ do_install:append() { | |||
42 | } | 46 | } |
43 | 47 | ||
44 | FILES:${PN} += "\ | 48 | FILES:${PN} += "\ |
45 | ${base_sbindir}/* \ | 49 | ${nonarch_base_libdir}/modules \ |
46 | ${base_libdir}/* \ | 50 | ${systemd_system_unitdir} \ |
47 | ${sysconfdir}/* \ | 51 | ${nonarch_base_libdir}/systemd/system-generators \ |
48 | ${sbindir}/* \ | 52 | ${nonarch_base_libdir}/systemd/system-preset \ |
49 | ${bindir}/* \ | 53 | ${sysconfdir}/modules-load.d/${BPN}.conf \ |
50 | ${libexecdir}/${BPN}/* \ | 54 | ${sysconfdir}/default/${BPN} \ |
51 | ${libdir}/* \ | 55 | ${sysconfdir}/sudoers.d/${BPN} \ |
52 | " | 56 | ${sysconfdir}/${BPN} \ |
57 | ${base_libdir}/udev \ | ||
58 | ${sbindir} \ | ||
59 | ${bindir} \ | ||
60 | ${libexecdir}/${BPN} \ | ||
61 | ${libdir} \ | ||
62 | " | ||
53 | 63 | ||
54 | FILES:${PN}-dev += "\ | 64 | FILES:${PN}-dev += "\ |
55 | ${prefix}/src/zfs-${PV}/* \ | 65 | ${prefix}/src/zfs-${PV} \ |
56 | ${prefix}/src/spl-${PV}/* \ | 66 | ${prefix}/src/spl-${PV} \ |
57 | " | 67 | " |
58 | # Not yet ported to rv32 | 68 | # Not yet ported to rv32 |
59 | COMPATIBLE_HOST:riscv32 = "null" | 69 | COMPATIBLE_HOST:riscv32 = "null" |
60 | # conflicting definition of ABS macro from asm/asm.h from kernel | 70 | # conflicting definition of ABS macro from asm/asm.h from kernel |