Re: [OE-core] [PATCH 1/1] ddimage: Support Mac OS

2014-05-27 Thread Darren Hart
On 5/24/14, 7:44, Koen Kooi k...@dominion.thruhere.net wrote: Op 23 mei 2014, om 06:28 heeft Darren Hart dvh...@linux.intel.com het volgende geschreven: Update the ddimage script to allow it to work on Mac OS too. The biggest difference is sysfs vs diskutil and in the syntax of the stat

Re: [OE-core] [PATCH 1/1] ddimage: Support Mac OS

2014-05-24 Thread Koen Kooi
Op 23 mei 2014, om 06:28 heeft Darren Hart dvh...@linux.intel.com het volgende geschreven: Update the ddimage script to allow it to work on Mac OS too. The biggest difference is sysfs vs diskutil and in the syntax of the stat command between Mac OS and Linux, unfortunately. Workarounds using

[OE-core] [PATCH 1/1] ddimage: Support Mac OS

2014-05-22 Thread Darren Hart
Update the ddimage script to allow it to work on Mac OS too. The biggest difference is sysfs vs diskutil and in the syntax of the stat command between Mac OS and Linux, unfortunately. Workarounds using ls, cut, and columns got really fragile really quickly. Relying on stat and switching on uname