~lool/linaro-image-tools/efikamx

« back to all changes in this revision

Viewing changes to linaro_media_create/__init__.py

  • Committer: Loïc Minier
  • Date: 2011-02-14 17:58:25 UTC
  • mfrom: (285.3.11 4-mib-align)
  • Revision ID: lool@dooz.org-20110214175825-i2s1hd65vidcnqbc
Merge lp:~lool/linaro-image-tools/4-mib-align; this reworks the way we create
partitions and will align the rootfs partition on 4 MiB boundaries by default.
It adds an --align-boot-part linaro-media-create flag to also align the boot
partition in case your x-loader is recent enough to support this.

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
    parser.add_argument(
106
106
        '--no-part', dest='should_create_partitions', action='store_false',
107
107
        help='Reuse existing partitions on the given media.')
 
108
    parser.add_argument(
 
109
        '--align-boot-part', dest='should_align_boot_part',
 
110
        action='store_true',
 
111
        help='Align boot partition too (might break older x-loaders).')
108
112
    return parser