diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2017-04-25 15:21:07 +0200 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2017-04-26 11:04:39 +0200 |
commit | 4d610e9f230dd23589b18588446c2368f3a99446 (patch) | |
tree | 4c2f39cc49525698ef8197646bd652db270df8b8 /conf/include | |
parent | 4ebfc44b3eff288b8cc2f6b2b4251159cbeab14b (diff) | |
download | meta-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.inc | 2 | ||||
-rw-r--r-- | conf/include/local/sota_bleeding.inc | 1 | ||||
-rw-r--r-- | conf/include/local/sota_minnowboard.inc | 9 | ||||
-rw-r--r-- | conf/include/local/sota_minnowboard_uboot.inc | 10 | ||||
-rw-r--r-- | conf/include/local/sota_porter.inc | 12 | ||||
-rw-r--r-- | conf/include/local/sota_qemux86-64.inc | 11 | ||||
-rw-r--r-- | conf/include/local/sota_raspberrypi.inc | 14 |
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 | |||
2 | BBLAYERS += " ${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 @@ | |||
1 | SRCREV_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 @@ | |||
1 | MACHINE = "intel-corei7-64" | ||
2 | |||
3 | OSTREE_BOOTLOADER ?= "grub" | ||
4 | EFI_PROVIDER = "grub-efi" | ||
5 | |||
6 | WKS_FILE = "efiimage-sota.wks" | ||
7 | IMAGE_BOOT_FILES = "" | ||
8 | |||
9 | OSTREE_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 @@ | |||
1 | MACHINE = "intel-corei7-64" | ||
2 | |||
3 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ota" | ||
4 | UBOOT_MACHINE = "minnowmax_defconfig" | ||
5 | |||
6 | EXTRA_IMAGEDEPENDS_append = " minnowboard-bootfiles" | ||
7 | IMAGE_BOOT_FILES = "minnowboard-bootfiles/*" | ||
8 | |||
9 | OSTREE_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 @@ | |||
1 | MACHINE = "porter" | ||
2 | |||
3 | # Commit united image to OSTree, not just uImage | ||
4 | OSTREE_KERNEL = "uImage+dtb" | ||
5 | |||
6 | EXTRA_IMAGEDEPENDS_append_sota = " porter-bootfiles" | ||
7 | IMAGE_CLASSES_append_sota = " image_types_uboot " | ||
8 | IMAGE_BOOT_FILES_sota += "porter-bootfiles/*" | ||
9 | |||
10 | OSTREE_BOOTLOADER ?= "u-boot" | ||
11 | UBOOT_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 @@ | |||
1 | MACHINE = "qemux86-64" | ||
2 | |||
3 | # See https://advancedtelematic.atlassian.net/browse/PRO-2693 | ||
4 | PREFERRED_VERSION_linux-yocto_qemux86-64_sota = "4.4%" | ||
5 | |||
6 | # U-Boot support for SOTA | ||
7 | PREFERRED_PROVIDER_virtual/bootloader_sota = "u-boot-ota" | ||
8 | UBOOT_MACHINE_sota = "qemu-x86_defconfig" | ||
9 | OSTREE_BOOTLOADER ?= "u-boot" | ||
10 | |||
11 | OSTREE_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 @@ | |||
1 | MACHINE ?= "raspberrypi3" | ||
2 | |||
3 | IMAGE_CLASSES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'image_types_uboot sdcard_image-rpi-ota', '', d)}" | ||
4 | IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'rpi-sdimg-ota', 'rpi-sdimg', d)}" | ||
5 | |||
6 | ### both rpi-sdimg and rpi-sdimg-ota broken | ||
7 | IMAGE_FSTYPES += "ext4.xz ext4.bmap tar.xz" | ||
8 | |||
9 | KERNEL_IMAGETYPE_sota = "uImage" | ||
10 | PREFERRED_PROVIDER_virtual/bootloader_sota ?= "u-boot" | ||
11 | UBOOT_MACHINE_raspberrypi2_sota ?= "rpi_2_defconfig" | ||
12 | UBOOT_MACHINE_raspberrypi3_sota ?= "rpi_3_32b_defconfig" | ||
13 | |||
14 | OSTREE_BOOTLOADER ?= "u-boot" | ||