Just ran pm-flash and found it fails on macOS. Two issues were encountered.
First problem is that wget is not available. Easy solution is to install it: brew install wget.
Second problem is that the -f flag on readlink has incompatible behavior. Since I have coreutils installed, I replaced it with greadlink in order to get things to run. But I think it would be better to save the value in rootfs_stamp as a variable, and avoid the symlink. That has the added upside of working with other BSD systems.
After fixing the script I still wasn't able to get Plasma to boot, but I don't think it's a problem with the script.
Just ran pm-flash and found it fails on macOS. Two issues were encountered.
First problem is that
wget
is not available. Easy solution is to install it:brew install wget
.Second problem is that the
-f
flag onreadlink
has incompatible behavior. Since I havecoreutils
installed, I replaced it withgreadlink
in order to get things to run. But I think it would be better to save the value inrootfs_stamp
as a variable, and avoid the symlink. That has the added upside of working with other BSD systems.After fixing the script I still wasn't able to get Plasma to boot, but I don't think it's a problem with the script.