[oe-commits] [openembedded-core] 14/24: postinst_intercepts: add a delay_to_first_boot hook

git at git.openembedded.org git at git.openembedded.org
Mon Jan 29 23:09:38 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 853ac4a061e47c70b61e255c3cf6109d2058d2cc
Author: Alexander Kanavin <alexander.kanavin at linux.intel.com>
AuthorDate: Mon Jan 29 14:01:28 2018 +0200

    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 at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 scripts/postinst-intercepts/delay_to_first_boot | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/postinst-intercepts/delay_to_first_boot b/scripts/postinst-intercepts/delay_to_first_boot
new file mode 100644
index 0000000..ecdbef9
--- /dev/null
+++ b/scripts/postinst-intercepts/delay_to_first_boot
@@ -0,0 +1,2 @@
+#!/bin/sh
+exit 1

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list