Skip to content

Commit 9f28dae

Browse files
authored
Revert "fix: install openrc service on alpine (#12294) (#12870)"
This reverts commit b20c63c.
1 parent 619ec92 commit 9f28dae

File tree

4 files changed

+1
-114
lines changed

4 files changed

+1
-114
lines changed

scripts/linux-pkg/coder-openrc

Lines changed: 0 additions & 38 deletions
This file was deleted.

scripts/linux-pkg/coder-workspace-proxy-openrc

Lines changed: 0 additions & 39 deletions
This file was deleted.

scripts/linux-pkg/nfpm-alpine.yaml

Lines changed: 0 additions & 29 deletions
This file was deleted.

scripts/package.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,9 @@ ln "$(realpath scripts/linux-pkg/nfpm.yaml)" "$temp_dir/"
9090
ln "$(realpath scripts/linux-pkg/nfpm-alpine.yaml)" "$temp_dir/"
9191
ln "$(realpath scripts/linux-pkg/preinstall.sh)" "$temp_dir/"
9292

93-
nfpm_config_file="nfpm.yaml"
94-
95-
# Use nfpm-alpine.yaml when building for Alpine (OpenRC).
96-
if [[ "$format" == "apk" ]]; then
97-
nfpm_config_file="nfpm-alpine.yaml"
98-
fi
99-
10093
pushd "$temp_dir"
10194
GOARCH="$arch" CODER_VERSION="$version" nfpm package \
102-
-f "$nfpm_config_file" \
95+
-f nfpm.yaml \
10396
-p "$format" \
10497
-t "$output_path" \
10598
1>&2

0 commit comments

Comments
 (0)