Skip to content

buildroot: Check init.d action to avoid double version print out#42

Merged
msfjarvis merged 1 commit into
ClangBuiltLinux:mainfrom
nathanchance:overlay-action-check
Apr 8, 2021
Merged

buildroot: Check init.d action to avoid double version print out#42
msfjarvis merged 1 commit into
ClangBuiltLinux:mainfrom
nathanchance:overlay-action-check

Conversation

@nathanchance

Copy link
Copy Markdown
Member

Currently, when booting the images, the version string prints out twice.
This is because these scripts are called twice: once with the "start"
action and again with the "stop" action.

To avoid this, just run the contents of the script when the service is
starting.

Given that this is a purely cosmetic issue, I do not think that it is
worth rebuilding the images over.

Closes: #41

Currently, when booting the images, the version string prints out twice.
This is because these scripts are called twice: once with the "start"
action and again with the "stop" action.

To avoid this, just run the contents of the script when the service is
starting.

Closes: ClangBuiltLinux#41

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
@nickdesaulniers

Copy link
Copy Markdown
Member

Thanks and thanks @shenki for pointing this out! 🥥 ⛳

@msfjarvis msfjarvis merged commit aba069c into ClangBuiltLinux:main Apr 8, 2021
@nathanchance nathanchance deleted the overlay-action-check branch April 8, 2021 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants