Uploaded image for project: 'GENIVI Development Platform'
  1. GENIVI Development Platform
  2. GDP-370

Create a 'dd' supported image for Minnowboard without sudo

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Low
    • None
    • None
    • CIAT, GDP Master

    Description

      In previous releases of GDP, .sdimg images for Minnowboard have been released. This process was handled manually via scripting:

      'dd if=/dev/zero of="genivi-dev-platform-minnowboard.sdimg" bs=1024 count=1M
      sudo losetup -d /dev/loop0
      sudo losetup /dev/loop0 "genivi-dev-platform-minnowboard.sdimg"
      sudo bash ./mkefidisk.sh /dev/loop0 genivi-dev-platform-intel-corei7-64.hddimg /dev/mmcblk0
      sudo losetup -d /dev/loop0'

      This is not suitable for CI (go.cd) as workers for valid reasons do not have sudo privileges or the ability to mount.

      Currently I'm looking at the use of Wic:
      http://www.yoctoproject.org/docs/2.1/mega-manual/mega-manual.html#using-a-provided-kickstart_file

      I've been able to use the wic template for mkefdisk, to create a dd'able USB image. This needs some modification (like SD (mmcblk) by default) etc. This template would eventually be commited to meta-genivi-dev, in a scripts directory.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tom.pollard tom.pollard
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: