summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd
diff options
context:
space:
mode:
authorMaciej Borzecki <maciej.borzecki@open-rnd.pl>2016-02-10 13:32:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-11 12:27:44 +0000
commit22a28664560c3cea20a5f6341593795c22d13e0b (patch)
treebd6c622c43f86e20eefd7b0e41bfdf354426fa0f /meta/recipes-core/systemd
parent9909104c673c9e9388d78d5fbe1ab9c9c421737c (diff)
downloadpoky-22a28664560c3cea20a5f6341593795c22d13e0b.tar.gz
systemd: move some tools into systemd-extra-utils package
This patch attempts to split some of the extra functionality delivered by systemd utilities from the main package into a separate package. This allows for trimming the size of a default systemd installation down to ~7MB with all configuration features disabled. The new systemd-extra-utils package is added to RRECOMMENDS so that by default it will get installed into the target image. (From OE-Core rev: bc017488bb530c9dc06c043dc91eb0b1e6abe4e5) Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r--meta/recipes-core/systemd/systemd_228.bb47
1 files changed, 47 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_228.bb b/meta/recipes-core/systemd/systemd_228.bb
index 9d7851e0f2..f3893251a6 100644
--- a/meta/recipes-core/systemd/systemd_228.bb
+++ b/meta/recipes-core/systemd/systemd_228.bb
@@ -248,6 +248,7 @@ PACKAGES =+ "\
248 ${PN}-pam \ 248 ${PN}-pam \
249 ${PN}-zsh \ 249 ${PN}-zsh \
250 ${PN}-xorg-xinitrc \ 250 ${PN}-xorg-xinitrc \
251 ${PN}-extra-utils \
251" 252"
252 253
253SYSTEMD_PACKAGES = "${PN}-binfmt" 254SYSTEMD_PACKAGES = "${PN}-binfmt"
@@ -292,6 +293,51 @@ RRECOMMENDS_${PN}-binfmt = "kernel-module-binfmt-misc"
292 293
293RRECOMMENDS_${PN}-vconsole-setup = "kbd kbd-consolefonts kbd-keymaps" 294RRECOMMENDS_${PN}-vconsole-setup = "kbd kbd-consolefonts kbd-keymaps"
294 295
296FILES_${PN}-extra-utils = "\
297 ${base_bindir}/systemd-escape \
298 ${base_bindir}/systemd-inhibit \
299 ${bindir}/systemd-detect-virt \
300 ${bindir}/systemd-path \
301 ${bindir}/systemd-run \
302 ${bindir}/systemd-cat \
303 ${bindir}/systemd-delta \
304 ${bindir}/systemd-cgls \
305 ${bindir}/systemd-cgtop \
306 ${bindir}/systemd-stdio-bridge \
307 ${base_bindir}/systemd-ask-password \
308 ${base_bindir}/systemd-tty-ask-password-agent \
309 ${systemd_unitdir}/system/systemd-ask-password-console.path \
310 ${systemd_unitdir}/system/systemd-ask-password-console.service \
311 ${systemd_unitdir}/system/systemd-ask-password-wall.path \
312 ${systemd_unitdir}/system/systemd-ask-password-wall.service \
313 ${systemd_unitdir}/system/sysinit.target.wants/systemd-ask-password-console.path \
314 ${systemd_unitdir}/system/sysinit.target.wants/systemd-ask-password-wall.path \
315 ${systemd_unitdir}/system/multi-user.target.wants/systemd-ask-password-wall.path \
316 ${rootlibexecdir}/systemd/systemd-resolve-host \
317 ${rootlibexecdir}/systemd/systemd-ac-power \
318 ${rootlibexecdir}/systemd/systemd-activate \
319 ${bindir}/systemd-nspawn \
320 ${exec_prefix}/lib/tmpfiles.d/systemd-nspawn.conf \
321 ${systemd_unitdir}/system/systemd-nspawn@.service \
322 ${rootlibexecdir}/systemd/systemd-bus-proxyd \
323 ${systemd_unitdir}/system/systemd-bus-proxyd.service \
324 ${systemd_unitdir}/system/systemd-bus-proxyd.socket \
325 ${rootlibexecdir}/systemd/systemd-socket-proxyd \
326 ${rootlibexecdir}/systemd/systemd-reply-password \
327 ${rootlibexecdir}/systemd/systemd-sleep \
328 ${rootlibexecdir}/systemd/system-sleep \
329 ${systemd_unitdir}/system/systemd-hibernate.service \
330 ${systemd_unitdir}/system/systemd-hybrid-sleep.service \
331 ${systemd_unitdir}/system/systemd-suspend.service \
332 ${systemd_unitdir}/system/sleep.target \
333 ${rootlibexecdir}/systemd/systemd-initctl \
334 ${systemd_unitdir}/system/systemd-initctl.service \
335 ${systemd_unitdir}/system/systemd-initctl.socket \
336 ${systemd_unitdir}/system/sockets.target.wants/systemd-initctl.socket \
337 ${rootlibexecdir}/systemd/system-generators/systemd-gpt-auto-generator \
338 ${rootlibexecdir}/systemd/systemd-cgroups-agent \
339"
340
295CONFFILES_${PN} = "${sysconfdir}/machine-id \ 341CONFFILES_${PN} = "${sysconfdir}/machine-id \
296 ${sysconfdir}/systemd/coredump.conf \ 342 ${sysconfdir}/systemd/coredump.conf \
297 ${sysconfdir}/systemd/journald.conf \ 343 ${sysconfdir}/systemd/journald.conf \
@@ -346,6 +392,7 @@ RDEPENDS_${PN} += "kmod dbus util-linux-mount udev (= ${EXTENDPKGV})"
346RDEPENDS_${PN} += "volatile-binds update-rc.d" 392RDEPENDS_${PN} += "volatile-binds update-rc.d"
347 393
348RRECOMMENDS_${PN} += "systemd-serialgetty systemd-vconsole-setup \ 394RRECOMMENDS_${PN} += "systemd-serialgetty systemd-vconsole-setup \
395 systemd-extra-utils \
349 systemd-compat-units udev-hwdb \ 396 systemd-compat-units udev-hwdb \
350 util-linux-agetty util-linux-fsck e2fsprogs-e2fsck \ 397 util-linux-agetty util-linux-fsck e2fsprogs-e2fsck \
351 kernel-module-autofs4 kernel-module-unix kernel-module-ipv6 \ 398 kernel-module-autofs4 kernel-module-unix kernel-module-ipv6 \