4.4)
kminor=${lnxmin##.}
kdir=updates-sles12.2-src
- if [ $kminor -eq 103 ]
+ if [ $kminor -eq 114 -o $kminor -eq 120 ]
+ then
+ if [ ${lnxrel%%.*} -gt 92 ]
+ then
+ kdir=updates-sles12.3-src
+ fi
+ elif [ $kminor -eq 103 ]
then
if [ ${lnxrel%%.*} -lt 90 ]
then
4.4)
kminor=${lnxmin##.}
kdir=updates-sles12.2-x86_64
- if [ $kminor -eq 103 ]
+ if [ $kminor -eq 114 -o $kminor -eq 120 ]
+ then
+ if [ ${lnxrel%%.*} -gt 92 ]
+ then
+ kdir=updates-sles12.3-x86_64
+ fi
+ elif [ $kminor -eq 103 ]
then
if [ ${lnxrel%%.*} -lt 90 ]
then
fi
site="http://mgmt/cobbler/repo_mirror/$kdir"
;;
+ 4.12)
+ kdir=updates-sles12.4-x86_64
+ if [ ${lnxrel%%.*} -ge 120 ]
+ then
+ kdir=updates-sles12.5-x86_64
+ fi
+ site="http://mgmt/cobbler/repo_mirror/$kdir"
+ ;;
esac
if [ ! -f $pathtorpms/kernel-default-devel-$wanted_kernel.$(resolve_arch $TARGET_ARCH).rpm ]; then
fetch_url "$site/x86_64/kernel-default-devel-$wanted_kernel.$(resolve_arch $TARGET_ARCH).rpm" $pathtorpms