Revert "startup: Load default environment earlier"
Several boards use defaultenv_append_directory() to append a board
specific envfs snippet during runtime. This only works when
defaultenv_append_directory() is called before defaultenv_load() is
exectuted. Since that was executed at the end of the start process
every initcall level could be used to append a env directory. With this
patch only initcall levels earlier than fsdevice_initcall work and
most boards do not cope with this.

Revert this patch until a better solution is found.

Reported-by: Alexander Kurz <akurz@blala.de>

This reverts commit 5b92cfc.
1 parent d7dacc1 commit f9c96e2e52b0b5a8594720a45116c12500796e9a
@Sascha Hauer Sascha Hauer authored on 19 Mar 2018
Showing 1 changed file
View
common/startup.c