mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
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>
This commit is contained in:
parent
24172f790a
commit
c6a235aab1
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user