diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2018-01-29 14:01:28 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-30 11:50:12 +0000 |
commit | cb63b4bfa0bc3d1cbfe70bd68514f36a78cf30f5 (patch) | |
tree | e0468f2ed1e57032be54b91206516e762b34e751 /scripts/postinst-intercepts | |
parent | 243022de85e65d35424a7c4ba68527f7e377690e (diff) | |
download | poky-cb63b4bfa0bc3d1cbfe70bd68514f36a78cf30f5.tar.gz |
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 <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/postinst-intercepts')
-rw-r--r-- | scripts/postinst-intercepts/delay_to_first_boot | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ | |||
1 | #!/bin/sh | ||
2 | exit 1 | ||