From 03482e9020960b4d6f680ddb89245b2c6848aabc Mon Sep 17 00:00:00 2001 From: Woodpecker CI Date: Sun, 7 Sep 2025 05:17:07 +0000 Subject: Woodpecker CI f640b4ee9d98fec302c0a631a81ac01de4a42283 [SKIP CI] --- linux/postinstall | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linux/postinstall') diff --git a/linux/postinstall b/linux/postinstall index 4eabef1b..04b6aa2f 100755 --- a/linux/postinstall +++ b/linux/postinstall @@ -1,6 +1,7 @@ #!/bin/sh for i in /lib/modules/*; do - [ -f $i/modules.dep ] || continue + [ -f $i/current ] || continue depmod ${i##*/} + mkinitrd -k ${i##*/} /boot/initrd-linux done -- cgit v1.2.3