Skip to content

Commit

Permalink
Always use zypper of installed system
Browse files Browse the repository at this point in the history
[bsc#1221346]
  • Loading branch information
laenion committed Mar 14, 2024
1 parent 26df231 commit 28478cf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sbin/transactional-update.in
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ SNAPSHOT_ID=""
SNAPSHOT_DIR=""
BASE_SNAPSHOT_ID=""
TMPFILE=""
DO_CALLEXT=0
DO_CALLEXT=1

declare -A ROLES=()
REPOS=()
Expand Down Expand Up @@ -813,7 +813,6 @@ while [ 1 ]; do
usage 1;
;;
esac
DO_CALLEXT=1

if [ $# -eq 0 ]; then
usage 1
Expand Down Expand Up @@ -1347,7 +1346,7 @@ if [ -n "${ZYPPER_ARG}" -o ${REWRITE_GRUB_CFG} -eq 1 \
if [ ${DO_MIGRATION} -eq 1 ]; then
# transactional-update migration
export DISABLE_RESTART_ON_UPDATE=yes
tukit ${TUKIT_OPTS} call "${SNAPSHOT_ID}" zypper ${ZYPPER_ARG} ${ZYPPER_NONINTERACTIVE} "${ZYPPER_ARG_PKGS[@]}" |& tee -a ${LOGFILE} 1>&${origstdout}
tukit ${TUKIT_OPTS} callext "${SNAPSHOT_ID}" zypper ${ZYPPER_ARG} --root {} ${ZYPPER_NONINTERACTIVE} "${ZYPPER_ARG_PKGS[@]}" |& tee -a ${LOGFILE} 1>&${origstdout}
RETVAL=${PIPESTATUS[0]}
else
if [ ${DO_CALLEXT} -eq 1 ]; then
Expand Down

0 comments on commit 28478cf

Please sign in to comment.