Patchwork [meta-oe,v4,0/2] systemd: package split

login
register
mail settings
Submitter Anders Darander
Date Jan. 19, 2012, 7:52 p.m.
Message ID <cover.1327002701.git.anders@chargestorm.se>
Download mbox
Permalink /patch/19801/
State Superseded, archived
Headers show

Pull-request

git://github.com/darander/meta-oe systemd-move

Comments

Anders Darander - Jan. 19, 2012, 7:52 p.m.
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(-)