<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/scripts/lib/wic, branch yocto-2.2.2</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-2.2.2</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-2.2.2'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2017-08-29T15:50:53+00:00</updated>
<entry>
<title>wic: fix calculation of partition number</title>
<updated>2017-08-29T15:50:53+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2017-07-17T07:25:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5b2a7393f98081946e30e311e7277d253f6ddd9a'/>
<id>urn:sha1:5b2a7393f98081946e30e311e7277d253f6ddd9a</id>
<content type='text'>
Total number of partitions should be taken into account when calculating
real partition number for msdos partition table. The number can be
different for the 4th partition: it can be 4 if there are 4 partitions in
the table and 5 if there are more than 4 partitions in the table. In the
latter case number 4 is occupied by extended partition.

[YOCTO #11790]

(From OE-Core rev: a1d18c00b8c9ce800a5147eaa71372083b8ae91e)

Signed-off-by: Ed Bartosh &lt;ed.bartosh@linux.intel.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: partition: Run fsck on EXT file systems</title>
<updated>2017-08-29T15:50:52+00:00</updated>
<author>
<name>Daniel Schultz</name>
<email>d.schultz@phytec.de</email>
</author>
<published>2017-04-03T07:47:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=af43028b3ea3fae62f3381ea7753468cfc9d8955'/>
<id>urn:sha1:af43028b3ea3fae62f3381ea7753468cfc9d8955</id>
<content type='text'>
Mkfs may create EXT file systems which can only be optimized by fsck
and not by itself, e.g. directory optimization (in Pass 3A).

To prevent those optimizations during runtime, it will be performed after
the creation of an EXT file system.

(From OE-Core rev: b8af7c10637c14b2c226fb7063b736755ee46802)

Signed-off-by: Daniel Schultz &lt;d.schultz@phytec.de&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: plugins: rawcopy: Fixed wrong variable type</title>
<updated>2017-05-18T12:07:32+00:00</updated>
<author>
<name>Daniel Schultz</name>
<email>d.schultz@phytec.de</email>
</author>
<published>2017-03-07T13:41:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b5fe7ef2ed936a53ed8fed95238775170a8ae7f3'/>
<id>urn:sha1:b5fe7ef2ed936a53ed8fed95238775170a8ae7f3</id>
<content type='text'>
Without the int() function this variable will be a string. This will led
to a error in Filemap on line 545 due wrong types.

&gt; [...]
&gt;   File
&gt; ".../poky/scripts/lib/wic/filemap.py", line 545, in sparse_copy
&gt;     if start &lt; skip &lt; end:
&gt; TypeError: unorderable types: int() &lt; str()

(From OE-Core rev: 5b9bcfef9086c19a4577d36729b7b339f959d5c4)

Signed-off-by: Daniel Schultz &lt;d.schultz@phytec.de&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
(cherry picked from commit 46b5814bcdc0e7e3cb293e877e2aa949baf5fef8)
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: filemap: Fixed spared_copy skip</title>
<updated>2017-05-18T12:07:32+00:00</updated>
<author>
<name>Daniel Schultz</name>
<email>d.schultz@phytec.de</email>
</author>
<published>2017-03-07T13:41:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=561ff936f1d8ba50b728d14636f41f5a13e525e7'/>
<id>urn:sha1:561ff936f1d8ba50b728d14636f41f5a13e525e7</id>
<content type='text'>
This patches removes the empty space in front of the copied file which
was skipped. Without this reduction it's not possible to place a
partition with rawcopy and skip parameter on a desired alignment.

(From OE-Core rev: e29deac69ed29226b68001db2fcfb3ed24c0568a)

Signed-off-by: Daniel Schultz &lt;d.schultz@phytec.de&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
(cherry picked from commit 5c024d71f9413b81ee1707dbc41f0721f8f27bdb)
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: Create a logical partition only when it is really mandatory</title>
<updated>2017-01-11T17:21:45+00:00</updated>
<author>
<name>Alessio Igor Bogani</name>
<email>alessio.bogani@elettra.eu</email>
</author>
<published>2016-12-07T14:00:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0533d4e8ecf3a28b5a3c73ac15d86b0c23bd5c37'/>
<id>urn:sha1:0533d4e8ecf3a28b5a3c73ac15d86b0c23bd5c37</id>
<content type='text'>
Don't worth bother with logical partition on MBR partition type (aka
msdos) if disk image generated by wic should have 4 partitions.

(From OE-Core rev: 36a558fbdc96094626e7de1a3510691e30885368)

(From OE-Core rev: 98a3e096eaa6cfdf1532c7c03c57222ae8cd6533)

