Commit Graph

100 Commits

Author SHA1 Message Date
Dan McGregor
618b14ef14
systemd-repart-native: clean up dependencies
Specify -native versions of dependencies. These were satisfied
transitively through other dependencies, but we should specify
them explicitly. It also removes dependencies on the target
system for a native recipe.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-08-13 10:09:24 -07:00
Dan McGregor
a4fe9edd32
systemd-repart: Fix build after S moved into UNPACKDIR
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-08-09 10:22:47 -07:00
Johannes Schneider
e9430c91fa
systemd: add recipe for systemd-repart-native 257.6
Add a recipe to build systemd-repart-native.
The chosen version is a relatively recent one, to support:

1) PKCS#11 uris [1] to pass in the private key when creating a
discoverable disk image (as·--private-key-source).

2) setting Compression=/CompressionLevel= in the configuration [2],
which is then passed over to a (recent version of) mkfs.erofs

The recipe was adapted from an incomplete 'systemd-tools' patch [3]
that is floating upstream.

Link: [1]: 0a8264080a
Link: [2]: 27cacec939
Link: [3]: https://lists.openembedded.org/g/openembedded-core/topic/108223984#msg204065
Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:54 -07:00
Andreas Müller
a5b2aea321 move systemd recipes to meta-systemd 2012-07-16 09:39:05 +02:00
Khem Raj
445f95f8d3 systemd: Refresh uclibc patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-07-09 18:40:21 +02:00
Martin Jansa
21b85f3426 recipes: bump PR to fix -systemd postinsts where SYSTEMD_SERVICE was used without PN* suffix
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-06-05 10:46:52 +02:00
Andreas Müller
44b20b0267 systemd-systemctl-native: Add additional messages for better debugging
These messages helped me to fix the breakage of networkmanager/systemd

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-06-05 10:46:48 +02:00
Mario Domenech Goulart
fa71878834 systemd-systemctl-native: fixed systemctl wrapper's `disable' action
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-05-14 16:01:58 +02:00
Martin Jansa
7f237b806e systemd-machine-units: add machine specific recipe for BSPs
* some machines like n900/gta02/palmpre are using extra units to
  initialize something (g_ether, cmt, ...), so make it easy to bbappend
  such units
* stuff like INHERIT_append_crespo = " systemd" from BSP doesn't play well with systemd.bbclass

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-26 13:49:14 +02:00
Koen Kooi
397dba1ab2 systemd: create empty machine-id to fix first boot failures
Acked-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-04-16 11:01:38 +02:00
Koen Kooi
204f537a18 systemd: fix emergency and rescue services
In OE we use /home/root, not /root.

Bug-reported-by: Graham Murphy <Graham.Murphy@jhuapl.edu>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-04-13 17:20:48 +02:00
Koen Kooi
5fced1d76e systemd: fix vconsole-setup dependencies
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-04-09 13:46:21 +02:00
Koen Kooi
bd0a6a465f systemd: bump SRCREV
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-04-09 13:46:21 +02:00
Otavio Salvador
3f79074a70 systemd-systemctl-native: add support to disable services
This adds support to disable services making possible to it to be done
during rootfs generation.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-04-04 20:36:47 +02:00
Koen Kooi
6b22bd198a systemd-serialgetty: sync with upstream
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-23 07:57:19 +01:00
Andreas Müller
c43b2b36bc systemd_git: replace ${base_libdir}/systemd by ${systemd_unitdir} set in oe-core
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-23 07:55:13 +01:00
Andreas Müller
0658069375 systemd-serialgetty: replace ${base_libdir}/systemd by ${systemd_unitdir} set in oe-core
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-23 07:55:12 +01:00
Andreas Müller
815124f28e systemd-compat-units: replace ${base_libdir}/systemd by ${systemd_unitdir} set in oe-core
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-23 07:55:12 +01:00
Koen Kooi
b0a7f2e761 systemd: update to v44 + CVE fix
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-18 13:04:15 +01:00
Otavio Salvador
c8680dada5 systemd-compat-units: rename service to run postinst scripts
OE-Core uses run-postinsts script to trigger package configuration on
first boot so the service ought to be named the same, for consistency.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-13 18:53:03 +01:00
Koen Kooi
bddff3209c systemd: update and disable storing coredumps in the journal
Storing coredumps in the journal was mentioned as one of the reasons the journals grow so large

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-09 10:36:57 +01:00
Koen Kooi
112c1f86fc systemd: update to latest git
This is in preparation for the v44 release.

