From fcce9e529501e5952d8c62dae0fe009f36ad2878 Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Tue, 30 May 2017 03:28:31 +0200
Subject: [PATCH] generic: revert to OpenWrt CC partition sizes on x86 and
 similar images for now

This will allow upgrading using the broken sysupgrade scripts in OpenWrt
CC without losing the configuration.

Fixes #1010
---
 targets/generic | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/targets/generic b/targets/generic
index c39570fea..55fc6c522 100644
--- a/targets/generic
+++ b/targets/generic
@@ -11,6 +11,9 @@ config 'CONFIG_PACKAGE_ATH_DEBUG=y'
 config 'CONFIG_TARGET_MULTI_PROFILE=y'
 config 'CONFIG_TARGET_PER_DEVICE_ROOTFS=y'
 
+config 'CONFIG_TARGET_KERNEL_PARTSIZE=4'
+config 'CONFIG_TARGET_ROOTFS_PARTSIZE=48'
+
 if [ "$GLUON_DEBUG" ]
 then
 	config 'CONFIG_DEBUG=y'
-- 
GitLab