Revert "fix: install openrc service on alpine (#12294) (#12870)" (#13178)

This reverts commit b20c63c185.
This commit is contained in:
Spike Curtis
2024-05-06 16:48:19 +04:00
committed by GitHub
parent 619ec927e9
commit deee9492e3
4 changed files with 1 additions and 114 deletions
+1 -8
View File
@@ -90,16 +90,9 @@ ln "$(realpath scripts/linux-pkg/nfpm.yaml)" "$temp_dir/"
ln "$(realpath scripts/linux-pkg/nfpm-alpine.yaml)" "$temp_dir/"
ln "$(realpath scripts/linux-pkg/preinstall.sh)" "$temp_dir/"
nfpm_config_file="nfpm.yaml"
# Use nfpm-alpine.yaml when building for Alpine (OpenRC).
if [[ "$format" == "apk" ]]; then
nfpm_config_file="nfpm-alpine.yaml"
fi
pushd "$temp_dir"
GOARCH="$arch" CODER_VERSION="$version" nfpm package \
-f "$nfpm_config_file" \
-f nfpm.yaml \
-p "$format" \
-t "$output_path" \
1>&2