From 0af0be06737cac22079cde3f8ca8f568309b43c2 Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Fri, 24 Feb 2017 01:50:17 +0100
Subject: [PATCH] ar71xx-generic: don't try to build a factory image for D-Link
 DIR-825 B1

The size of the factory images is limited to 4MB, which caused build
failures when many additional packages were included.

Rather than moving the device to ar71xx-tiny, we ignore the factory images
and just build the sysupgrade. This way, the whole flash is usable for
Gluon.

This means that installing Gluon on these devices will now require to flash
a plain LEDE image first, and then upgrading using the Gluon sysupgrade
image.

Fixes #1020
---
 targets/ar71xx-generic | 1 +
 1 file changed, 1 insertion(+)

diff --git a/targets/ar71xx-generic b/targets/ar71xx-generic
index fa544c91f..782a4cc01 100644
--- a/targets/ar71xx-generic
+++ b/targets/ar71xx-generic
@@ -50,6 +50,7 @@ device d-link-dir-505-rev-a1 dir-505-a1 DIR505A1
 alias d-link-dir-505-rev-a2
 
 device d-link-dir-825-rev-b1 dir-825-b1 DIR825B1
+factory
 
 
 # GL Innovations
-- 
GitLab