Browse Source

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>
Alexander Kanavin 6 years ago
parent
commit
853ac4a061
1 changed files with 2 additions and 0 deletions
  1. 2 0
      scripts/postinst-intercepts/delay_to_first_boot

+ 2 - 0
scripts/postinst-intercepts/delay_to_first_boot

@@ -0,0 +1,2 @@
+#!/bin/sh
+exit 1