Skip to content

Write alpine service scripts directly - #2117

Merged
twangboy merged 2 commits into
saltstack:developfrom
heewa:fix-alpine-service-files
Sep 2, 2026
Merged

Write alpine service scripts directly#2117
twangboy merged 2 commits into
saltstack:developfrom
heewa:fix-alpine-service-files

Conversation

@heewa

@heewa heewa commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Writes alpine service files for salt daemons directly, rather than trying to download them from the salt repo (which deprecated them a while ago). This mirrors how it's done for gentoo.

What issues does this PR fix or reference?

Alpine install is broken. In the install_alpine_linux_post() phase, it tries to install OpenRC scripts from <salt-repo>/pkg/alpine/..., but they're not there anymore. They were moved to old/ when they got deprecated 3.5 years ago.

@twangboy twangboy self-assigned this Jun 26, 2026
@twangboy

twangboy commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Please rebase and address the lint failures

Comment thread bootstrap-salt.sh
Comment thread bootstrap-salt.sh Outdated
Comment thread bootstrap-salt.sh
@twangboy
twangboy force-pushed the fix-alpine-service-files branch from a94405f to 1f412a1 Compare August 31, 2026 19:44
This script targets POSIX sh (shellcheck -s sh), which flags 'local'
as undefined (SC3043) and fails CI lint. script_path doesn't need
scoping here anyway -- it matches how every other variable in this
file (including fname in this same loop) is already handled.
@twangboy
twangboy merged commit 5c8f0f7 into saltstack:develop Sep 2, 2026
122 checks passed
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.

2 participants