From: barebox+mailing@cookiesoft.de
To: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: /env/init script order
Date: Wed, 20 Jan 2021 15:14:04 +0100 (CET) [thread overview]
Message-ID: <199631954.110480.1611152044705@office.mailbox.org> (raw)
Hey folks,
according to the doc[0] the scripts in /env/init will be "executed in alphabetical order". But certainly, this isn't the case (for me).
If I look into the source[1], I see a `readdir` call, which certainly guarantees no order at all. But I want a certain order, at least I want my script to be executed after the automount script.
1. Why is there a discrepancy? Was there a time where the scripts were executed in order?
2. How can I achieve, that "my script" get's executed after a certain (the autmount) script?
Greetings,
Marcel
[0]: https://barebox.org/doc/latest/user/defaultenv-2.html#env-init
[1]: https://git.pengutronix.de/cgit/barebox/tree/common/startup.c#n333
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2021-01-20 14:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-20 14:14 barebox+mailing [this message]
2021-01-20 15:02 ` Sascha Hauer
2021-01-21 6:56 ` barebox+mailing
2021-01-21 8:18 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199631954.110480.1611152044705@office.mailbox.org \
--to=barebox+mailing@cookiesoft.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox