plasma-phone-packaging / pm-flashtool

Tool for Flashing PM as LXC Container on top of CM
44 stars 27 forks source link

macOS support #11

Open cesarandreu opened 7 years ago

cesarandreu commented 7 years ago

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.

scream314 commented 6 years ago

https://github.com/plasma-phone-packaging/pm-flashtool/pull/29