tools icon indicating copy to clipboard operation
tools copied to clipboard

make clean-core unable to find files due to naming

Open JohannesNeu opened this issue 3 years ago • 0 comments

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

JohannesNeu avatar Jul 30 '22 07:07 JohannesNeu