diff options
Diffstat (limited to 'images/enea-edge-common.inc')
-rw-r--r-- | images/enea-edge-common.inc | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/images/enea-edge-common.inc b/images/enea-edge-common.inc index 5472056..b174064 100644 --- a/images/enea-edge-common.inc +++ b/images/enea-edge-common.inc | |||
@@ -10,6 +10,8 @@ IMAGE_INSTALL += " \ | |||
10 | # run-postinsts duplicates dpkg-configure if package_deb is used | 10 | # run-postinsts duplicates dpkg-configure if package_deb is used |
11 | PACKAGE_INSTALL_remove = "${@bb.utils.contains('PACKAGE_CLASSES', 'package_deb', 'run-postinsts', '', d)}" | 11 | PACKAGE_INSTALL_remove = "${@bb.utils.contains('PACKAGE_CLASSES', 'package_deb', 'run-postinsts', '', d)}" |
12 | 12 | ||
13 | PACKAGE_EXCLUDE_x86-64_sota += "grub-common-extras" | ||
14 | |||
13 | # After installing packages inside the rootfs, remove backup DPKG status file | 15 | # After installing packages inside the rootfs, remove backup DPKG status file |
14 | rootfs_postinstall_dpkg_cleanup () { | 16 | rootfs_postinstall_dpkg_cleanup () { |
15 | if ${@bb.utils.contains('PACKAGE_CLASSES', 'package_deb', 'true', 'false', d)}; then | 17 | if ${@bb.utils.contains('PACKAGE_CLASSES', 'package_deb', 'true', 'false', d)}; then |
@@ -18,9 +20,21 @@ rootfs_postinstall_dpkg_cleanup () { | |||
18 | } | 20 | } |
19 | ROOTFS_POSTINSTALL_COMMAND_append += " rootfs_postinstall_dpkg_cleanup;" | 21 | ROOTFS_POSTINSTALL_COMMAND_append += " rootfs_postinstall_dpkg_cleanup;" |
20 | 22 | ||
21 | IMAGE_FSTYPES = "ext4 ext4.gz tar.gz" | 23 | IMAGE_FSTYPES += "ext4 ext4.gz tar.gz" |
22 | 24 | ||
23 | # Add ostree specific image types if sota support is set | 25 | # Remove aktualizr packages from the image, we don't use it and creates odd dependencies, e.g. |
24 | IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'otaimg wic', ' ', d)}" | 26 | # it creates a systemd unit that depends on network-online.target, which leads to enabling |
25 | SOTA_CLIENT = "" | 27 | # NetworkManager-wait-online.service, delaying boot up. |
26 | SOTA_CLIENT_PROV = "" | 28 | SOTA_CLIENT_PROV = "" |
29 | IMAGE_INSTALL_remove_sota = " \ | ||
30 | aktualizr \ | ||
31 | aktualizr-info \ | ||
32 | " | ||
33 | |||
34 | # We currently don't use automatic push/sign/check to a backend server, so skip running useless | ||
35 | # OSTree tasks during image build. | ||
36 | IMAGE_FSTYPES_remove_sota = " \ | ||
37 | ostreepush \ | ||
38 | garagesign \ | ||
39 | garagecheck \ | ||
40 | " | ||