* drop 2 patches that aren't needed anymore
* fix more endianness problems
* fix journal crashes with large files

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-09 07:03:52 +01:00
Koen Kooi
81703d249d systemd: enable logging to disk instead of tmpfs
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-09 07:03:52 +01:00
Koen Kooi
c2feb1ab2a systemd: enable xz compression for journald
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-09 07:03:52 +01:00
Andreas Müller
1aa96dc9df systemd-systemctl-native: multiple service files not looped properly
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-04 18:05:01 +01:00
Koen Kooi
3d15d096b6 systemd: address logind problem on BE machines
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-29 14:53:13 +01:00
Koen Kooi
9cca08ee27 systemd: split out libraries from ${PN}
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-02-24 10:55:49 +01:00
Andreas Müller
9d72ff10c5 systemd-systemctl-native: add multiple services support
Thanks to Otavio Salvador for helping hint [1]

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2012-February/037856.html

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-23 16:46:30 +01:00
Koen Kooi
724ec1ea4f systemd: move to v40 and don't kill user processes on exit
This fixes screen and tmux persistency issues.

Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-07 16:06:19 +01:00
Otavio Salvador
0d20039cfd systemd-serialgetty: support machines without serial console
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-01 08:24:06 +01:00
Koen Kooi
1c89ddb276 systemd: don't depend on tasks/images to do the right thing with mount
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-28 12:20:59 +01:00
Khem Raj
a2b05eddcf systemd: Forward port format-replace-m-uclibc.patch
This patch was not applying and had to consider more
fields this time.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-26 09:58:02 +01:00
Koen Kooi
ab384f1e56 systemd: update to v39
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-25 13:57:15 +01:00
Koen Kooi
77ce4f048e systemd: bump SRCREV to fix big-endian builds
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-24 13:20:50 +01:00
Koen Kooi
103b4174d1 systemd: move kbd RECOMMENDS to vconsole-setup where they belong
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-20 12:29:32 +01:00
Koen Kooi
0ce5ec32b8 systemd: add upstream status to patch
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-20 08:25:45 +01:00
Anders Darander
acfe5820fe systemd: split out systemd-analyze
Split systemd-analyze to a separate package, to remove the implicit
dependency on python. (At least the rpm-packaging backend created a
run-time dependency on python).

Add an RDEPENDS_${PN}-analyze on python-dbus, as this is required for
systemd-analyze to work.

Add an RRECOMMENDS_${PN}-analyze on python-pycairo, as the plot command
in systemd-analyze requires this package.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-20 08:24:37 +01:00
Koen Kooi
6cb51af0e1 systemd: update to v38+git
* This introduces the 'journal' feature.
* Upstream is following the fedora /usr move so EXTRA_OECONF needs to get updated to keep the paths the same for the OE usecase

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-20 08:24:37 +01:00
Anders Darander
d3a451bbd0 systemd: git repo moved
Freedesktop have reorganized the git repository structure.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-10 08:25:55 +01:00
Otavio Salvador
5f2ac92eed systemd: depends on intltool-native
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-12-23 08:53:02 +01:00
Otavio Salvador
2cba3b0244 systemd-systemctl-native: add support to recursive services
Some services can reference others for installation thought the Also
key; systemctl now handles it calling itself recursively for each
service.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-12-15 09:25:07 +01:00
Martin Jansa
0c1147ad8d systemd: add prerm u-a calls
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-21 12:08:21 +01:00
Koen Kooi
c30abb39eb systemd: bump SRCREV
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-20 13:00:25 +01:00
Koen Kooi
80689864f3 systemd: bump SRCREV
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-08 10:42:29 +01:00
Otavio Salvador
79f35231a3 systemd-systemctl-native: add a systemctl wrapper
The wrapper allows for enabling services at rootfs generation thus
allowing systemd to be used in ready-only filesystems.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-04 19:41:19 +01:00
Koen Kooi
239e817197 systemd-compat-units: run systemd-machine-id-setup
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-01 14:33:10 +01:00
Martin Jansa
592e24e043 systemd-serialgetty: use better default SERIAL_CONSOLE
* having /dev/ttySO fails with:
  | ln: failed to create symbolic link
  `/OE/shr-core/tmp/work/nokia900-oe-linux-gnueabi/systemd-serialgetty-1.0-r0/image/etc/systemd/system/getty.target.wants/serial-getty@/dev/ttyS0.service':
  No such file or directory

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-11-01 09:57:03 +01:00
Koen Kooi
2f260409a0 systemd: fix internal pager
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-01 08:36:17 +01:00
Otavio Salvador
48e381fcb0 systemd: add lock group using useradd.bbclass
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-24 16:23:42 +02:00
Koen Kooi
960002137d systemd: fix initramfs symlink
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-21 16:49:37 +02:00