Skip to content
Snippets Groups Projects
Commit f855f89a authored by Philip Müller's avatar Philip Müller
Browse files

[kernels] simplify it

parent 23070574
No related branches found
No related tags found
No related merge requests found
for kk in /boot/vmlinu*-*86; do
if [ "$kk" != "/boot/vmlinu*-*86" ]; then
have32="true"
have_kernel="true"
fi
done
for kk in /boot/vmlinu*-*64; do
if [ "$kk" != "/boot/vmlinu*-*64" ]; then
have64="true"
have_kernel="true"
fi
done
if cpuid -l; then
......@@ -29,7 +31,7 @@ if ( [ "${have32}" != "true" ] && [ "${32bit_CPU} == "true" ] ) || ( [ "${have64
menu_reload
}
fi
if [ "${have32}" == "true" ] || if [ "${have64}" == "true" ]; then
if [ "${have_kernel}" == "true" ]; then
title=""
for kopt in @ARCH@ $kopts @DEFAULT_ARGS@ @BOOT_ARGS@; do
if [ -n "$title" ] ; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment