generic-poky/scripts/contrib
Jason Wessel cf2ebed2ff mkefidisk.sh: Allow using a loopback mounted file
It should be possible to generate a disk to a file using a loopback
device with mkefidisk.sh, which is useful for booting simulators.  To
make this possible the partitions for the loop back need to work
similarly to the mmc devices.  The mkfs.vfat also requires and
additional argument to force it to write to something other then a
real disk.

Example:
  qemu-img create -f raw bigdisk 4G
  dev=`sudo losetup -f`
  sudo losetup $dev bigdisk
  mkefidisk.sh $dev tmp-eglibc/deploy/images/qemux86/core-image-minimal-qemux86.hddimg /dev/sda
  sudo losetup -d $dev

Note:
  Also a bug was fixed in the mkefidisk.sh where if the disk you are
  writing to initially has an invalid label the size of the first
  partition will be computed incorrectly.  For the simulator disk
  creation this is generally always the case, but this can happen with
  real hardware as well.

(From OE-Core rev: 254899824900f2e8c6a34d2ad1b8cbea91acb4ae)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-30 22:11:58 +01:00
..
bb-perf bb-matrix-plot: Use interpolation for sparse data 2013-09-14 08:21:00 +01:00
python python-2.7-manifest: Add missing python-ctypes dependency to python-multiprocessing 2013-08-26 12:15:49 +01:00
bbvars.py bbvars.py: add a script to look for undocumented variables 2011-01-12 00:55:49 -08:00
build-perf-test.sh scripts/contrib/build-perf-test.sh: record size in kb and remove extra spaces 2013-09-14 08:29:41 +01:00
ddimage scripts/contrib/*: fix arithmetic bashism 2013-07-18 21:25:35 +01:00
documentation-audit.sh documentation-audit.sh: Add/fix checks for skipped lines. 2012-12-13 15:18:42 +00:00
list-packageconfig-flags.py list-packageconfig-flags.py: fix searching bitbake module failed 2013-08-30 16:23:47 +01:00
mkefidisk.sh mkefidisk.sh: Allow using a loopback mounted file 2013-09-30 22:11:58 +01:00
test_build_time.sh scripts/contrib: add build time regression test script 2011-07-20 15:27:31 +01:00
test_build_time_worker.sh scripts/contrib: add build time regression test script 2011-07-20 15:27:31 +01:00