<feed xmlns='http://www.w3.org/2005/Atom'>
<title>svn-archive/archive/target/linux/x86/base-files/lib/upgrade/platform.sh, branch master</title>
<subtitle>OpenWrt SVN history</subtitle>
<id>https://git.openwrt.org/openwrt/svn-archive/archive/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/svn-archive/archive/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/'/>
<updated>2016-05-10T22:36:06Z</updated>
<entry>
<title>x86: search PARTUUID in any block device</title>
<updated>2016-05-10T22:36:06Z</updated>
<author>
<name>Luka Perkov</name>
</author>
<published>2016-05-10T22:36:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/commit/?id=44702078283a2f156096fdc93b5ba84a5abb5bf0'/>
<id>urn:sha1:44702078283a2f156096fdc93b5ba84a5abb5bf0</id>
<content type='text'>
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;

SVN-Revision: 49319
</content>
</entry>
<entry>
<title>x86: make sysupgrade work without partx</title>
<updated>2016-05-10T22:36:04Z</updated>
<author>
<name>Luka Perkov</name>
</author>
<published>2016-05-10T22:36:04Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/commit/?id=782bf66e7ff42e0618612b745b8ebb2301866fb3'/>
<id>urn:sha1:782bf66e7ff42e0618612b745b8ebb2301866fb3</id>
<content type='text'>
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;

SVN-Revision: 49318
</content>
</entry>
<entry>
<title>x86: fix platform_export_bootpart() for Xen virtual disks</title>
<updated>2016-04-17T13:24:30Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2016-04-17T13:24:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/commit/?id=d8ecfbd20e6ddbf1de4eaa0236d7aebcf8495426'/>
<id>urn:sha1:d8ecfbd20e6ddbf1de4eaa0236d7aebcf8495426</id>
<content type='text'>
Virtual disk devices in a Xen virtual machine (DomU) can be /dev/xvda,
/dev/xvdb and so on with partitions like /dev/xdva1. Devices named like
this where not considered before. This resulted in a non working
sysupgrade, because the boot partition could not be found.

Signed-off-by: Alexander Dahl &lt;alex@netz39.de&gt;
Suggested-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;


SVN-Revision: 49190
</content>
</entry>
<entry>
<title>x86: preserve partition table on sysupgrade</title>
<updated>2016-02-09T12:33:17Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2016-02-09T12:33:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/commit/?id=532f27987d113c45046fd3ee44e6cb22271e8107'/>
<id>urn:sha1:532f27987d113c45046fd3ee44e6cb22271e8107</id>
<content type='text'>
With this patch sysupgrade will write directly to the partitions
instead of to the main disk.  The UUID is copied from the image
to the MBR as well.  This prevents the mbr from being completely
overwritten and losing the partition table.  The -p option has
been added to maintain the original behavior and overwite the
entire disk with the new image.  Tests have been added to ensure
that the image partitions match up with the active partitions.

Signed-off-by: Rob Mosher &lt;nyt-openwrt@countercultured.net&gt;

SVN-Revision: 48682
</content>
</entry>
<entry>
<title>x86: use PARTUUID instead explicitly specifying the device by default</title>
<updated>2015-03-24T10:08:12Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2015-03-24T10:08:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/commit/?id=40e870064cf4bea19cc41782cdf4837160803a1d'/>
<id>urn:sha1:40e870064cf4bea19cc41782cdf4837160803a1d</id>
<content type='text'>
This changes the x86 image generation to match x86_64, using the PARTUUID for
the rootfs instead of explicitly configuring the device.

It unbreaks KVM with VirtIO, which uses /dev/vda2 instead of /dev/sda2.

Tested in QEMU/KVM with VirtIO, VirtualBox and VMware.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;

SVN-Revision: 44966
</content>
</entry>
<entry>
<title>target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC</title>
<updated>2014-06-02T12:43:22Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2014-06-02T12:43:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/commit/?id=c48ec47b0674f00f0db430c779883b18b8904664'/>
<id>urn:sha1:c48ec47b0674f00f0db430c779883b18b8904664</id>
<content type='text'>
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] &amp;&amp; . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] &amp;&amp; . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

Signed-off-by: Bastian Bittorf &lt;bittorf@bluebottle.com&gt;

SVN-Revision: 40915
</content>
</entry>
<entry>
<title>kernel/base-files: clean up old code related to refreshing mtd partitions, it is no longer used anywhere</title>
<updated>2013-07-14T12:56:58Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2013-07-14T12:56:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/commit/?id=d94e14fa0f80e21d9c8ea245b69cd3586704152d'/>
<id>urn:sha1:d94e14fa0f80e21d9c8ea245b69cd3586704152d</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 37282
</content>
</entry>
<entry>
<title>x86: allow both old and new grub signatures in sysupgrade</title>
<updated>2012-10-23T16:34:00Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2012-10-23T16:34:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/commit/?id=a225bf4633caeb79376206869f32e81e248f3f02'/>
<id>urn:sha1:a225bf4633caeb79376206869f32e81e248f3f02</id>
<content type='text'>
SVN-Revision: 33898
</content>
</entry>
<entry>
<title>x86: correct image magic for grub2 images</title>
<updated>2012-10-22T16:06:29Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2012-10-22T16:06:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/commit/?id=a698abab54002b92a3dcad271fb7656907c1b0c7'/>
<id>urn:sha1:a698abab54002b92a3dcad271fb7656907c1b0c7</id>
<content type='text'>
Sysupgrade broke on x86 when grub2 superceded grub.  This patch
corrects tha magic_word to be expected in grub2 combined images.

Signed-off-by: Russell Senior &lt;russell@personaltelco.net&gt;

SVN-Revision: 33890
</content>
</entry>
<entry>
<title>[x86] Fix sysupgrade for squashfs, jffs2 and ext4 images</title>
<updated>2012-06-19T22:36:53Z</updated>
<author>
<name>Vasilis Tsiligiannis</name>
</author>
<published>2012-06-19T22:36:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/svn-archive/archive/commit/?id=80de01feba94a85328477da45c494dd04fe1031c'/>
<id>urn:sha1:80de01feba94a85328477da45c494dd04fe1031c</id>
<content type='text'>
	* use 'fsync' with 'dd' for image writing
	* save config to boot partition

SVN-Revision: 32465
</content>
</entry>
</feed>
