[oe-commits] [meta-openembedded] 22/77: gradm: 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:32 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 c6a235aab14a7e83d6d8e32584bf8973b46a7acb
Author: Hongxu Jia <hongxu.jia at windriver.com>
AuthorDate: Wed Sep 5 08:33:20 2018 -0400
gradm: do not use 'exit 1' to postpone to first boot
Since `229f4e9 package.bbclass: add support for
pkg_postinst_ontarget()' applied in oe-core, use
pkg_postinst_ontarget to run postinst at first boot.
Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-oe/recipes-support/gradm/gradm_3.1.bb | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/meta-oe/recipes-support/gradm/gradm_3.1.bb b/meta-oe/recipes-support/gradm/gradm_3.1.bb
index 1a4261a..a7d0607 100644
--- a/meta-oe/recipes-support/gradm/gradm_3.1.bb
+++ b/meta-oe/recipes-support/gradm/gradm_3.1.bb
@@ -43,10 +43,6 @@ do_install() {
rm -rf ${D}/dev
}
-pkg_postinst_${PN}() {
- # make sure running on the target
- if [ x"$D" != "x" ]; then
- exit 1
- fi
+pkg_postinst_ontarget_${PN}() {
/bin/mknod -m 0622 /dev/grsec c 1 13
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list