]> code.ossystems Code Review - openembedded-core.git/commit
postinst_intercepts: add a delay_to_first_boot hook
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Mon, 29 Jan 2018 12:01:28 +0000 (14:01 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Jan 2018 23:08:12 +0000 (23:08 +0000)
commit853ac4a061e47c70b61e255c3cf6109d2058d2cc
tree043f9a67c3f4dda685c126a97128e6581a3eab10
parenta65081b27109393ff6ec29cd122c017bff637928
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 <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/postinst-intercepts/delay_to_first_boot [new file with mode: 0644]