We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 215eab8 + ddc9944 commit f65e559Copy full SHA for f65e559
suse/mkinitrd-suse.sh
@@ -193,7 +193,12 @@ default_kernel_images() {
193
# script is itself called from within the binary kernel
194
# packages, and rpm does not allow recursive calls.
195
196
- [ -L "$boot_dir/$kernel_image" ] && continue
+ if [ -L "$boot_dir/$kernel_image" ]; then
197
+ # check for usrmerged kernel. in That case the link point to
198
+ # /usr/lib/modules
199
+ link=$(readlink "$boot_dir/$kernel_image")
200
+ [ "${link#/usr/lib/modules}" = "$link" ] && continue
201
+ fi
202
[ "${kernel_image%%.gz}" != "$kernel_image" ] && continue
203
204
kernel_version=$(kernel_version_from_image \
0 commit comments