Hello community,
here is the log from the commit of package switch_sles_sle-hpc for
openSUSE:Factory checked in at 2018-08-31 10:45:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/switch_sles_sle-hpc (Old)
and /work/SRC/openSUSE:Factory/.switch_sles_sle-hpc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "switch_sles_sle-hpc"
Fri Aug 31 10:45:12 2018 rev:3 rq:632118 version:0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/switch_sles_sle-hpc/switch_sles_sle-hpc.changes
2018-08-24 17:10:51.958553635 +0200
+++
/work/SRC/openSUSE:Factory/.switch_sles_sle-hpc.new/switch_sles_sle-hpc.changes
2018-08-31 10:45:14.895260467 +0200
@@ -1,0 +2,5 @@
+Tue Aug 28 15:01:06 UTC 2018 - [email protected]
+
+- Make script work with SLES-12-SP2 as well.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ README.SUSE ++++++
--- /var/tmp/diff_new_pack.HObYa6/_old 2018-08-31 10:45:15.263260911 +0200
+++ /var/tmp/diff_new_pack.HObYa6/_new 2018-08-31 10:45:15.263260911 +0200
@@ -9,7 +9,7 @@
Migration to later Service Pack Levels
--------------------------------------
This tool is only meant to run on SLES-12 with service pack level 2 or
-higher. It will not change your service pack level. If you whish to migrate
+higher. It will not change your service pack level. If you wish to migrate
to a later service pack you may do so either before or after running this
tool.
++++++ switch ++++++
--- /var/tmp/diff_new_pack.HObYa6/_old 2018-08-31 10:45:15.279260930 +0200
+++ /var/tmp/diff_new_pack.HObYa6/_new 2018-08-31 10:45:15.279260930 +0200
@@ -145,7 +145,7 @@
rpm_e --nodeps sles-release || { echo "Cannot uninstall sles-release";
switch_to_sles $old_regcode $regcode $error; return 1; }
rm -f /etc/products.d/baseproduct; [ -d /etc/products.d/ ] && touch
/etc/products.d/
- [ $old ] && { rpm_e patterns-sles-Minimal patterns-sles-base || \
+ [ $old ] && { rpm_e --nodeps patterns-sles-Minimal patterns-sles-base || \
{ echo "Cannot uninstall patterns"; switch_to_sles $old_regcode
$regcode $error; return 1; }; }
${SUSECONNECT} -p SLE-HPC/12.${SP}/x86_64 -r ${regcode} -e ${email} || \
{ echo "Cannot register SLE-HPC"; switch_to_sles $old_regcode $regcode
$error; return 1; }
@@ -231,7 +231,7 @@
renew the registration and reregister it manually by calling
${SUSECONNECT} -p $identifier/$version/$arch -r <regcode> .
EOF
- read -p "Do you whish to continue? [y|N]:" answ
+ read -p "Do you wish to continue? [y|N]:" answ
[ "$answ" = "y" -o "$answ" = "Y" ] || exit
fi
done
@@ -313,7 +313,7 @@
For details check 'man 8 switch_sles_sle-hpc'.
EOF
fi
- read -p "Do you whish to reuse the $TYPE registration key? [y|N]:" answ
+ read -p "Do you wish to reuse the $TYPE registration key? [y|N]:" answ
[ "$answ" = "y" -o "$answ" = "Y" ] || exit
fi
regcode=$base_reg