X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=contrib%2Flbuild%2Flbuild-rhel8;h=7437392bfab13d2fd5b7e763415c0d1d1299427c;hp=6963f589e59a91de6b2183e3c18b1f2e190806ad;hb=cf48a2d23bca685e1076e45370c5d3763c9a9952;hpb=20a6d327c54fc49b1c9e444e9196e20bf8674a85 diff --git a/contrib/lbuild/lbuild-rhel8 b/contrib/lbuild/lbuild-rhel8 index 6963f58..7437392 100644 --- a/contrib/lbuild/lbuild-rhel8 +++ b/contrib/lbuild/lbuild-rhel8 @@ -108,15 +108,21 @@ find_linux_rpm-rhel8() { } kernel_srpm_location() { + local kdir - echo "http://vault.centos.org/8.1.1911/BaseOS/Source/SPackages/" + case $lnxrel in + *8_3) kdir="8.3.2011" ;; + *8_2) kdir="8.2.2004" ;; + *8_1) kdir="8.1.1911" ;; + *8_0) kdir="8.0.1905" ;; + *) ;; + esac + echo "http://vault.centos.org/$kdir/BaseOS/Source/SPackages/" } kernel_debuginfo_location() { - - echo "http://debuginfo.centos.org/8/x86_64/" - + echo "http://debuginfo.centos.org/8/x86_64/Packages/" } cleanup_rpmmacros() {