Current-Users archive

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

Re: cross-compiling ARM img question



    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?

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