Cadmium installer -script fails on device: "chroot: cannot change root directory to 'apt': No such file or directory"
askolsam opened this issue · 1 comments
askolsam commented
Version: built from master
Device: kukui/krane
Running /root/install
-script on the device will fail with message chroot: cannot change root directory to 'apt': No such file or directory
.
BOOTFW_INST_PKGS
is being set in
Line 74 in 099140e
and the variable is being consumed in
Line 155 in 099140e
However, DESTDIR
is still undefined when BOOTFW_INST_PKGS
is being set, resulting to invalid chroot
command.
DESTDIR is set as late as
Line 120 in 099140e
vi-technocat commented
I noticed this was wrong when installing last night, and fixed it in #96 by moving DESTDIR up before the BOOTFW_INST_PKGS.