Skip to content

Commit 93ea570

Browse files
committed
kernel_build: Fix hardcode arch in output
Otherwise it always reports x86_64
1 parent 43df08e commit 93ea570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ echo "[TIMER]{MRPROPER}: $(( $END_MRPROPER - $START_MRPROPER ))s"
2929
ARCH=$(uname -m)
3030
if [ "x86_64" == "${ARCH}" ] || [ "aarch64" == "${ARCH}" ]; then
3131
VERSION=$(uname -r | cut -d '-' -f1)
32-
echo "x86_64 architecture detected, copying config"
32+
echo "${ARCH} architecture detected, copying config"
3333
if [ -f configs/kernel-${ARCH}.config ]; then
3434
cp -v configs/kernel-${ARCH}.config .config
3535
elif [ -f configs/kernel-${ARCH}-rhel.config ]; then

0 commit comments

Comments
 (0)