Skip to content

hybrid systemd/sysvinit, and systemd fixes

Ross Burton openembedded-core 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest24 patches 3 repliesIn review
  2. v122 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/24busybox: enable systemd integration for syslogdmeta/recipes-core/busybox/busybox.inc meta/recipes-core/busybox/busybox_1.20.2.bb meta/recipes-core/busybox/files/busybox-klogd.service.in +1 more+39 -20 replies
2/24busybox: add strictatime support to mountmeta/recipes-core/busybox/busybox-1.20.2/strict-atime.patch meta/recipes-core/busybox/busybox_1.20.2.bb+51 -10 replies
3/24systemd: make xz support (compressed journal) optional, defaulting to on.meta/recipes-core/systemd/systemd_197.bb+4 -20 replies
4/24systemd: merge udev-systemd into udevmeta/recipes-core/systemd/systemd_197.bb+4 -50 replies
5/24core-image-minimal-initramfs: don't install busybox-syslogmeta/recipes-core/images/core-image-minimal-initramfs.bb+2 -03 replies
6/24systemd: don't depend on the PCI/USB databasesmeta/recipes-core/systemd/systemd_197.bb+1 -20 replies
7/24systemd: split out the hwdb datameta/recipes-core/systemd/systemd_197.bb+19 -30 replies
8/24default-providers: change udev selection logicmeta/conf/distro/include/default-providers.inc+1 -10 replies
9/24update-rcd.bbclass: handle both sysvinit and systemd features being presentmeta/classes/update-rc.d.bbclass+6 -30 replies
10/24util-linux: split uuidd into it's own package, and enable for systemdmeta/recipes-core/util-linux/util-linux.inc+9 -20 replies
11/24update-rcd: drop depends to recommends, check for update-rcd in scriptsmeta/classes/update-rc.d.bbclass+10 -50 replies
12/24systemd: check for systemctl first, and don't force systemd to be installed.meta/classes/systemd.bbclass+11 -160 replies
13/24systemd: add udev init script for hybrid sysvinit/systemd usagemeta/recipes-core/systemd/systemd/init meta/recipes-core/systemd/systemd_197.bb+113 -10 replies
14/24update-rc.d/systemd: change communication variable namemeta/classes/systemd.bbclass meta/classes/update-rc.d.bbclass+10 -90 replies
15/24default-distrovars: don't add INITMAN to DISTRO_FEATURES and DISTRO_FEATURES_BACKFILLmeta/conf/distro/include/default-distrovars.inc+1 -10 replies
16/24bitbake.conf: explicitly backfill sysvinit, not DISTRO_FEATURES_INITMANmeta/conf/bitbake.conf+1 -10 replies
17/24default-distrovars: remove obsolete DISTRO_FEATURES_INITMAN referencemeta/conf/distro/include/default-distrovars.inc+0 -10 replies
18/24packagegroup-core-boot: revert to specifying sysvinit as default init managermeta/recipes-core/packagegroups/packagegroup-core-boot.bb+2 -30 replies
19/24Revert "base-files: add fstab for systemd based systems"meta/recipes-core/base-files/base-files/fstab.systemd meta/recipes-core/base-files/base-files_3.0.14.bb+1 -150 replies
20/24systemd-compat-units: disable dbus-1meta/recipes-core/systemd/systemd-compat-units.bb+1 -00 replies
21/24systemd: recommend systemd-compat-unitsmeta/recipes-core/systemd/systemd_197.bb+1 -10 replies
22/24dbus: explicitly disable systemd when no systemdmeta/recipes-core/dbus/dbus.inc+2 -20 replies
23/24busybox: order and group initscript variables logicallymeta/recipes-core/busybox/busybox.inc+2 -20 replies
24/24udev: move /run volatile entry to udev instead of initscriptsmeta/recipes-core/initscripts/initscripts-1.0/volatiles meta/recipes-core/udev/udev.inc meta/recipes-core/udev/udev/volatiles+6 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 00/24] hybrid systemd/sysvinit, and systemd fixes

Hi,

