You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/update-kernel-upstream.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ if [[ -z "${ARCHIVE_HASH}" ]]; then
31
31
exit 1
32
32
fi
33
33
34
-
CURRENT_VERSION_LIST=$(grep -oE 'BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="[^"]+"' buildroot-external/configs/{generic-x86_64,tinkerboard}.config | sed -E 's/.*"([^"]+)"/\1/'| sort -u)
34
+
CURRENT_VERSION_LIST=$(grep -oE 'BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="[^"]+"' buildroot-external/configs/{generic-x86_64}.config | sed -E 's/.*"([^"]+)"/\1/'| sort -u)
35
35
if [[ $(echo "${CURRENT_VERSION_LIST}"| wc -l)-ne 1 ]];then
36
36
echo"${PACKAGE_NAME}: inconsistent kernel versions found across target configs, refusing to auto-update">&2
37
37
exit 1
@@ -52,7 +52,7 @@ if [[ -z "${1}" ]]; then
52
52
fi
53
53
fi
54
54
55
-
sed -i "s/BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=\".*\"/BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=\"${ID}\"/g" buildroot-external/configs/{generic-x86_64,tinkerboard}.config
55
+
sed -i "s/BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=\".*\"/BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=\"${ID}\"/g" buildroot-external/configs/{generic-x86_64}.config
56
56
57
57
sed -i "/${PACKAGE_NAME}-${CURRENT_VERSION}\.tar\.xz/d""buildroot-external/patches/${PACKAGE_NAME}/${PACKAGE_NAME}.hash"
0 commit comments