[OE-core] sysstat no longer builds (was: [PATCH 0/1] sysstat: use service file from source codes)

Peter Kjellerstedt peter.kjellerstedt at axis.com
Fri Jul 12 11:21:10 UTC 2019


[ I cannot find the actual patch in my mailbox, which is why I am 
  replying to the cover letter. ]

> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org <openembedded-core-bounces at lists.openembedded.org> On Behalf Of Chen Qi
> Sent: den 9 juli 2019 07:53
> To: openembedded-core at lists.openembedded.org
> Subject: [OE-core] [PATCH 0/1] sysstat: use service file from source codes
> 
> *** BLURB HERE ***
> The following changes since commit 4a68a44f56c725914cfa721993a2ea8a3dc6ebd5:
> 
>   cve-update-db: Catch request.urlopen errors. (2019-07-05 12:00:20 +0100)
> 
> are available in the git repository at:
> 
>   git://git.pokylinux.org/poky-contrib ChenQi/sysstat-systemd
>   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/sysstat-systemd
> 
> Chen Qi (1):
>   sysstat: use service file from source codes
> 
>  meta/recipes-extended/sysstat/sysstat.inc             |  8 ++------
>  meta/recipes-extended/sysstat/sysstat/sysstat.service | 12 ------------
>  2 files changed, 2 insertions(+), 18 deletions(-)
>  delete mode 100644 meta/recipes-extended/sysstat/sysstat/sysstat.service
> 
> --
> 1.9.1

I do not know how this was tested, but it is no longer possible to build 
sysstat after this change was integrated. I now get the following when I 
build it:

  ERROR: sysstat-12.1.3-r0 do_package: SYSTEMD_SERVICE_sysstat value sysstat.service does not exist
  ERROR: sysstat-12.1.3-r0 do_package:
  ERROR: sysstat-12.1.3-r0 do_package: Function failed: systemd_populate_packages

This is due to that the upstream package only installs the sysstat.service 
file if cron support is enabled, which it isn't by default.

There was another patch by Haiqing Bai sent on July 2 that seemed to handle 
this properly.

//Peter



More information about the Openembedded-core mailing list