lp:~dave-martin-arm/linaro-image-tools/miscellaneous-fixes
- Get this branch:
- bzr branch lp:~dave-martin-arm/linaro-image-tools/miscellaneous-fixes
Branch merges
- James Westby (community): Approve (quoting)
- Linaro Maintainers: Pending requested
-
Diff: 175 lines (+31/-28)2 files modifiedlinaro-hwpack-install (+1/-1)
linaro-media-create (+30/-27)
Branch information
Recent revisions
- 138. By Dave Martin
-
Fix off-by-one-sector error determining partition sizes from fdisk output.
fdisk lists start sector and end sector indices: the first sector
not in a given partition is <end sector>+1. Thus the correct sector count
for the partition is <end sector>+1-<start sector>. - 137. By Dave Martin
-
Fixed misparse of fdisk output.
When a partition has an odd number of sectors, the size field printed
by fdisk is "<size in KiB>+", not "<size in KiB>".This causes a syntax error when the extracted field is pasted into
an expression to evaluate.The fix is to subtract the start sector index from end end sector index
(as is already done for the linux partition). - 135. By Dave Martin
-
Fix some more straightforward vulnerbilities regarding argument quoting.
This is deliberately non-exhaustive, since misquoting is
widespread in the script, and the user is expected to know what
he/she is doing anyway.The fixes should work around some more probably cases where
wget -x creates tarball paths with spaces in, for example. - 133. By Alexander Sack
-
add MMC_PART_OFFSET to fix part id for non-fs-data part layouts like mx51evk.
In turn use MMC2 for root= cmdline opt and MMC1 for UBOOT_PART flash-kernel.conf value - 132. By Loïc Minier
-
Drop non-FS data partition for everything but mx51evk since the builtin u-boot
wont find the boot script otherwise.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:linaro-image-tools/11.11