mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
Merge pull request #4108 from HiassofT/le10-init-drop-module-load
init: drop support for loading modules in initramfs
This commit is contained in:
commit
a87d710d6e
@ -23,9 +23,6 @@
|
||||
/usr/bin/busybox mount -t proc proc /proc
|
||||
/usr/bin/busybox mount -t sysfs sysfs /sys
|
||||
|
||||
# set needed variables
|
||||
MODULE_DIR=/usr/lib/modules
|
||||
|
||||
UPDATE_ROOT=/storage/.update
|
||||
UPDATE_DIR="$UPDATE_ROOT"
|
||||
|
||||
@ -358,16 +355,6 @@ update_bootloader() {
|
||||
fi
|
||||
}
|
||||
|
||||
load_modules() {
|
||||
progress "Loading kernel modules"
|
||||
|
||||
[ ! -f "/etc/modules" ] && return
|
||||
for module in $(cat /etc/modules); do
|
||||
progress "Loading kernel module $module"
|
||||
insmod "$MODULE_DIR/$module.ko" || progress "... Failed to load kernel module $module, skipping"
|
||||
done
|
||||
}
|
||||
|
||||
set_consolefont() {
|
||||
local vres
|
||||
|
||||
@ -1092,7 +1079,6 @@ debug_msg "Unique identifier for this client: ${MACHINE_UID:-NOT AVAILABLE}"
|
||||
|
||||
# main boot sequence
|
||||
for BOOT_STEP in \
|
||||
load_modules \
|
||||
set_consolefont \
|
||||
check_disks \
|
||||
mount_flash \
|
||||
|
Loading…
x
Reference in New Issue
Block a user