Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Anders Darander <anders@chargestorm.se>
To: <openembedded-devel@lists.openembedded.org>
Cc: Anders Darander <anders@chargestorm.se>
Subject: [meta-oe][PATCH v4 0/2] systemd: package split
Date: Thu, 19 Jan 2012 20:52:53 +0100	[thread overview]
Message-ID: <cover.1327002701.git.anders@chargestorm.se> (raw)


At least while using rpm-packaging, the systemd package (rpm) got a dependency
on python, as systemd-analyze needs this (in the shebang). When trying to
create a small image using systemd, this isn't always desirable. Thus the
splitting of systemd-analyze to a separate package.


Conditionally RRECOMMENDS kbd and kbd-consolefonts: if the machine in
question do not have keyboards, there is no need for kbd and
kbd-consolefonts. To not make systemd machine dependent, we introduce a
DISTRO_FEATURE keyboard for systems that want kbd* installed.

The first patch should be fine for pulling. 

The 2nd patch needs coordination with other layers, e.g. angstrom, to not
remove the RRECOMMENDS on kbd* from their packages. However, using a positive
DISTRO_FEATURE is more natural, than a negative one, i.e. nokeyboard.

All patches has been verified on a few internal arm-based machines, with a
custom distro.


------------------------------------
v4: * Remove patch for cairo, as cairo is now a bbappend to oe-core version.
      The oe-core version already had the desired functionality.
    * Change the conditionally RRECOMMENDS on kbd* in systemd, to depend 
      on DISTRO_FEATURES instead of MACHINE_FEATURES.

v3: * Set PACKAGE_ARCH for systemd, as its RRECOMMENDS now depends on
    MACHINE_FEATURES. 

v2: * The SRC_URI update has been applied to master.

    * Let systemd-analyze RDEPENDS on python-dbus, and RRECOMMENDS
      python-pycairo. 

    * Add a patch to conditionally enable/disable x11 support when buildling
      cairo. 
    
    * Add patch which makes the systemd's RRECOMMENDS on kbd and
      kbd-consolefonts conditional on the keyboard MACHINE_FEATURES.

The following changes since commit 3767262f9e626c49638dc886adbdf58b167de61c:

  In LICENSE "&&" should be replaced with "&" (2012-01-16 22:29:22 +0100)

are available in the git repository at:
  git://github.com/darander/meta-oe systemd-move
  https://github.com/darander/meta-oe/tree/systemd-move

Anders Darander (2):
  systemd: split out systemd-analyze
  systemd: conditionally RRECOMMENDS kbd*

 meta-oe/recipes-core/systemd/systemd_git.bb |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

-- 
1.7.8.3




             reply	other threads:[~2012-01-19 20:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-19 19:52 Anders Darander [this message]
2012-01-19 19:53 ` [meta-oe][PATCH v4 1/2] systemd: split out systemd-analyze Anders Darander
2012-01-20  3:35   ` Otavio Salvador
2012-01-19 19:53 ` [meta-oe][PATCH v4 2/2] systemd: conditionally RRECOMMENDS kbd* Anders Darander
2012-01-19 22:03   ` Koen Kooi
2012-01-20  3:33     ` Otavio Salvador
2012-01-20  7:30       ` Koen Kooi
2012-01-20  8:01         ` Anders Darander
2012-01-20 11:30           ` Koen Kooi
2012-01-20 12:19             ` Anders Darander

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1327002701.git.anders@chargestorm.se \
    --to=anders@chargestorm.se \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox