tools
tools copied to clipboard
make clean-core unable to find files due to naming
I just stumbled upon a minor problem with make clean-core. It seems to look for files with an "-aarch64.txz" ending but when you compile with DEVICE=RPI, then the files end with "aarch64-RPI.txz", hence they cannot be found by the script.
root@generic:/usr/tools # make clean-core
>>> Removing core from packages set
>>> Setting up stage in /usr/obj/usr/tools/config/22.7/OpenSSL:aarch64
>>> Setting up base in /usr/obj/usr/tools/config/22.7/OpenSSL:aarch64
tar: Error opening archive: Failed to open '/usr/local/opnsense/build/22.7/aarch64/sets/base-*-aarch64.txz'
*** Error code 1
Stop.
make: stopped in /usr/tools
root@generic:/usr/tools # ls /usr/local/opnsense/build/22.7/aarch64/sets/
base-22.7.r1_10-aarch64-RPI.txz kernel-22.7.r1_10-aarch64-RPI.txz