mirror of
https://git.yoctoproject.org/meta-security
synced 2026-05-07 04:58:47 +00:00
recipes: fix whitespace warnings
Since OE bitbake commit 24772dd2ae6c ("parse/ConfHandler: Add warning for
deprecated whitespace usage"), the current build generates the following
warning (as example):
| WARNING: ...meta-security/meta-tpm/recipes-core/systemd/systemd-boot_%.bbappend:7
| has a lack of whitespace around the assignment:
| 'EXTRA_OEMESON:append= " ${@bb.utils.contains('DISTRO_FEATURES', 'tpm2', '-Dtpm2=true', '', d)} "'
Fix all the warnings.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
b573f0c535
commit
5b6ea2a099
@@ -2,6 +2,6 @@ DEPENDS += "\
|
|||||||
${@bb.utils.contains('DISTRO_FEATURES', 'tpm2', 'tpm2-tss libtss2 libtss2-tcti-device', '', d)} \
|
${@bb.utils.contains('DISTRO_FEATURES', 'tpm2', 'tpm2-tss libtss2 libtss2-tcti-device', '', d)} \
|
||||||
"
|
"
|
||||||
|
|
||||||
EXTRA_OEMESON:append= "\
|
EXTRA_OEMESON:append = "\
|
||||||
${@bb.utils.contains('DISTRO_FEATURES', 'tpm2', '-Dtpm2=true', '', d)} \
|
${@bb.utils.contains('DISTRO_FEATURES', 'tpm2', '-Dtpm2=true', '', d)} \
|
||||||
"
|
"
|
||||||
|
|||||||
@@ -15,8 +15,8 @@ S = "${WORKDIR}/git"
|
|||||||
PARALLEL_MAKE = ""
|
PARALLEL_MAKE = ""
|
||||||
inherit autotools pkgconfig perlnative
|
inherit autotools pkgconfig perlnative
|
||||||
|
|
||||||
TSS_USER="tss"
|
TSS_USER = "tss"
|
||||||
TSS_GROUP="tss"
|
TSS_GROUP = "tss"
|
||||||
|
|
||||||
PACKAGECONFIG ?= "openssl gnutls"
|
PACKAGECONFIG ?= "openssl gnutls"
|
||||||
PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}"
|
PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}"
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ USERADD_PACKAGES = "${PN}"
|
|||||||
GROUPADD_PARAM:${PN} = "tss"
|
GROUPADD_PARAM:${PN} = "tss"
|
||||||
USERADD_PARAM:${PN} = "--system -M -d /var/lib/tpm -s /bin/false -g tss tss"
|
USERADD_PARAM:${PN} = "--system -M -d /var/lib/tpm -s /bin/false -g tss tss"
|
||||||
|
|
||||||
PACKAGECONFIG ?="${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd', '', d)}"
|
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd', '', d)}"
|
||||||
PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir}, --with-systemdsystemunitdir=no"
|
PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir}, --with-systemdsystemunitdir=no"
|
||||||
|
|
||||||
do_install:append() {
|
do_install:append() {
|
||||||
|
|||||||
Reference in New Issue
Block a user