update default wallpaper, video config uses hdmi2
All checks were successful
Build images / Build images (push) Successful in 1h37m25s
All checks were successful
Build images / Build images (push) Successful in 1h37m25s
This commit is contained in:
parent
3ec0a6670c
commit
31c56b594a
6
stage4/98-default-wallpaper/00-run.sh
Normal file
6
stage4/98-default-wallpaper/00-run.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
echo "Setting default wallpaper"
|
||||
for conf in "${ROOTFS_DIR}/etc/xdg/pcmanfm/LXDE-pi/desktop-items-"*.conf; do
|
||||
sed -E 's|/usr/share/rpd-wallpaper/.+$|/usr/share/rpd-wallpaper/RPiSystem.png|' -i "$conf"
|
||||
done
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
echo "Setting custom cmdline"
|
||||
sed -i 's/$/ video=HDMI-A-1:1920x1080M@60/' "${ROOTFS_DIR}/boot/firmware/cmdline.txt"
|
||||
sed -i 's/$/ video=HDMI-A-2:1920x1080M@60/' "${ROOTFS_DIR}/boot/firmware/cmdline.txt"
|
Loading…
x
Reference in New Issue
Block a user