utils/bump-stable-kernel-versions: update for split hash file

Since Buildroot commit 0e3ddc9dc8,
linux hash files are split between pre- and post-6.17.

With buildroot commit da01b7271a the
script was updated for the new situation but still needs to update the
version-numbered links to the directories with the correct hash files.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
Bernd Kuhls
2026-06-01 20:10:49 +02:00
committed by Arnout Vandecappelle
parent 0a9bc387b6
commit bd633fe5b4

View File

@@ -78,6 +78,10 @@ update_linux_hash() {
echo ">>> Updating version from ${old_version} to ${new_version} in Config.in files"
sed -Ei "s/\tdefault \"${old_version}\"([\t ]+)if /\tdefault \"${new_version}\"\1if /" \
package/linux-headers/Config.in.host linux/Config.in
git mv package/linux-headers/"${old_version}" package/linux-headers/"${new_version}"
if [ -d linux/"${old_version}" ]; then
git mv linux/"${old_version}" linux/"${new_version}"
fi
updated_releases_list="${updated_releases_list} ${release_version}.x"
updated_versions="${updated_versions}\n - ${old_version} -> ${new_version}"