summaryrefslogtreecommitdiffstats
path: root/conf/include
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2017-04-25 15:21:07 +0200
committerAnton Gerasimov <anton@advancedtelematic.com>2017-04-26 11:04:39 +0200
commit4d610e9f230dd23589b18588446c2368f3a99446 (patch)
tree4c2f39cc49525698ef8197646bd652db270df8b8 /conf/include
parent4ebfc44b3eff288b8cc2f6b2b4251159cbeab14b (diff)
downloadmeta-updater-4d610e9f230dd23589b18588446c2368f3a99446.tar.gz
Replace includes with bblcasses
They are more flexible and allow tricks like conditionally inheriting machine-related classes from the main one which makes things easier for external users like AGL
Diffstat (limited to 'conf/include')
-rw-r--r--conf/include/bblayers/sota_intel-corei7-64.inc (renamed from conf/include/bblayers/sota_minnowboard.inc)0
-rw-r--r--conf/include/bblayers/sota_raspberrypi2.inc (renamed from conf/include/bblayers/sota_raspberrypi.inc)0
-rw-r--r--conf/include/bblayers/sota_raspberrypi3.inc2
-rw-r--r--conf/include/local/sota_bleeding.inc1
-rw-r--r--conf/include/local/sota_minnowboard.inc9
-rw-r--r--conf/include/local/sota_minnowboard_uboot.inc10
-rw-r--r--conf/include/local/sota_porter.inc12
-rw-r--r--conf/include/local/sota_qemux86-64.inc11
-rw-r--r--conf/include/local/sota_raspberrypi.inc14
9 files changed, 2 insertions, 57 deletions
diff --git a/conf/include/bblayers/sota_minnowboard.inc b/conf/include/bblayers/sota_intel-corei7-64.inc
index 1771e6c..1771e6c 100644
--- a/conf/include/bblayers/sota_minnowboard.inc
+++ b/conf/include/bblayers/sota_intel-corei7-64.inc
diff --git a/conf/include/bblayers/sota_raspberrypi.inc b/conf/include/bblayers/sota_raspberrypi2.inc
index 11ede20..11ede20 100644
--- a/conf/include/bblayers/sota_raspberrypi.inc
+++ b/conf/include/bblayers/sota_raspberrypi2.inc
diff --git a/conf/include/bblayers/sota_raspberrypi3.inc b/conf/include/bblayers/sota_raspberrypi3.inc
new file mode 100644
index 0000000..11ede20
--- /dev/null
+++ b/conf/include/bblayers/sota_raspberrypi3.inc
@@ -0,0 +1,2 @@
1
2BBLAYERS += " ${METADIR}/meta-updater-raspberrypi ${METADIR}/meta-raspberrypi "
diff --git a/conf/include/local/sota_bleeding.inc b/conf/include/local/sota_bleeding.inc
deleted file mode 100644
index fc5947d..0000000
--- a/conf/include/local/sota_bleeding.inc
+++ /dev/null
@@ -1 +0,0 @@
1SRCREV_pn-aktualizr ?= "${AUTOREV}"
diff --git a/conf/include/local/sota_minnowboard.inc b/conf/include/local/sota_minnowboard.inc
deleted file mode 100644
index 36d1a17..0000000
--- a/conf/include/local/sota_minnowboard.inc
+++ /dev/null
@@ -1,9 +0,0 @@
1MACHINE = "intel-corei7-64"
2
3OSTREE_BOOTLOADER ?= "grub"
4EFI_PROVIDER = "grub-efi"
5
6WKS_FILE = "efiimage-sota.wks"
7IMAGE_BOOT_FILES = ""
8
9OSTREE_KERNEL_ARGS ?= "ramdisk_size=16384 rw rootfstype=ext4 rootwait rootdelay=2 console=ttyS0,115200 console=tty0"
diff --git a/conf/include/local/sota_minnowboard_uboot.inc b/conf/include/local/sota_minnowboard_uboot.inc
deleted file mode 100644
index e64f7eb..0000000
--- a/conf/include/local/sota_minnowboard_uboot.inc
+++ /dev/null
@@ -1,10 +0,0 @@
1MACHINE = "intel-corei7-64"
2
3PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ota"
4UBOOT_MACHINE = "minnowmax_defconfig"
5
6EXTRA_IMAGEDEPENDS_append = " minnowboard-bootfiles"
7IMAGE_BOOT_FILES = "minnowboard-bootfiles/*"
8
9OSTREE_KERNEL_ARGS ?= "ramdisk_size=16384 rw rootfstype=ext4 rootwait rootdelay=2 ostree_root=/dev/hda console=ttyS0,115200 console=tty0"
10
diff --git a/conf/include/local/sota_porter.inc b/conf/include/local/sota_porter.inc
deleted file mode 100644
index 9828248..0000000
--- a/conf/include/local/sota_porter.inc
+++ /dev/null
@@ -1,12 +0,0 @@
1MACHINE = "porter"
2
3# Commit united image to OSTree, not just uImage
4OSTREE_KERNEL = "uImage+dtb"
5
6EXTRA_IMAGEDEPENDS_append_sota = " porter-bootfiles"
7IMAGE_CLASSES_append_sota = " image_types_uboot "
8IMAGE_BOOT_FILES_sota += "porter-bootfiles/*"
9
10OSTREE_BOOTLOADER ?= "u-boot"
11UBOOT_MACHINE_sota = "porter_config"
12
diff --git a/conf/include/local/sota_qemux86-64.inc b/conf/include/local/sota_qemux86-64.inc
deleted file mode 100644
index b03631b..0000000
--- a/conf/include/local/sota_qemux86-64.inc
+++ /dev/null
@@ -1,11 +0,0 @@
1MACHINE = "qemux86-64"
2
3# See https://advancedtelematic.atlassian.net/browse/PRO-2693
4PREFERRED_VERSION_linux-yocto_qemux86-64_sota = "4.4%"
5
6# U-Boot support for SOTA
7PREFERRED_PROVIDER_virtual/bootloader_sota = "u-boot-ota"
8UBOOT_MACHINE_sota = "qemu-x86_defconfig"
9OSTREE_BOOTLOADER ?= "u-boot"
10
11OSTREE_KERNEL_ARGS ?= "ramdisk_size=16384 rw rootfstype=ext4 rootwait rootdelay=2 ostree_root=/dev/hda"
diff --git a/conf/include/local/sota_raspberrypi.inc b/conf/include/local/sota_raspberrypi.inc
deleted file mode 100644
index ae13b8e..0000000
--- a/conf/include/local/sota_raspberrypi.inc
+++ /dev/null
@@ -1,14 +0,0 @@
1MACHINE ?= "raspberrypi3"
2
3IMAGE_CLASSES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'image_types_uboot sdcard_image-rpi-ota', '', d)}"
4IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'rpi-sdimg-ota', 'rpi-sdimg', d)}"
5
6### both rpi-sdimg and rpi-sdimg-ota broken
7IMAGE_FSTYPES += "ext4.xz ext4.bmap tar.xz"
8
9KERNEL_IMAGETYPE_sota = "uImage"
10PREFERRED_PROVIDER_virtual/bootloader_sota ?= "u-boot"
11UBOOT_MACHINE_raspberrypi2_sota ?= "rpi_2_defconfig"
12UBOOT_MACHINE_raspberrypi3_sota ?= "rpi_3_32b_defconfig"
13
14OSTREE_BOOTLOADER ?= "u-boot"