Patchwork [meta-systemd,0/2] ALIAS

login
register
mail settings
Submitter Andreas Müller
Date Aug. 7, 2012, 11:04 p.m.
Message ID <1344380665-3759-1-git-send-email-schnitzeltony@googlemail.com>
Download mbox | patch
Permalink /patch/34061/
State Accepted
Headers show

Comments

Andreas Müller - Aug. 7, 2012, 11:04 p.m.
This patch series takes ALIAS tag into account when setting up rootfs and as
'example' fixes systemd's search for  display-manager.service when using gdm.
The first patch makes [1] work and needs [2] and [3] to apply. During tests
also [4] was applied. Buildhistory results for an image using lxdm (will be
sent when all issues are fixed) were:

$ git show
commit 3fe6b508a3a461fbf8d7682e6d170a55d301c6c0
Author: buildhistory <buildhistory@angstrom>
Date:   Tue Aug 7 23:51:38 2012 +0200

    images: Build Angstrom v2012.08-core of angstrom v2012.08-core for machine overo on localhost.localdomain


[1] http://patches.openembedded.org/patch/33791/
[2] http://patches.openembedded.org/patch/33999/
[3] http://patches.openembedded.org/patch/33997/
[4] http://patches.openembedded.org/patch/33793/


Andreas Müller (2):
  systemd-systemctl-native: handle ALIAS tag
  gdm: replace 'WantedBy=graphical.target' by
    'Alias=display-manager.service'

 .../meta-gnome/recipes-gnome/gdm/gdm/gdm.service   |    2 +-
 .../recipes-gnome/gdm/gdm_2.32.2.bbappend          |    2 +-
 .../systemd/systemd-systemctl-native.bb            |    2 +-
 .../systemd/systemd-systemctl-native/systemctl     |   17 +++++++++++++++++
 4 files changed, 20 insertions(+), 3 deletions(-)

Patch

diff --git a/images/overo/eglibc/xfce-full-image/files-in-image.txt b/images/overo/eglibc/xfce-full-image/files-in-image.txt
index 9c178b0..1af496d 100644
--- a/images/overo/eglibc/xfce-full-image/files-in-image.txt
+++ b/images/overo/eglibc/xfce-full-image/files-in-image.txt
@@ -558,6 +558,8 @@  drwxr-xr-x root       root             4096 ./etc/systemd/system
 drwxr-xr-x root       root             4096 ./etc/systemd/system/basic.target.wants  
 lrwxrwxrwx root       root               37 ./etc/systemd/system/basic.target.wants/timestamp.service -> /lib/systemd/system/timestamp.service
 lrwxrwxrwx root       root                9 ./etc/systemd/system/busybox-udhcpc.service -> /dev/null
+lrwxrwxrwx root       root               42 ./etc/systemd/system/dbus-org.freedesktop.NetworkManager.service -> /lib/systemd/system/NetworkManager.service
+lrwxrwxrwx root       root               32 ./etc/systemd/system/display-manager.service -> /lib/systemd/system/lxdm.service
 lrwxrwxrwx root       root                9 ./etc/systemd/system/dnsmasq.service -> /dev/null
 drwxr-xr-x root       root             4096 ./etc/systemd/system/getty.target.wants  
 lrwxrwxrwx root       root               34 ./etc/systemd/system/getty.target.wants/getty@tty1.service -> /lib/systemd/system/getty@.service
@@ -576,7 +578,7 @@  drwxr-xr-x root       root             4096 ./etc/systemd/system/sockets.target.
 lrwxrwxrwx root       root               35 ./etc/systemd/system/sockets.target.wants/dropbear.socket -> /lib/systemd/system/dropbear.socket
 drwxr-xr-x root       root             4096 ./etc/systemd/system/sysinit.target.wants  
 lrwxrwxrwx root       root                9 ./etc/systemd/system/syslog.busybox.service -> /dev/null
-lrwxrwxrwx root       root                9 ./etc/systemd/system/syslog.service -> /dev/null
+lrwxrwxrwx root       root               42 ./etc/systemd/system/syslog.service -> /lib/systemd/system/busybox-syslog.service
 drwxr-xr-x root       root             4096 ./etc/systemd/user  
 -rw-r--r-- root       root              487 ./etc/systemd/user.conf  
 drwxr-xr-x root       root             4096 ./etc/terminfo