Signed-off-by: Alessio Igor Bogani &lt;alessio.bogani@elettra.eu&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: fix function comment typos</title>
<updated>2017-01-11T17:21:42+00:00</updated>
<author>
<name>Maciej Borzecki</name>
<email>maciej.borzecki@rndity.com</email>
</author>
<published>2016-11-10T12:18:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d6f478d9df350b7a2656e47ab8db03487f0b98ec'/>
<id>urn:sha1:d6f478d9df350b7a2656e47ab8db03487f0b98ec</id>
<content type='text'>
Fix typos in documentation of Image.add_partition() and
Image.__format_disks().

(From OE-Core rev: f5bf7bf253224912c66bab89f48ff63a73e0d698)

(From OE-Core rev: 44ce5b4bb0873d5a2dec25f2dc489a6ab8f7995e)

Signed-off-by: Maciej Borzecki &lt;maciej.borzecki@rndity.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: check that filesystem is specified for a rootfs partition</title>
<updated>2017-01-11T17:21:42+00:00</updated>
<author>
<name>Maciej Borzecki</name>
<email>maciej.borzecki@rndity.com</email>
</author>
<published>2016-11-10T12:18:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0a25fbfdb4e7eac69c6247684853c6b203a22d98'/>
<id>urn:sha1:0a25fbfdb4e7eac69c6247684853c6b203a22d98</id>
<content type='text'>
We explicitly check for --fstype if no source was provided for a
partition. However, this was not the case for rootfs partitions. Make
sure to raise an error if filesystem was left unspecified when preparing
a rootfs partition image.

(From OE-Core rev: b8c35fcad57810a87aa25ebeb533adf286eed565)

(From OE-Core rev: dc4d1cfc4d6bd01432857448f66af5492cad7574)

Signed-off-by: Maciej Borzecki &lt;maciej.borzecki@rndity.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: make sure that partition size is always an integer in internal processing</title>
<updated>2017-01-11T17:21:42+00:00</updated>
<author>
<name>Maciej Borzecki</name>
<email>maciej.borzecki@rndity.com</email>
</author>
<published>2016-11-10T12:18:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0c5596e5d34b368d6aad84636543d154618ef639'/>
<id>urn:sha1:0c5596e5d34b368d6aad84636543d154618ef639</id>
<content type='text'>
The size field of Partition class is expected to be an integer and ought
to be set inside prepare_*() method. Make sure that this is always the
case.

(From OE-Core rev: a37838f995ae642b0b8bdd47a605a264fb3bf200)

(From OE-Core rev: 4e869343952aef8748b40e538c14ad8b94221910)

Signed-off-by: Maciej Borzecki &lt;maciej.borzecki@rndity.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>systemd-bootdisk.wks: use PARTUUID</title>
<updated>2017-01-11T17:21:41+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2016-10-24T13:54:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c852c9352fb054ddaa9ff1e5f42b13b76618b47f'/>
<id>urn:sha1:c852c9352fb054ddaa9ff1e5f42b13b76618b47f</id>
<content type='text'>
Root device name in systemd-bootdisk.wks is 'sda'. This can cause
images, produced using this wks to refuse booting if real device
name is not 'sda'. For example, when booting MinnowBoard MAX from
MicroSD card the boot process stucks with this message on the boot
console output: Waiting for root device /dev/sda2...
This happens because real device name of MicroSD card on this device
is mmcblk1.

Used --use-uuid option for root partition. This should make
wic to put partiion UUID instead of device name into kernel command
line.

[YOCTO #10485]

(From OE-Core rev: 5b73d5f484cc844affe91ec19d881d42e187f30c)

(From OE-Core rev: 71a365d57359dd8d9bfce66985975b1533e983d7)

Signed-off-by: Ed Bartosh &lt;ed.bartosh@linux.intel.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>canned-wks: use GPT partition table</title>
<updated>2016-10-11T07:27:27+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2016-10-10T07:50:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a8efeb7df33d323e1f7f800918835689edac55d6'/>
<id>urn:sha1:a8efeb7df33d323e1f7f800918835689edac55d6</id>
<content type='text'>
According to UEFI specification all EFI platforms must support
GUID Partition Table(GPT) disk layout. Here is a list of advantages
of using GPT disk layout over the legacy MBR partitioning:

 - Logical Block Addresses (LBAs) are 64 bits (rather than 32 bits).
 - Supports many partitions (rather than just four primary partitions).
 - Provides both a primary and backup partition table for redundancy.
 - Uses version number and size fields for future expansion.
 - Uses CRC32 fields for improved data integrity.
 - Defines a GUID for uniquely identifying each partition.
 - Uses a GUID and attributes to define partition content type.
 - Each partition contains a 36 character human readable name.

Used GPT partitioning in all EFI kickstart files.
Tested result images on NUC, MinnowBoard MAX and MinnowBoard Turbot.

(From OE-Core rev: 66d4efeb0face5fc8a1755dcd2ed3a611997a04d)

Signed-off-by: Ed Bartosh &lt;ed.bartosh@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
