Skip to content

keepalived: do not use /usr/sbin #132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 31, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion keepalived.sysext/create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,13 @@ function populate_sysext_root() {
-i \
-v "$(pwd)":/install_root \
--platform "linux/${img_arch}" \
alpine \
--pull always \
alpine:v3.21 \
/install_root/build.sh "${version}" "$user_group"

# /usr/sbin is a symlink to /usr/bin on Flatcar.
mv usr/sbin/keepalived usr/bin
rmdir usr/sbin
cp -aR usr "${sysextroot}"/
}
# --