All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ed Bartosh <ed.bartosh@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [wic][PATCH 0/6] new wks option --system-id
Date: Fri, 22 Apr 2016 12:31:58 +0300	[thread overview]
Message-ID: <cover.1461317156.git.ed.bartosh@linux.intel.com> (raw)

Hi,

This patchset contains implementation of --system-id option. The option sets
system id for the partition if specified.

For example with this wks file:

part /boot --ondisk sda --align 1024 --fstype vfat --source bootimg-pcbios --size 64M   --system-id 1
part /     --ondisk sda --align 1024 --fstype ext4 --source rootfs         --size 1000M --system-id 2
part /opt  --ondisk sda --align 1024 --fstype ext4                         --size 1000M --system-id 3

The image layout is the following: (pay attention to the system ids 1,2,3)

   Device Boot Start     End   #cyls    #blocks   Id  System
img/build/system-id-201604221223-sda.direct1         16    1040-   1025-     65552    1  FAT12
img/build/system-id-201604221223-sda.direct2       1056   21855   20800    1331200    2  XENIX root
img/build/system-id-201604221223-sda.direct3      21856   37855   16000    1024000    3  XENIX usr

The following changes since commit 6c1c01392d91f512e2949ad1d57a75a8077478ba:

  build-appliance-image: Update to krogoth head revision (2016-04-19 21:26:33 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib ed/wic/part-system-id-9096
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/wic/part-system-id-9096

Ed Bartosh (6):
  wic: add --system-id wks option
  wic: add sfdisk to the list of utilities
  wic: add system_id attribute to Partition
  wic: add system_id argument to Image.add_partition
  wic: set partition system id
  wic: add help for --system-id option

 scripts/lib/wic/help.py                |  4 ++++
 scripts/lib/wic/imager/direct.py       |  3 ++-
 scripts/lib/wic/ksparser.py            | 19 +++++++++++++++++++
 scripts/lib/wic/partition.py           |  1 +
 scripts/lib/wic/utils/oe/misc.py       |  1 +
 scripts/lib/wic/utils/partitionedfs.py |  9 +++++++--
 6 files changed, 34 insertions(+), 3 deletions(-)

--
Regards,
Ed



             reply	other threads:[~2016-04-22 11:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-22  9:31 Ed Bartosh [this message]
2016-04-22  9:31 ` [wic][PATCH 1/6] wic: add --system-id wks option Ed Bartosh
2016-04-22  9:32 ` [wic][PATCH 2/6] wic: add sfdisk to the list of utilities Ed Bartosh
2016-04-22  9:32 ` [wic][PATCH 3/6] wic: add system_id attribute to Partition Ed Bartosh
2016-04-22  9:32 ` [wic][PATCH 4/6] wic: add system_id argument to Image.add_partition Ed Bartosh
2016-04-22  9:32 ` [wic][PATCH 5/6] wic: set partition system id Ed Bartosh
2016-04-22  9:32 ` [wic][PATCH 6/6] wic: add help for --system-id option Ed Bartosh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1461317156.git.ed.bartosh@linux.intel.com \
    --to=ed.bartosh@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.