From 338900b6303993c42d6bf4831c361db831e34eeb Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 9 Nov 2014 14:34:42 +0100 Subject: [PATCH] sysmobts: Reduce the number of images we build We need a jffs2/ubi depending on the age of the hardware and maybe a tar.bz2 so we can easily inspect an image without playing with mtdram. We almost never need a ubifs and certainly not a cpio. --- conf/machine/include/sysmobts.inc | 2 -- conf/machine/sysmobts-v1.conf | 1 + conf/machine/sysmobts-v2.conf | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/machine/include/sysmobts.inc b/conf/machine/include/sysmobts.inc index 8edf51e..4de200d 100644 --- a/conf/machine/include/sysmobts.inc +++ b/conf/machine/include/sysmobts.inc @@ -33,8 +33,6 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\ kernel-module-nls-utf8 \ kernel-module-rtfifo " -IMAGE_FSTYPES ?= "tar.bz2 cpio.gz ubifs ubi jffs2" - MACHINE_EXTRA_RDEPENDS = "\ task-sysmocom-bts \ sysmobts-firmware \ diff --git a/conf/machine/sysmobts-v1.conf b/conf/machine/sysmobts-v1.conf index 08ebe78..aa5edb0 100644 --- a/conf/machine/sysmobts-v1.conf +++ b/conf/machine/sysmobts-v1.conf @@ -10,5 +10,6 @@ EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pagesize=0x800 -- MKUBIFS_ARGS = "-m 2048 -e 129024 -c 400" UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512" +IMAGE_FSTYPES ?= "tar.bz2 jffs2" require conf/machine/include/sysmobts.inc diff --git a/conf/machine/sysmobts-v2.conf b/conf/machine/sysmobts-v2.conf index 586a44c..4c35310 100644 --- a/conf/machine/sysmobts-v2.conf +++ b/conf/machine/sysmobts-v2.conf @@ -11,4 +11,5 @@ MKUBIFS_ARGS ?= "-m 2048 -e 129024 -c 999" UBINIZE_ARGS ?= "-m 2048 -p 128KiB -s 512" +IMAGE_FSTYPES ?= "tar.bz2 ubi" require conf/machine/include/sysmobts.inc