From 9936f86df6fc55be042cec5eb15f6e19a9e7c890 Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Mon, 19 Sep 2022 09:13:20 -0700 Subject: Run oe-stylize on our files In all of our recipes, we should be following yoctos lead on formatting, order, and other things, for consistency in our meta layers. This commit runs oe-stylize.py on all of our files. The types of changes being made can be seen in the commit, but amount to: 1. Setting an explicit key ordering 2. Sectioning the files appropriately 3. Applying rules checking to our files At some point in the near future, we would turn this on as part of repotest, but some minor changes need to be upstreamed to meta-oe (WIP) to make that happen. Looking for input on whether this is something we'd like to do, and whether the diffs below look reasonable to folks. Signed-off-by: Ed Tanous Change-Id: I489dd21d38a9fe4f3ece89cc7a5e1d0463224abf --- meta-phosphor/recipes-extended/rsyslog/rsyslog_%.bbappend | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'meta-phosphor/recipes-extended/rsyslog') diff --git a/meta-phosphor/recipes-extended/rsyslog/rsyslog_%.bbappend b/meta-phosphor/recipes-extended/rsyslog/rsyslog_%.bbappend index f04f63dd25..c87b51a81e 100644 --- a/meta-phosphor/recipes-extended/rsyslog/rsyslog_%.bbappend +++ b/meta-phosphor/recipes-extended/rsyslog/rsyslog_%.bbappend @@ -1,15 +1,14 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" +PACKAGECONFIG ??= " \ + rsyslogd rsyslogrt inet regexp uuid \ + ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ +" SRC_URI += " \ file://rsyslog.conf \ file://server.conf \ " -PACKAGECONFIG ??= " \ - rsyslogd rsyslogrt inet regexp uuid \ - ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ -" - do_install:append(){ install -m 0644 -D ${WORKDIR}/server.conf \ ${D}${sysconfdir}/rsyslog.d/server.conf -- cgit v1.2.3