An iteration on the previous series, this fixes the issues that Saul and Martin noticed, removes the commit that is targetted at meta-yocto, and importantly fixes pure-systemd booting which was previously aborting dramatically when populate-volatiles copied the contents of /run to /var/volatile/run (and then deleted the originals). systemd really doesn't like having it's internal pipes and sockets deleted.

Ross

The following changes since commit f36926a264190e6202830e8520b41b30ae77ea43:

docbook-utils-native: Unbreak the build after source and build dir split (2013-03-25 20:51:19 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib ross/systemd

for you to fetch changes up to a56f9f8d95194dc4365e83488a34f37a4ee0bce1:

udev: move /run volatile entry to udev instead of initscripts (2013-03-26 16:26:09 +0000)

----------------------------------------------------------------
Andreas Oberritter (1):
Revert "base-files: add fstab for systemd based systems"

Radu Moisan (1):
busybox: enable systemd integration for syslogd

Ross Burton (22):
busybox: add strictatime support to mount
systemd: make xz support (compressed journal) optional, defaulting to on.
systemd: merge udev-systemd into udev
core-image-minimal-initramfs: don't install busybox-syslog
systemd: don't depend on the PCI/USB databases
systemd: split out the hwdb data
default-providers: change udev selection logic
update-rcd.bbclass: handle both sysvinit and systemd features being present
util-linux: split uuidd into it's own package, and enable for systemd
update-rcd: drop depends to recommends, check for update-rcd in scripts
systemd: check for systemctl first, and don't force systemd to be installed.
systemd: add udev init script for hybrid sysvinit/systemd usage update-rc.d/systemd: change communication variable name
default-distrovars: don't add INITMAN to DISTRO_FEATURES and DISTRO_FEATURES_BACKFILL bitbake.conf: explicitly backfill sysvinit, not DISTRO_FEATURES_INITMAN
default-distrovars: remove obsolete DISTRO_FEATURES_INITMAN reference
packagegroup-core-boot: revert to specifying sysvinit as default init manager
systemd-compat-units: disable dbus-1
systemd: recommend systemd-compat-units
dbus: explicitly disable systemd when no systemd
busybox: order and group initscript variables logically
udev: move /run volatile entry to udev instead of initscripts

 meta/classes/systemd.bbclass                       |   38 ++++----
 meta/classes/update-rc.d.bbclass                   |   22 +++--
 meta/conf/bitbake.conf                             |    2 +-
 meta/conf/distro/include/default-distrovars.inc    |    3 +-
 meta/conf/distro/include/default-providers.inc     |    2 +-
 .../base-files/base-files/fstab.systemd            |    9 --
 meta/recipes-core/base-files/base-files_3.0.14.bb  |    7 +-
 .../busybox/busybox-1.20.2/strict-atime.patch      |   49 ++++++++++
 meta/recipes-core/busybox/busybox.inc              |   22 ++++-
 meta/recipes-core/busybox/busybox_1.20.2.bb        |    5 +-
 .../busybox/files/busybox-klogd.service.in         |    8 ++
 .../busybox/files/busybox-syslog.service.in        |   13 +++
 meta/recipes-core/dbus/dbus.inc                    |    4 +-
 .../images/core-image-minimal-initramfs.bb         |    2 +
 .../initscripts/initscripts-1.0/volatiles          |    1 -
 .../packagegroups/packagegroup-core-boot.bb        |    5 +-
 meta/recipes-core/systemd/systemd-compat-units.bb  |    1 +
 meta/recipes-core/systemd/systemd/init             |  101 ++++++++++++++++++++
 meta/recipes-core/systemd/systemd_197.bb           |   49 +++++++---
 meta/recipes-core/udev/udev.inc                    |    6 +-
 meta/recipes-core/udev/udev/volatiles              |    1 +
 meta/recipes-core/util-linux/util-linux.inc        |   11 ++-
 22 files changed, 289 insertions(+), 72 deletions(-)
 delete mode 100644 meta/recipes-core/base-files/base-files/fstab.systemd
 create mode 100644 meta/recipes-core/busybox/busybox-1.20.2/strict-atime.patch
 create mode 100644 meta/recipes-core/busybox/files/busybox-klogd.service.in
 create mode 100644 meta/recipes-core/busybox/files/busybox-syslog.service.in
 create mode 100644 meta/recipes-core/systemd/systemd/init
 create mode 100644 meta/recipes-core/udev/udev/volatiles

Andreas Oberritter (1):
Revert "base-files: add fstab for systemd based systems"

Radu Moisan (1):
busybox: enable systemd integration for syslogd

Ross Burton (22):
busybox: add strictatime support to mount
systemd: make xz support (compressed journal) optional, defaulting to

    on.

systemd: merge udev-systemd into udev core-image-minimal-initramfs: don't install busybox-syslog
systemd: don't depend on the PCI/USB databases
systemd: split out the hwdb data
default-providers: change udev selection logic update-rcd.bbclass: handle both sysvinit and systemd features being
present
util-linux: split uuidd into it's own package, and enable for systemd
update-rcd: drop depends to recommends, check for update-rcd in
scripts
systemd: check for systemctl first, and don't force systemd to be
installed.
systemd: add udev init script for hybrid sysvinit/systemd usage update-rc.d/systemd: change communication variable name
default-distrovars: don't add INITMAN to DISTRO_FEATURES and
DISTRO_FEATURES_BACKFILL
bitbake.conf: explicitly backfill sysvinit, not
DISTRO_FEATURES_INITMAN
default-distrovars: remove obsolete DISTRO_FEATURES_INITMAN reference
packagegroup-core-boot: revert to specifying sysvinit as default init
manager
systemd-compat-units: disable dbus-1
systemd: recommend systemd-compat-units
dbus: explicitly disable systemd when no systemd
busybox: order and group initscript variables logically
udev: move /run volatile entry to udev instead of initscripts

 meta/classes/systemd.bbclass                       |   38 ++++----
 meta/classes/update-rc.d.bbclass                   |   22 +++--
 meta/conf/bitbake.conf                             |    2 +-
 meta/conf/distro/include/default-distrovars.inc    |    3 +-
 meta/conf/distro/include/default-providers.inc     |    2 +-
 .../base-files/base-files/fstab.systemd            |    9 --
 meta/recipes-core/base-files/base-files_3.0.14.bb  |    7 +-
 .../busybox/busybox-1.20.2/strict-atime.patch      |   49 ++++++++++
 meta/recipes-core/busybox/busybox.inc              |   22 ++++-
 meta/recipes-core/busybox/busybox_1.20.2.bb        |    5 +-
 .../busybox/files/busybox-klogd.service.in         |    8 ++
 .../busybox/files/busybox-syslog.service.in        |   13 +++
 meta/recipes-core/dbus/dbus.inc                    |    4 +-
 .../images/core-image-minimal-initramfs.bb         |    2 +
 .../initscripts/initscripts-1.0/volatiles          |    1 -
 .../packagegroups/packagegroup-core-boot.bb        |    5 +-
 meta/recipes-core/systemd/systemd-compat-units.bb  |    1 +
 meta/recipes-core/systemd/systemd/init             |  101 ++++++++++++++++++++
 meta/recipes-core/systemd/systemd_197.bb           |   49 +++++++---
 meta/recipes-core/udev/udev.inc                    |    6 +-
 meta/recipes-core/udev/udev/volatiles              |    1 +
 meta/recipes-core/util-linux/util-linux.inc        |   11 ++-
 22 files changed, 289 insertions(+), 72 deletions(-)
 delete mode 100644 meta/recipes-core/base-files/base-files/fstab.systemd
 create mode 100644 meta/recipes-core/busybox/busybox-1.20.2/strict-atime.patch
 create mode 100644 meta/recipes-core/busybox/files/busybox-klogd.service.in
 create mode 100644 meta/recipes-core/busybox/files/busybox-syslog.service.in
 create mode 100644 meta/recipes-core/systemd/systemd/init
 create mode 100644 meta/recipes-core/udev/udev/volatiles
Signature · 1 line
1.7.10.4