AsahiLinux / asahi-installer

Asahi Linux installer
MIT License
782 stars 104 forks source link

bug: use POSIX compliant techniques for `cpio` and `rm` #292

Closed PaulCharlton closed 3 days ago

PaulCharlton commented 6 days ago

bug: use POSIX compliant techniques for cpio and rm

These changes are compatible with basic macOS implementations of cpio and rm


refs: [use rm -rf to remove a directory] https://github.com/AsahiLinux/asahi-installer/blob/5f0814ba90d2814081c2e9ed516675dd75ab3c6e/build.sh#L102

[use POSIX cpio which does not support --directory or -D] https://github.com/AsahiLinux/asahi-installer/blob/5f0814ba90d2814081c2e9ed516675dd75ab3c6e/build.sh#L125


PR forthcoming

marcan commented 3 days ago

The build is intended to run from Linux, not macOS.