openwrt/package/base-files/files/lib
Jo-Philipp Wich 4aeeead303 x86: preserve partition table on sysupgrade
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 <nyt-openwrt@countercultured.net>

SVN-Revision: 48682
2016-02-09 12:33:17 +00:00
..
functions base-files: cleanup mtd_get_mac_binary hexdump 2015-12-19 11:28:42 +00:00
preinit base-files: add /etc/iproute2/rt_tables, replace ifconfig-usage 2015-09-08 17:44:13 +00:00
upgrade x86: preserve partition table on sysupgrade 2016-02-09 12:33:17 +00:00
functions.sh base-files: refactor default_postinst() 2015-09-16 08:43:58 +00:00