Cache patch breaks repositories on macOS
Trying to install packages from a repository is broken on macOS when adding --no-cache
:
build_dir/target-x86_64_musl/root-x86 on apk [$✘!?]
❯ IPKG_INSTROOT=/Users/user/src/openwrt/openwrt/build_dir/target-x86_64_musl/root-x86 /Users/user/src/openwrt/openwrt/staging_dir/host/bin/fakeroot /Users/user/src/openwrt/apk-tools/build/src/apk --root /Users/user/src/openwrt/openwrt/build_dir/target-x86_64_musl/root-x86 --keys-dir /Users/user/src/openwrt/openwrt --no-cache --no-logfile --no-scripts --preserve-env --repository file:///Users/user/src/openwrt/openwrt/staging_dir/packages/x86/packages.adb add --initdb --arch x86_64 base-files
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
WARNING: Ignoring file:///Users/user/src/openwrt/openwrt/staging_dir/packages/x86/packages.adb: cache not available
ERROR: unable to select packages:
base-files (no such package):
required by: world[base-files]
The issue appears on macOS only and starts with bc2b5b69