From 0550e84f8f19424b5c1d77d476abd6d40ea65ddf Mon Sep 17 00:00:00 2001 From: emmett1 Date: Mon, 6 Oct 2025 14:25:33 +0000 Subject: linux: updated to 6.12.50 --- repos/extra/linux/postinstall | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'repos/extra/linux/postinstall') diff --git a/repos/extra/linux/postinstall b/repos/extra/linux/postinstall index 04b6aa2f..f5e8be90 100755 --- a/repos/extra/linux/postinstall +++ b/repos/extra/linux/postinstall @@ -1,7 +1,11 @@ #!/bin/sh for i in /lib/modules/*; do - [ -f $i/current ] || continue - depmod ${i##*/} - mkinitrd -k ${i##*/} /boot/initrd-linux + [ -L $i ] || continue + case $(readlink $i) in + linux) + depmod ${i##*/} + mkinitrd -k ${i##*/} /boot/initrd-linux + break;; + esac done -- cgit v1.2.3