What this script dose it go online download the Update that exploitable for PS4 that you chose for Linux only and move it to your USB In PS4/UPDATE/PS4UPDATE.pup then the only Thing you need to do is unplug the USB and update via storage in safe mode look at Readme.md for more help WSL have...
here a script i made to install linux for the PS4 to the HDD
Thanks to Control execute for his hdd keys script without his script PS4Linux HDD would not be possible
https://github.com/TigerClips1/ps4linux_disk_image_builder
this script is FOSS all the steps are in the GitHub readme.md
also...