diff options
Diffstat (limited to 'conf')
-rw-r--r-- | conf/distro/poky-sota-systemd.conf | 2 | ||||
-rw-r--r-- | conf/distro/poky-sota.conf | 2 | ||||
-rw-r--r-- | conf/distro/sota.conf.inc | 25 | ||||
-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 |
12 files changed, 4 insertions, 84 deletions
diff --git a/conf/distro/poky-sota-systemd.conf b/conf/distro/poky-sota-systemd.conf index 85744ea..e6f43f7 100644 --- a/conf/distro/poky-sota-systemd.conf +++ b/conf/distro/poky-sota-systemd.conf | |||
@@ -1,5 +1,4 @@ | |||
1 | require conf/distro/poky.conf | 1 | require conf/distro/poky.conf |
2 | require conf/distro/sota.conf.inc | ||
3 | 2 | ||
4 | DISTRO = "poky-sota" | 3 | DISTRO = "poky-sota" |
5 | DISTRO_NAME = "OTA-enabled Linux" | 4 | DISTRO_NAME = "OTA-enabled Linux" |
@@ -9,4 +8,5 @@ DISTRO_CODENAME = "sota" | |||
9 | DISTRO_FEATURES_append = " systemd" | 8 | DISTRO_FEATURES_append = " systemd" |
10 | VIRTUAL-RUNTIME_init_manager = "systemd" | 9 | VIRTUAL-RUNTIME_init_manager = "systemd" |
11 | 10 | ||
11 | INHERIT += " sota" | ||
12 | IMAGE_INSTALL_append = " connman connman-client rvi-sota-client" | 12 | IMAGE_INSTALL_append = " connman connman-client rvi-sota-client" |
diff --git a/conf/distro/poky-sota.conf b/conf/distro/poky-sota.conf index 2bbc62b..6972a94 100644 --- a/conf/distro/poky-sota.conf +++ b/conf/distro/poky-sota.conf | |||
@@ -1,9 +1,9 @@ | |||
1 | require conf/distro/poky.conf | 1 | require conf/distro/poky.conf |
2 | require conf/distro/sota.conf.inc | ||
3 | 2 | ||
4 | DISTRO = "poky-sota" | 3 | DISTRO = "poky-sota" |
5 | DISTRO_NAME = "OTA-enabled Linux" | 4 | DISTRO_NAME = "OTA-enabled Linux" |
6 | DISTRO_VERSION = "1.0" | 5 | DISTRO_VERSION = "1.0" |
7 | DISTRO_CODENAME = "sota" | 6 | DISTRO_CODENAME = "sota" |
8 | 7 | ||
8 | INHERIT += " sota" | ||
9 | IMAGE_INSTALL_append = " connman connman-client" | 9 | IMAGE_INSTALL_append = " connman connman-client" |
diff --git a/conf/distro/sota.conf.inc b/conf/distro/sota.conf.inc deleted file mode 100644 index 20946a6..0000000 --- a/conf/distro/sota.conf.inc +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | DISTRO_FEATURES_append = " sota" | ||
2 | OVERRIDES .= ":sota" | ||
3 | |||
4 | IMAGE_INSTALL_append = " ostree os-release" | ||
5 | |||
6 | # live image for OSTree-enabled systems | ||
7 | IMAGE_CLASSES += "image_types_ostree image_types_ota" | ||
8 | IMAGE_FSTYPES += "ostreepush otaimg" | ||
9 | |||
10 | # if don't build wic image unless IMAGE_BOOT_FILES is set. Prevents build from failing | ||
11 | # on machines that don't support updater yet | ||
12 | IMAGE_FSTYPES += "${@' wic' if (d.getVar("IMAGE_BOOT_FILES", True)) else ''}" | ||
13 | WKS_FILE ?= "sdimage-sota.wks" | ||
14 | do_image_wic[depends] += "${IMAGE_BASENAME}:do_image_otaimg" | ||
15 | |||
16 | EXTRA_IMAGEDEPENDS += " parted-native mtools-native dosfstools-native" | ||
17 | |||
18 | # Please redefine OSTREE_REPO in order to have a persistent OSTree repo | ||
19 | OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo" | ||
20 | OSTREE_BRANCHNAME ?= "ota-${MACHINE}" | ||
21 | OSTREE_OSNAME ?= "poky" | ||
22 | OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image" | ||
23 | |||
24 | # Prelinking increases the size of downloads and causes build errors | ||
25 | USER_CLASSES_remove = "image-prelink" | ||
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" | ||