Comment 5 for bug 710104

Revision history for this message
James Westby (james-w) wrote : Re: [Bug 710104] Re: Error "cp: cannot stat `/usr/bin/linaro-hwpack-install': No such file or directory" in 0.4.2

On Sun, 30 Jan 2011 21:02:56 -0000, Loïc Minier <email address hidden> wrote:
> Yes, this is to copy it into the chroot (not sure how that relates?)

Because cp doesn't use $PATH?

If all we wanted to do was execute the script then relying on $PATH is
fine.

Instead what we want to do instead is copy the script in to the chroot,
then run "sudo chroot $chroot /usr/bin/linaro-hwpack-install", and then
remove it again.

Thanks,

James