mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user