[OE-core] [PATCH 1/4] systemd: Remove items that made this machine (qemu) specific

Richard Purdie richard.purdie at linuxfoundation.org
Thu Oct 18 22:57:09 UTC 2018


On Wed, 2018-10-17 at 12:43 -0400, Mark Hatle wrote:
> Create a new systemd-conf recipe to contain the specific system/machine
> configuration items.  This new package is now machine specific.
> 
> Without doing this trying to create a single system with multiple BSPs,
> one of which was qemu based, would result in the systemd -and- everything that
> dependend upon systemd to have their hash changed.  The hash changing means
> lots of rebuilds, but worse if it's a package based system each different
> machine ends with a new PR value and a newly generated package.
> 
> Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
> ---
>  meta/recipes-core/systemd/systemd-conf.bb     | 51 +++++++++++++++++++
>  ...ange-the-default-device-timeout-to-2.patch | 35 -------------
>  meta/recipes-core/systemd/systemd_239.bb      | 28 ++++------
>  3 files changed, 60 insertions(+), 54 deletions(-)
>  create mode 100644 meta/recipes-core/systemd/systemd-conf.bb
>  delete mode 100644 meta/recipes-core/systemd/systemd/0001-core-device.c-Change-the-default-device-timeout-to-2.patch
> 

With this patch, when systemd is enabled, it causes checksum issues:

$ oe-selftest -r sstatetests.SStateTests.test_sstate_sametune_samesigs

Its fixed by:

diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index 6221a057ce6..504f7fa07ad 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -74,6 +74,7 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
   gnome-icon-theme->librsvg \
   font-alias->font-util \
   systemd-boot->systemd-bootconf \
+  systemd->systemd-conf \
   weston-init->weston \
   weston-init->kbd \
 "

Cheers,

Richard




More information about the Openembedded-core mailing list