diff options
Diffstat (limited to 'meta/recipes-bsp/v86d/v86d_0.1.10.bb')
-rw-r--r-- | meta/recipes-bsp/v86d/v86d_0.1.10.bb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-bsp/v86d/v86d_0.1.10.bb b/meta/recipes-bsp/v86d/v86d_0.1.10.bb index 7ccb4ee30f..f50207212f 100644 --- a/meta/recipes-bsp/v86d/v86d_0.1.10.bb +++ b/meta/recipes-bsp/v86d/v86d_0.1.10.bb | |||
@@ -57,3 +57,13 @@ python __anonymous() { | |||
57 | } | 57 | } |
58 | 58 | ||
59 | inherit update-rc.d | 59 | inherit update-rc.d |
60 | |||
61 | DEPENDS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}" | ||
62 | pkg_postinst_${PN} () { | ||
63 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd sysvinit','true','false',d)}; then | ||
64 | if [ -n "$D" ]; then | ||
65 | OPTS="--root=$D" | ||
66 | fi | ||
67 | systemctl $OPTS mask fbsetup.service | ||
68 | fi | ||
69 | } | ||