[oe-commits] [meta-openembedded] 23/77: sblim-sfcb: do not use 'exit 1' to postpone to first boot
git at git.openembedded.org
git at git.openembedded.org
Mon Sep 10 05:08:33 UTC 2018
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
commit 98e284846c9929dbaeddeb77ad2271f18fd85bdc
Author: Hongxu Jia <hongxu.jia at windriver.com>
AuthorDate: Wed Sep 5 08:33:21 2018 -0400
sblim-sfcb: do not use 'exit 1' to postpone to first boot
Since `939f7f1 meta/lib/oe/rootfs.py: do not execute
defer_to_first_boot when processing postinst_intercept hooks' applied
in oe-core, use defer_to_first_boot rather than `exit 1' to postpone
to first boot
Remove duplicated `systemctl enable', it is done in systemd.bbclass
Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb
index ffbe7ea..91c5002 100644
--- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb
+++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb
@@ -68,14 +68,8 @@ do_install() {
}
pkg_postinst_${PN} () {
- OPTS=""
-
if [ x"$D" != "x" ]; then
- OPTS="--root=$D"
- if type systemctl >/dev/null 2>/dev/null; then
- systemctl $OPTS ${SYSTEMD_AUTO_ENABLE} ${SYSTEMD_SERVICE}
- fi
- exit 1
+ $INTERCEPT_DIR/postinst_intercept delay_to_first_boot ${PKG} mlprefix=${MLPREFIX}
fi
${datadir}/sfcb/genSslCert.sh ${sysconfdir}/sfcb
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list