summaryrefslogtreecommitdiffstats
path: root/meta-filesystems
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-05-07 18:45:43 -0700
committerKhem Raj <raj.khem@gmail.com>2022-05-07 18:47:16 -0700
commit48515bae74e78853cd13177a115eeb2988e0fde5 (patch)
tree8f3875aa82cb5ce70c87da9f137d7c7ed06291b9 /meta-filesystems
parenta7c3aacb090e2f59803212bc7809b41991505813 (diff)
downloadmeta-openembedded-48515bae74e78853cd13177a115eeb2988e0fde5.tar.gz
zfs: Make systemd and sysvinit into packageconfigs
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-filesystems')
-rw-r--r--meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb b/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb
index fb19796ab..dd676c945 100644
--- a/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb
+++ b/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.4.bb
@@ -1,4 +1,3 @@
1
2SUMMARY = "OpenZFS on Linux and FreeBSD" 1SUMMARY = "OpenZFS on Linux and FreeBSD"
3DESCRIPTION = "OpenZFS on Linux and FreeBSD" 2DESCRIPTION = "OpenZFS on Linux and FreeBSD"
4LICENSE = "CDDL-1.0" 3LICENSE = "CDDL-1.0"
@@ -17,15 +16,17 @@ inherit module-base pkgconfig autotools
17 16
18DEPENDS = "virtual/kernel zlib util-linux libtirpc openssl curl" 17DEPENDS = "virtual/kernel zlib util-linux libtirpc openssl curl"
19 18
19PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd sysvinit', d)}"
20
20PACKAGECONFIG[pam] = "--enable-pam --with-pamconfigsdir=${datadir}/pam-configs --with-pammoduledir=${libdir}/security, --disable-pam" 21PACKAGECONFIG[pam] = "--enable-pam --with-pamconfigsdir=${datadir}/pam-configs --with-pammoduledir=${libdir}/security, --disable-pam"
22PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,"
23PACKAGECONFIG[sysvinit] = "--enable-sysvinit,--disable-sysvinit,"
21 24
22EXTRA_OECONF:append = " \ 25EXTRA_OECONF:append = " \
23 --disable-pyzfs \ 26 --disable-pyzfs \
24 --with-linux=${STAGING_KERNEL_DIR} --with-linux-obj=${STAGING_KERNEL_BUILDDIR} \ 27 --with-linux=${STAGING_KERNEL_DIR} --with-linux-obj=${STAGING_KERNEL_BUILDDIR} \
25 --with-mounthelperdir=${base_sbin} \ 28 --with-mounthelperdir=${base_sbin} \
26 --with-udevdir=${base_libdir}/udev \ 29 --with-udevdir=${base_libdir}/udev \
27 --enable-systemd \
28 --disable-sysvinit \
29 --without-dracutdir \ 30 --without-dracutdir \
30 " 31 "
31 32