mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
kernel: fix generation of framebuffer blacklist
modules are now xz compressed. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -211,14 +211,14 @@ ifeq "$(LASTKERNEL)" "1"
|
||||
echo install drm /bin/false > /etc/modprobe.d/framebuffer.conf
|
||||
|
||||
# Blacklist old framebuffer modules
|
||||
for f in $$(find /lib/modules/$(VER)-$(VERSUFIX)/kernel/drivers/video/fbdev/ -name *.ko); do \
|
||||
for f in $$(find /lib/modules/$(VER)-$(VERSUFIX)/kernel/drivers/video/fbdev/ -name *.ko.xz); do \
|
||||
echo "blacklist $$(basename $$f)" >> /etc/modprobe.d/framebuffer.conf ; \
|
||||
done
|
||||
# Blacklist new drm framebuffer modules
|
||||
for f in $$(find /lib/modules/$(VER)-$(VERSUFIX)/kernel/drivers/gpu/drm -name *.ko); do \
|
||||
for f in $$(find /lib/modules/$(VER)-$(VERSUFIX)/kernel/drivers/gpu/drm -name *.ko.xz); do \
|
||||
echo "blacklist $$(basename $$f)" >> /etc/modprobe.d/framebuffer.conf ; \
|
||||
done
|
||||
sed -i -e "s|.ko||g" /etc/modprobe.d/framebuffer.conf
|
||||
sed -i -e "s|.ko.xz||g" /etc/modprobe.d/framebuffer.conf
|
||||
|
||||
# Disable ipv6 at runtime
|
||||
echo "options ipv6 disable_ipv6=1" > /etc/modprobe.d/ipv6.conf
|
||||
|
||||
Reference in New Issue
Block a user