mirror of
https://github.com/systemd/systemd.git
synced 2025-01-05 13:18:06 +03:00
4ad303fddd
Instead of invoking meson-add-wants.sh once for each wants that has to be added, we pass all wants to a single invocation of meson-add-wants.sh and in meson-add-wants.sh, loop over the arguments. This saves about 300ms on the install step. Before: ``` ‣ Running build script... [1/418] Generating version.h with a custom command Installing /root/build/po/be.gmo to /root/dest/usr/share/locale/be/LC_MESSAGES/systemd.mo Installing /root/build/po/be@latin.gmo to /root/dest/usr/share/locale/be@latin/LC_MESSAGES/systemd.mo Installing /root/build/po/bg.gmo to /root/dest/usr/share/locale/bg/LC_MESSAGES/systemd.mo Installing /root/build/po/ca.gmo to /root/dest/usr/share/locale/ca/LC_MESSAGES/systemd.mo Installing /root/build/po/cs.gmo to /root/dest/usr/share/locale/cs/LC_MESSAGES/systemd.mo Installing /root/build/po/da.gmo to /root/dest/usr/share/locale/da/LC_MESSAGES/systemd.mo Installing /root/build/po/de.gmo to /root/dest/usr/share/locale/de/LC_MESSAGES/systemd.mo Installing /root/build/po/el.gmo to /root/dest/usr/share/locale/el/LC_MESSAGES/systemd.mo Installing /root/build/po/es.gmo to /root/dest/usr/share/locale/es/LC_MESSAGES/systemd.mo Installing /root/build/po/fr.gmo to /root/dest/usr/share/locale/fr/LC_MESSAGES/systemd.mo Installing /root/build/po/gl.gmo to /root/dest/usr/share/locale/gl/LC_MESSAGES/systemd.mo Installing /root/build/po/hr.gmo to /root/dest/usr/share/locale/hr/LC_MESSAGES/systemd.mo Installing /root/build/po/hu.gmo to /root/dest/usr/share/locale/hu/LC_MESSAGES/systemd.mo Installing /root/build/po/id.gmo to /root/dest/usr/share/locale/id/LC_MESSAGES/systemd.mo Installing /root/build/po/it.gmo to /root/dest/usr/share/locale/it/LC_MESSAGES/systemd.mo Installing /root/build/po/ja.gmo to /root/dest/usr/share/locale/ja/LC_MESSAGES/systemd.mo Installing /root/build/po/ko.gmo to /root/dest/usr/share/locale/ko/LC_MESSAGES/systemd.mo Installing /root/build/po/lt.gmo to /root/dest/usr/share/locale/lt/LC_MESSAGES/systemd.mo Installing /root/build/po/pl.gmo to /root/dest/usr/share/locale/pl/LC_MESSAGES/systemd.mo Installing /root/build/po/pt_BR.gmo to /root/dest/usr/share/locale/pt_BR/LC_MESSAGES/systemd.mo Installing /root/build/po/ro.gmo to /root/dest/usr/share/locale/ro/LC_MESSAGES/systemd.mo Installing /root/build/po/ru.gmo to /root/dest/usr/share/locale/ru/LC_MESSAGES/systemd.mo Installing /root/build/po/sk.gmo to /root/dest/usr/share/locale/sk/LC_MESSAGES/systemd.mo Installing /root/build/po/sr.gmo to /root/dest/usr/share/locale/sr/LC_MESSAGES/systemd.mo Installing /root/build/po/sv.gmo to /root/dest/usr/share/locale/sv/LC_MESSAGES/systemd.mo Installing /root/build/po/tr.gmo to /root/dest/usr/share/locale/tr/LC_MESSAGES/systemd.mo Installing /root/build/po/uk.gmo to /root/dest/usr/share/locale/uk/LC_MESSAGES/systemd.mo Installing /root/build/po/zh_CN.gmo to /root/dest/usr/share/locale/zh_CN/LC_MESSAGES/systemd.mo Installing /root/build/po/zh_TW.gmo to /root/dest/usr/share/locale/zh_TW/LC_MESSAGES/systemd.mo Installing /root/build/po/pa.gmo to /root/dest/usr/share/locale/pa/LC_MESSAGES/systemd.mo real 0m1.465s user 0m1.025s sys 0m0.426s ``` After: ``` ‣ Running build script... [1/418] Generating version.h with a custom command Installing /root/build/po/be.gmo to /root/dest/usr/share/locale/be/LC_MESSAGES/systemd.mo Installing /root/build/po/be@latin.gmo to /root/dest/usr/share/locale/be@latin/LC_MESSAGES/systemd.mo Installing /root/build/po/bg.gmo to /root/dest/usr/share/locale/bg/LC_MESSAGES/systemd.mo Installing /root/build/po/ca.gmo to /root/dest/usr/share/locale/ca/LC_MESSAGES/systemd.mo Installing /root/build/po/cs.gmo to /root/dest/usr/share/locale/cs/LC_MESSAGES/systemd.mo Installing /root/build/po/da.gmo to /root/dest/usr/share/locale/da/LC_MESSAGES/systemd.mo Installing /root/build/po/de.gmo to /root/dest/usr/share/locale/de/LC_MESSAGES/systemd.mo Installing /root/build/po/el.gmo to /root/dest/usr/share/locale/el/LC_MESSAGES/systemd.mo Installing /root/build/po/es.gmo to /root/dest/usr/share/locale/es/LC_MESSAGES/systemd.mo Installing /root/build/po/fr.gmo to /root/dest/usr/share/locale/fr/LC_MESSAGES/systemd.mo Installing /root/build/po/gl.gmo to /root/dest/usr/share/locale/gl/LC_MESSAGES/systemd.mo Installing /root/build/po/hr.gmo to /root/dest/usr/share/locale/hr/LC_MESSAGES/systemd.mo Installing /root/build/po/hu.gmo to /root/dest/usr/share/locale/hu/LC_MESSAGES/systemd.mo Installing /root/build/po/id.gmo to /root/dest/usr/share/locale/id/LC_MESSAGES/systemd.mo Installing /root/build/po/it.gmo to /root/dest/usr/share/locale/it/LC_MESSAGES/systemd.mo Installing /root/build/po/ja.gmo to /root/dest/usr/share/locale/ja/LC_MESSAGES/systemd.mo Installing /root/build/po/ko.gmo to /root/dest/usr/share/locale/ko/LC_MESSAGES/systemd.mo Installing /root/build/po/lt.gmo to /root/dest/usr/share/locale/lt/LC_MESSAGES/systemd.mo Installing /root/build/po/pl.gmo to /root/dest/usr/share/locale/pl/LC_MESSAGES/systemd.mo Installing /root/build/po/pt_BR.gmo to /root/dest/usr/share/locale/pt_BR/LC_MESSAGES/systemd.mo Installing /root/build/po/ro.gmo to /root/dest/usr/share/locale/ro/LC_MESSAGES/systemd.mo Installing /root/build/po/ru.gmo to /root/dest/usr/share/locale/ru/LC_MESSAGES/systemd.mo Installing /root/build/po/sk.gmo to /root/dest/usr/share/locale/sk/LC_MESSAGES/systemd.mo Installing /root/build/po/sr.gmo to /root/dest/usr/share/locale/sr/LC_MESSAGES/systemd.mo Installing /root/build/po/sv.gmo to /root/dest/usr/share/locale/sv/LC_MESSAGES/systemd.mo Installing /root/build/po/tr.gmo to /root/dest/usr/share/locale/tr/LC_MESSAGES/systemd.mo Installing /root/build/po/uk.gmo to /root/dest/usr/share/locale/uk/LC_MESSAGES/systemd.mo Installing /root/build/po/zh_CN.gmo to /root/dest/usr/share/locale/zh_CN/LC_MESSAGES/systemd.mo Installing /root/build/po/zh_TW.gmo to /root/dest/usr/share/locale/zh_TW/LC_MESSAGES/systemd.mo Installing /root/build/po/pa.gmo to /root/dest/usr/share/locale/pa/LC_MESSAGES/systemd.mo real 0m1.162s user 0m0.803s sys 0m0.338s ``` |
||
---|---|---|
.. | ||
user | ||
user-.slice.d | ||
basic.target | ||
blockdev@.target | ||
bluetooth.target | ||
boot-complete.target | ||
console-getty.service.m4 | ||
container-getty@.service.m4 | ||
cryptsetup-pre.target | ||
cryptsetup.target | ||
debug-shell.service.in | ||
dev-hugepages.mount | ||
dev-mqueue.mount | ||
emergency.service.in | ||
emergency.target | ||
exit.target | ||
final.target | ||
first-boot-complete.target | ||
getty-pre.target | ||
getty.target | ||
getty@.service.m4 | ||
graphical.target | ||
halt.target | ||
hibernate.target | ||
hybrid-sleep.target | ||
initrd-cleanup.service | ||
initrd-fs.target | ||
initrd-parse-etc.service | ||
initrd-root-device.target | ||
initrd-root-fs.target | ||
initrd-switch-root.service | ||
initrd-switch-root.target | ||
initrd-udevadm-cleanup-db.service | ||
initrd.target | ||
kexec.target | ||
kmod-static-nodes.service.in | ||
ldconfig.service | ||
local-fs-pre.target | ||
local-fs.target | ||
machine.slice | ||
machines.target | ||
meson-add-wants.sh | ||
meson.build | ||
modprobe@.service | ||
multi-user.target | ||
network-online.target | ||
network-pre.target | ||
network.target | ||
nss-lookup.target | ||
nss-user-lookup.target | ||
paths.target | ||
poweroff.target | ||
printer.target | ||
proc-sys-fs-binfmt_misc.automount | ||
proc-sys-fs-binfmt_misc.mount | ||
quotaon.service.in | ||
rc-local.service.in | ||
reboot.target | ||
remote-cryptsetup.target | ||
remote-fs-pre.target | ||
remote-fs.target | ||
rescue.service.in | ||
rescue.target | ||
rpcbind.target | ||
serial-getty@.service.m4 | ||
shutdown.target | ||
sigpwr.target | ||
sleep.target | ||
slices.target | ||
smartcard.target | ||
sockets.target | ||
sound.target | ||
suspend-then-hibernate.target | ||
suspend.target | ||
swap.target | ||
sys-fs-fuse-connections.mount | ||
sys-kernel-config.mount | ||
sys-kernel-debug.mount | ||
sys-kernel-tracing.mount | ||
sysinit.target | ||
syslog.socket | ||
system-systemd\x2dcryptsetup.slice | ||
system-update-cleanup.service | ||
system-update-pre.target | ||
system-update.target | ||
systemd-ask-password-console.path | ||
systemd-ask-password-console.service | ||
systemd-ask-password-wall.path | ||
systemd-ask-password-wall.service | ||
systemd-backlight@.service.in | ||
systemd-binfmt.service.in | ||
systemd-bless-boot.service.in | ||
systemd-boot-check-no-failures.service.in | ||
systemd-boot-system-token.service | ||
systemd-coredump.socket | ||
systemd-coredump@.service.in | ||
systemd-exit.service | ||
systemd-firstboot.service | ||
systemd-fsck-root.service.in | ||
systemd-fsck@.service.in | ||
systemd-halt.service | ||
systemd-hibernate-resume@.service.in | ||
systemd-hibernate.service.in | ||
systemd-homed-activate.service | ||
systemd-homed.service.in | ||
systemd-hostnamed.service.in | ||
systemd-hwdb-update.service.in | ||
systemd-hybrid-sleep.service.in | ||
systemd-importd.service.in | ||
systemd-initctl.service.in | ||
systemd-initctl.socket | ||
systemd-journal-catalog-update.service | ||
systemd-journal-flush.service | ||
systemd-journal-gatewayd.service.in | ||
systemd-journal-gatewayd.socket | ||
systemd-journal-remote.service.in | ||
systemd-journal-remote.socket | ||
systemd-journal-upload.service.in | ||
systemd-journald-audit.socket | ||
systemd-journald-dev-log.socket | ||
systemd-journald-varlink@.socket | ||
systemd-journald.service.in | ||
systemd-journald.socket | ||
systemd-journald@.service.in | ||
systemd-journald@.socket | ||
systemd-kexec.service | ||
systemd-localed.service.in | ||
systemd-logind.service.in | ||
systemd-machine-id-commit.service | ||
systemd-machined.service.in | ||
systemd-modules-load.service.in | ||
systemd-network-generator.service.in | ||
systemd-networkd-wait-online.service.in | ||
systemd-networkd.service.in | ||
systemd-networkd.socket | ||
systemd-nspawn@.service.in | ||
systemd-oomd.service.in | ||
systemd-portabled.service.in | ||
systemd-poweroff.service | ||
systemd-pstore.service.in | ||
systemd-quotacheck.service.in | ||
systemd-random-seed.service.in | ||
systemd-reboot.service | ||
systemd-remount-fs.service.in | ||
systemd-repart.service.in | ||
systemd-resolved.service.in | ||
systemd-rfkill.service.in | ||
systemd-rfkill.socket | ||
systemd-suspend-then-hibernate.service.in | ||
systemd-suspend.service.in | ||
systemd-sysctl.service.in | ||
systemd-sysusers.service | ||
systemd-time-wait-sync.service.in | ||
systemd-timedated.service.in | ||
systemd-timesyncd.service.in | ||
systemd-tmpfiles-clean.service | ||
systemd-tmpfiles-clean.timer | ||
systemd-tmpfiles-setup-dev.service | ||
systemd-tmpfiles-setup.service | ||
systemd-udev-settle.service | ||
systemd-udev-trigger.service | ||
systemd-udevd-control.socket | ||
systemd-udevd-kernel.socket | ||
systemd-udevd.service.in | ||
systemd-update-done.service.in | ||
systemd-update-utmp-runlevel.service.in | ||
systemd-update-utmp.service.in | ||
systemd-user-sessions.service.in | ||
systemd-userdbd.service.in | ||
systemd-userdbd.socket | ||
systemd-vconsole-setup.service.in | ||
systemd-volatile-root.service.in | ||
time-set.target | ||
time-sync.target | ||
timers.target | ||
tmp.mount | ||
umount.target | ||
usb-gadget.target | ||
user-runtime-dir@.service.in | ||
user.slice | ||
user@.service.in | ||
var-lib-machines.mount |