From: Alexander Kanavin Date: Mon, 29 Jan 2018 12:01:28 +0000 (+0200) Subject: postinst_intercepts: add a delay_to_first_boot hook X-Git-Tag: uninative-1.8~489 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=853ac4a061e47c70b61e255c3cf6109d2058d2cc;p=openembedded-core.git postinst_intercepts: add a delay_to_first_boot hook This allows postinsts scripts to explicitly request a deferral to first boot (by calling 'postinst_intercept delay_to_first_boot') instead of 'exit 1' which should be used only to indicate actual script failures. Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- diff --git a/scripts/postinst-intercepts/delay_to_first_boot b/scripts/postinst-intercepts/delay_to_first_boot new file mode 100644 index 0000000000..ecdbef95dd --- /dev/null +++ b/scripts/postinst-intercepts/delay_to_first_boot @@ -0,0 +1,2 @@ +#!/bin/sh +exit 1