diff options
Diffstat (limited to 'meta-selftest/recipes-test/postinstz/postinstz_1.0.bb')
-rw-r--r-- | meta-selftest/recipes-test/postinstz/postinstz_1.0.bb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-selftest/recipes-test/postinstz/postinstz_1.0.bb b/meta-selftest/recipes-test/postinstz/postinstz_1.0.bb new file mode 100644 index 00000000000..79abd744c2e --- /dev/null +++ b/meta-selftest/recipes-test/postinstz/postinstz_1.0.bb @@ -0,0 +1,12 @@ +LICENSE = "MIT" + +ALLOW_EMPTY_${PN} = "1" +pkg_postinst_${PN} (){ + if test "x$D" != "x"' then + # Need to run on first boot + exit 1 + else + echo "lets write postinst_z" > /etc/postinstz-test + fi +} + |