summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/at
diff options
context:
space:
mode:
authorHaris Okanovic <haris.okanovic@ni.com>2016-12-05 15:48:18 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-08 10:26:14 +0000
commit3f8f1d8e4b129e5dfdd63d450887320aa0e33228 (patch)
treeaa45e6e65c0db2a2f68570866dadf34430cf6a30 /meta/recipes-extended/at
parent34f1d3824fd45cd0bb28b3cbc33907cfd885f841 (diff)
downloadopenembedded-core-3f8f1d8e4b129e5dfdd63d450887320aa0e33228.tar.gz
openembedded-core-3f8f1d8e4b129e5dfdd63d450887320aa0e33228.tar.bz2
openembedded-core-3f8f1d8e4b129e5dfdd63d450887320aa0e33228.zip
run-postinsts: Print message before running deferred postinst scripts
Opkg can defer running postinst scripts to first boot, which can take a while on some systems. The output of `opkg configure` (or whatever pm is used) is redirected to a file when logging is enabled (I.e. $POSTINST_LOGGING == 1), making the machine appear hung during this process. This change simply prints a wait message on the console to inform the user of this potentially long and silent operation so that they do not mistakenly reboot their machine. Why not simply `tee` the output instead? Tee might be provided by BusyBox in some distros, which may need to run update-alternatives in the very postinst scripts being executed by this process. It's therefore not safe to assume Tee (or any other packaged util) is available until the configure process finishes. Signed-off-by: Haris Okanovic <haris.okanovic@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-extended/at')
0 files changed, 0 insertions, 0 deletions