mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 01:30:21 +00:00
Apply the forking patch to openSUSE git installations.
This is needed while SuSE/openSUSE doesn't ship the systemd python bindings. Closes saltstack/salt#16982
This commit is contained in:
parent
68329b80c8
commit
224ebd305c
1 changed files with 6 additions and 0 deletions
|
@ -3979,6 +3979,12 @@ install_opensuse_git_deps() {
|
|||
|
||||
__git_clone_and_checkout || return 1
|
||||
|
||||
if [ -f "${__SALT_GIT_CHECKOUT_DIR}/pkg/suse/use-forking-daemon.patch" ]; then
|
||||
cd "${__SALT_GIT_CHECKOUT_DIR}"
|
||||
echowarn "Applying patch to systemd service unit file"
|
||||
patch -p1 < pkg/suse/use-forking-daemon.patch || return 1
|
||||
fi
|
||||
|
||||
# Let's trigger config_salt()
|
||||
if [ "$_TEMP_CONFIG_DIR" = "null" ]; then
|
||||
_TEMP_CONFIG_DIR="${__SALT_GIT_CHECKOUT_DIR}/conf/"
|
||||
|
|
Loading…
Add table
Reference in a new issue