Skip to content
Snippets Groups Projects
Commit 4aeeead3 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

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: default avatarRob Mosher <nyt-openwrt@countercultured.net>

SVN-Revision: 48682
parent 6b73b7a8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment