Skip to content

Commit

Permalink
mkinitramfs
Browse files Browse the repository at this point in the history
Get rid of the warning message
  • Loading branch information
tnut committed Mar 8, 2024
1 parent d556dc2 commit 9855542
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/mkinitramfs.in
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ do
cp /lib/modules/$KERNEL_VERSION/modules.$i \
$WDIR/lib/modules/$KERNEL_VERSION
done
touch $WDIR/lib/modules/$KERNEL_VERSION/modules.builtin.modinfo

[ -f /lib/modules/$KERNEL_VERSION/modules.builtin.modinfo ] && \
cp /lib/modules/$KERNEL_VERSION/modules.builtin.modinfo \
$WDIR/lib/modules/$KERNEL_VERSION
depmod -b $WDIR $KERNEL_VERSION
}

Expand Down

0 comments on commit 9855542

Please sign in to comment.