kdir=updates-sles15.1-src
;;
5.3)
- kdir=updates-sles15.2-src
+ case ${lnxrel%%.*} in
+ 24)
+ kdir=updates-sles15.2-src
+ ;;
+ 59)
+ kdir=updates-sles15.3-src
+ ;;
+ esac
;;
esac
local wanted_kernel="$2"
local pathtorpms=${3:-"$KERNELRPMSBASE/$lnxmaj/$DISTROMAJ/$TARGET_ARCH"}
local wanted_kernel_org="$wanted_kernel"
+ local distro
local base_site
local base_dir
local dev_site
case $lnxmaj in
4.12)
- base_dir=updates-basesystem-sles15.1-x86_64
- dev_dir=updates-devtools-sles15.1-x86_64
+ distro=sles15.1
;;
5.3)
- base_dir=updates-basesystem-sles15.2-x86_64
- dev_dir=updates-devtools-sles15.2-x86_64
+ case ${lnxrel%%.*} in
+ 24)
+ distro=sles15.2
+ ;;
+ 59)
+ distro=sles15.3
+ ;;
+ esac
;;
esac
+ base_dir=updates-basesystem-$distro-x86_64
+ dev_dir=updates-devtools-$distro-x86_64
+
base_site="http://mgmt/cobbler/repo_mirror/$base_dir"
dev_site="http://mgmt/cobbler/repo_mirror/$dev_dir"
4.12.14-122.91 (SLES12 SP5)
4.12.14-197.75 (SLES15 SP1)
5.3.18-24.61 (SLES15 SP2)
- 5.3.18-59.19 (SLES15 SP3)
+ 5.3.18-59.27 (SLES15 SP3)
4.15.0-48 (Ubuntu 18.04)
* Other clients known to build on these kernels at some point (others may also work):
3.10.0-862.14.4.el7 (RHEL7.5)