diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-09-05 08:33:20 -0400 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-09-05 13:59:16 -0700 |
commit | c6a235aab14a7e83d6d8e32584bf8973b46a7acb (patch) | |
tree | 7a41a9f22e6f0c4cd42665e615a49668351f80fe /meta-oe/recipes-support/gradm/gradm_3.1.bb | |
parent | 24172f790a80c1a31adc1d5cb6c26ba986c7d4ab (diff) | |
download | meta-openembedded-contrib-c6a235aab14a7e83d6d8e32584bf8973b46a7acb.tar.gz |
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@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/gradm/gradm_3.1.bb')
-rw-r--r-- | meta-oe/recipes-support/gradm/gradm_3.1.bb | 6 |
1 files changed, 1 insertions, 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 1a4261a9ea..a7d0607f8d 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 } |