Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cross-compiling ARM img question



On 11/26/17, Robert Elz <kre%munnari.oz.au@localhost> wrote:
>     Date:        Sun, 26 Nov 2017 14:25:35 -0800
>     From:        bch <brad.harder%gmail.com@localhost>
>     Message-ID:
> <CABfrOT8F-uvae_SRHDGrZ5mNZmND0vcCXNJ_zaOA9GocgtkdEw%mail.gmail.com@localhost>
>
>   | That's not fixing things... that's adjusting what used to be
>   | destdir.evbarm in the OBJDIR.
>
> OK, just trying the simple things first...
>
> It looks to be coming from src/distrib/utils/embedded/mkimage and in
> particular from populate() in .../conf/armv7.conf
>
> But it appears as if it should be going to /tmp/<something>/mnt/boot rather
> than /boot.
>
> Any chance that there is a mktemp (command) in your path which does not
> work correctly?

That's a good thought, but the explicit "/mnt" string should at least
show up in the path, as it's ${mnt} that is prefixing /boot later on.


> As in where:
>
> 	tmp="$(mktemp -d "/tmp/$PROG.XXXXXX")"
> 	mnt="${tmp}/mnt"
>
> leaves mnt as ""  ??   (It seems a little unlikeloy!)
>
> Apart from that possibility I don't see how this could happen in a current
> install.  Nothing else appears to alter ${mnt} and taht appears to be
> where the files are placed.  Or should be.   That line should probably be
> ${TMPDIR:-/tmp) rather that just /tmp but that can't be the issue.
>
> kre
>
>


Home | Main Index | Thread Index | Old Index