diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-05-07 18:45:43 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-05-07 18:47:16 -0700 |
commit | 48515bae74e78853cd13177a115eeb2988e0fde5 (patch) | |
tree | 8f3875aa82cb5ce70c87da9f137d7c7ed06291b9 /meta-filesystems | |
parent | a7c3aacb090e2f59803212bc7809b41991505813 (diff) | |
download | meta-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.bb | 7 |
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 | |||
2 | SUMMARY = "OpenZFS on Linux and FreeBSD" | 1 | SUMMARY = "OpenZFS on Linux and FreeBSD" |
3 | DESCRIPTION = "OpenZFS on Linux and FreeBSD" | 2 | DESCRIPTION = "OpenZFS on Linux and FreeBSD" |
4 | LICENSE = "CDDL-1.0" | 3 | LICENSE = "CDDL-1.0" |
@@ -17,15 +16,17 @@ inherit module-base pkgconfig autotools | |||
17 | 16 | ||
18 | DEPENDS = "virtual/kernel zlib util-linux libtirpc openssl curl" | 17 | DEPENDS = "virtual/kernel zlib util-linux libtirpc openssl curl" |
19 | 18 | ||
19 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd sysvinit', d)}" | ||
20 | |||
20 | PACKAGECONFIG[pam] = "--enable-pam --with-pamconfigsdir=${datadir}/pam-configs --with-pammoduledir=${libdir}/security, --disable-pam" | 21 | PACKAGECONFIG[pam] = "--enable-pam --with-pamconfigsdir=${datadir}/pam-configs --with-pammoduledir=${libdir}/security, --disable-pam" |
22 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd," | ||
23 | PACKAGECONFIG[sysvinit] = "--enable-sysvinit,--disable-sysvinit," | ||
21 | 24 | ||
22 | EXTRA_OECONF:append = " \ | 25 | EXTRA_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 | ||