[Improvement][buildarmimg] Early file type check when installing multiple local packages
Overview
The new functionality to install multiple local packages with buildarmimg
appear to function as expected.
Additional early checks can be added to prevent building the image before realising something is wrong with the selected packages.
Main goals:
-
1) Confirm the file is of package type -
2) Update to README.md
to demonstrate the new function
Great to have if possible:
-
3) Possible methods to verify the package is compatible with aarch64
?
- Should be relatively straight forward. Probably matching of the mime-type will be sufficient here?
- Straight forward - maybe a separate example would be better in this section of README.md?
- This appears to be the difficult one. How is
pacman
verifying that the package is for the compatible architecture? (need to find further information)
Will post update to point 1) tonight or tomorrow and try to find more on 3)