mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-06 16:58:24 +00:00
systemd-speed-hacks: remove some (re)mount tasks that aren't needed yet in OE built images
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
17
meta-oe/recipes-core/systemd/systemd-speed-hacks.bb
Normal file
17
meta-oe/recipes-core/systemd/systemd-speed-hacks.bb
Normal file
@@ -0,0 +1,17 @@
|
||||
DESCRIPTION = "Collection of hacks to speed up systemd boot"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
|
||||
|
||||
inherit allarch
|
||||
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
|
||||
pkg_postinst_${PN} () {
|
||||
#!/bin/sh
|
||||
# I can run offline
|
||||
rm -f $D/lib/systemd/system/local-fs.target.wants/remount-rootfs.service
|
||||
rm -f $D/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup.service
|
||||
|
||||
rm -f $D/lib/systemd/system/sysinit.target.wants/sys-fs-fuse-connections.mount
|
||||
rm -f $D/lib/systemd/system/sysinit.target.wants/sys-kernel-debug.mount
|
||||
}
|
||||
Reference in New Issue
Block a user