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

Bug#783323: Broken configuration for OpenBlocks AX3-4



On Sat, 2015-05-02 at 20:09 +0100, Ben Hutchings wrote:
> > It seems that the code which handles the Boot-Device case is buggy in
> > the face of a firmware partition which has some hierarchy to it.
> 
> If the boot images need to be in a specific subdirectory then it's not
> so unreasonable to expect that the subdirectory already exists, but
> still it might be helpful to add a 'mkdir -p "$(dirname "$path")"'.

The error you were seeing was due to the lack of a subdirectory in the
staging /tmp dir not the actual boot partition, so I think a mkdir (or
perhaps a basename on the temp file) would be entirely appropriate.

Ian.


Reply to: