- Package:
- src:flash-kernel
- Source:
- src:flash-kernel
- Submitter:
- Marco d'Itri
- Date:
- 2023-03-26 09:18:04 UTC
- Severity:
- normal
I am currently cross-grading an ARM system from armhf to arm64, and flash-kernel generates a non-working boot.scr file because dpkg --print-architecture in get_boot_cmd() returns armhf instead of arm64.
Idea for supporting such corner cases
if environmentvariable CROSS_GRADE_TO_ARCH is set
use it
else
dpkg --print-architecture
Groeten
Geert Stappers