diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2021-01-20 15:54:44 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-01-21 10:14:06 +0100 |
commit | 90cde3b9ff46b8c62d3b5bdb88f5acea4e62bcac (patch) | |
tree | c5affad785deb060445f0d5145b23e140f7f369a /dts/include/dt-bindings/clock/rk3399-ddr.h | |
parent | b5d3c4c00dff9211fb271e644ae5e98aa0a0853e (diff) | |
download | barebox-90cde3b9ff46b8c62d3b5bdb88f5acea4e62bcac.tar.gz barebox-90cde3b9ff46b8c62d3b5bdb88f5acea4e62bcac.tar.xz |
startup: Execute init scripts in alphabetical order
Documentation states that init scripts are executed in order and this
had been the case before 90df2a955e. This patch replaced the shell loop
around /env/init/* with a plain readdir which is not sorted at all.
Iterate over the files with glob() which guarantees sorted results.
Reported-by: Marcel Hellwig <git@cookiesoft.de>
Fixes: 90df2a955e ("defaultenv: Convert init script to C")
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/include/dt-bindings/clock/rk3399-ddr.h')
0 files changed, 0 insertions, 0 deletions