mirror of
https://github.com/ps5-linux/ps5-linux-loader.git
synced 2026-05-14 18:51:59 +00:00
Load Marvell WiFi blobs dynamically using initramfs (#11)
* Add PS5 WiFi firmware initramfs loader support Add a CPIO wrapper to add new files/folders at initrd at runtime Add early boot scripts (initramfs-tools for debian-based) support * logging & comment
This commit is contained in:
14
scripts/ubuntu/initramfs-tools
Normal file
14
scripts/ubuntu/initramfs-tools
Normal file
@@ -0,0 +1,14 @@
|
||||
if [ "${PS5_FW_INSTALL_DONE:-}" != y ] &&
|
||||
[ -f /scripts/functions ] &&
|
||||
[ -d /scripts/local-bottom ] &&
|
||||
[ -n "$rootmnt" ] &&
|
||||
[ -e "${rootmnt}/etc/os-release" ]; then
|
||||
ID=
|
||||
ID_LIKE=
|
||||
. "${rootmnt}/etc/os-release"
|
||||
case " ${ID} ${ID_LIKE} " in
|
||||
*" ubuntu "*)
|
||||
[ -e /scripts/ubuntu/ps5-wifi-fw ] && . /scripts/ubuntu/ps5-wifi-fw
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
Reference in New Issue
Block a user