mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +00:00
4aeeead303
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
29 lines
620 B
Makefile
29 lines
620 B
Makefile
#
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
ARCH:=i386
|
|
BOARD:=x86
|
|
BOARDNAME:=x86
|
|
FEATURES:=squashfs ext4 vdi vmdk pcmcia targz
|
|
SUBTARGETS=generic xen_domu ep80579 geode kvm_guest 64
|
|
MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
|
|
|
|
DEFAULT_PACKAGES += partx-utils
|
|
|
|
KERNEL_PATCHVER:=4.4
|
|
|
|
KERNELNAME:=bzImage
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
$(eval $(call BuildTarget))
|
|
|
|
$(eval $(call $(if $(CONFIG_TARGET_ROOTFS_ISO),RequireCommand,Ignore),mkisofs, \
|
|
Please install mkisofs. \
|
|
))
|