[oe] [meta-oe][v2] 00/22] systemd rework

Andreas Müller schnitzeltony at googlemail.com
Thu Feb 16 02:02:54 UTC 2012


V1 -> V2:
[2]  do not check configuration variables for cross and nativesdk
[3]  rename systemd_package to systemd_generate_package_scripts
[6]  parse unit files to determine the files to pack
[7]  create warning if *-systemd package already rdepends
     it's base package
added in V2:
[8]-[20] remove obsolet systemd code from recipes (these were used as
     test cases)
[21] dhcp-(relay) test case for multiple systemd packages
[22] modified to start service

The following tests were performed:
* build from scratch with [1]-[7] / run test
* build from scratch / apply patches / build -> check buildhistory diff
* build from scratch w/o patches / build from scratch with patches -> check
  buildhistory diff

Additional patches were prepared for other recipes inheriting systemd. These are
not yet send because they move systemd support from ${PN} to ${PN}-systemd which
currently needs modifications on tasks/images. I'd be happy if a common accepted
solution would be suggested/implemented (image-feature?).

This patch series can be pulled from:
git://gitorious.org/schnitzeltony-oe-meta/meta-openembedded-systemd.git branch systemd2

Andreas Müller (22):
  systemd-systemctl-native: add multiple services support
  systemd.bbclass: enhance checks for SYSTEMD_PACKAGES and
    SYSTEMD_SERVICE
  systemd.bbclass: cosmetics
  systemd.bbclass: automatically create packages set in
    SYSTEMD_PACKAGES
  automatically install all *.service and *.socket supplied in recipe's
    SRC_URI
  systemd.bbclass: automatically extend FILES_* for systemd packages
  systemd.bbclass: automatically extend RDEPENDS for *-systemd packages
  connman: remove unneeded systemd code
  dropbear: remove unneeded systemd code
  openssh: remove unneeded systemd code
  elsa: remove unneeded systemd code
  cronie: remove unneeded systemd code
  xserver-nodm-init: remove unneeded systemd code
  atftp: remove unneeded systemd code
  udisks: remove unneeded systemd code
  rsyslog: remove unneeded systemd code
  syslog-ng: remove unneeded systemd code
  dhcp: remove unneeded systemd code
  gpsd: remove unneeded systemd code
  busybox: remove unneeded systemd code
  dhcp: add native systemd support for dhcp-relay
  gpsd: use ${PN}.service instead ${PN}.socket in SYSTEMD_SERVICE to
    enable service

 meta-efl/recipes-efl/efl/elsa_svn.bb               |   11 +--
 meta-oe/classes/systemd.bbclass                    |  165 ++++++++++++++++++--
 .../connman/connman_0.78.bbappend                  |    7 +-
 .../recipes-connectivity/dhcp/dhcp_4.2.0.bbappend  |   18 +--
 .../dhcp/files/dhcrelay.service                    |   10 ++
 .../openssh/openssh_5.9p1.bbappend                 |   14 +--
 .../recipes-core/busybox/busybox_1.19.3.bbappend   |    8 +-
 .../dropbear/dropbear_2011.54.bbappend             |   11 +--
 .../systemd/systemd-systemctl-native/systemctl     |   75 +++++----
 meta-oe/recipes-extended/atftp/atftp_0.7.bb        |   10 +-
 .../recipes-extended/cronie/cronie_1.4.8.bbappend  |   12 +--
 meta-oe/recipes-extended/rsyslog/rsyslog.inc       |    7 +-
 .../xserver-nodm-init/xserver-nodm-init_2.0.bb     |   10 +-
 meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb       |   14 +--
 meta-oe/recipes-support/syslog-ng/syslog-ng.inc    |    7 +-
 meta-oe/recipes-support/udisks/udisks_1.0.4.bb     |    9 +-
 16 files changed, 222 insertions(+), 166 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/dhcp/files/dhcrelay.service

-- 
1.7.4.4





More information about the Openembedded-devel mailing list