mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
linux-initramfs: clean modules file before adding to it, fixes #587
Signed-off-by: Alain Kalker <a.c.kalker@gmail.com>
This commit is contained in:
parent
18ac8827e6
commit
594e6da0bb
@ -29,6 +29,7 @@ if [ -n "$INITRAMFS_MODULES" ]; then
|
||||
mkdir -p $INSTALL/etc
|
||||
mkdir -p $INSTALL/lib/modules
|
||||
|
||||
rm -f $INSTALL/etc/modules
|
||||
for i in $INITRAMFS_MODULES; do
|
||||
module=`find $LINUX_MODULES_DIR -name $i.ko`
|
||||
if [ -n "$module" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user