From cb63b4bfa0bc3d1cbfe70bd68514f36a78cf30f5 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Mon, 29 Jan 2018 14:01:28 +0200 Subject: 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. (From OE-Core rev: 853ac4a061e47c70b61e255c3cf6109d2058d2cc) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- scripts/postinst-intercepts/delay_to_first_boot | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 scripts/postinst-intercepts/delay_to_first_boot (limited to 'scripts') 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 -- cgit v1.2.3-54-g00ecf