Skip to content

Tries to write wrong file on OSX. #38

@Timmmm

Description

@Timmmm

Hi, this script needs work! On OSX it tries to run this:

Running dd bs=1m if=2012-09-18-wheezy-raspbian/2012-09-18-wheezy-raspbian.img of=/dev/disk1...
Waitingdd: 2012-09-18-wheezy-raspbian/2012-09-18-wheezy-raspbian.img: No such file or directory

It can't find the file because ...raspbian.img is unzipped into the same level as ...raspbian.zip, not into a subdirectory. This may be something OSX does weird or maybe raspbian have changed the layout of their zip. In any case you should list the contents of the zip file and look for the largest .img file in it, then use that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions