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: lucaceresoli/bug-15201-perf-libtraceevent-missing~18920 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=853ac4a061e47c70b61e255c3cf6109d2058d2cc;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 00000000000..ecdbef95dde --- /dev/null +++ b/scripts/postinst-intercepts/delay_to_first_boot @@ -0,0 +1,2 @@ +#!/bin/sh +exit 1