From 9754362e4a85b7fe257a5f67dc5ded3f478b32dc Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Sat, 27 Jan 2024 16:05:14 -0800 Subject: [PATCH] chore: Use file rather than echo command now that change affects the whole deck branch --- Containerfile | 1 - .../deck/shared/usr/lib/modprobe.d/bmi150-blacklist.conf | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 system_files/deck/shared/usr/lib/modprobe.d/bmi150-blacklist.conf diff --git a/Containerfile b/Containerfile index 732bb272..bf503b1c 100644 --- a/Containerfile +++ b/Containerfile @@ -662,7 +662,6 @@ RUN wget https://steamdeck-packages.steamos.cloud/archlinux-mirror/jupiter-main/ # Cleanup & Finalize COPY system_files/shared / RUN /tmp/image-info.sh && \ - printf "blacklist bmi150_core\nblacklist bmi150_i2c\nblacklist bmi150_spi" >> /usr/lib/modprobe.d/bmi150-blacklist.conf && \ mkdir -p "/usr/etc/xdg/autostart" && \ cp "/usr/share/applications/steam.desktop" "/usr/etc/xdg/autostart/steam.desktop" && \ sed -i 's@/usr/bin/bazzite-steam %U@/usr/bin/bazzite-steam -silent %U@g' /usr/etc/xdg/autostart/steam.desktop && \ diff --git a/system_files/deck/shared/usr/lib/modprobe.d/bmi150-blacklist.conf b/system_files/deck/shared/usr/lib/modprobe.d/bmi150-blacklist.conf new file mode 100644 index 00000000..fac4a803 --- /dev/null +++ b/system_files/deck/shared/usr/lib/modprobe.d/bmi150-blacklist.conf @@ -0,0 +1,3 @@ +blacklist bmi150_core +blacklist bmi150_i2c +blacklist bmi150_spi