summaryrefslogtreecommitdiffstats
path: root/images/enea-edge-common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'images/enea-edge-common.inc')
-rw-r--r--images/enea-edge-common.inc22
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
11PACKAGE_INSTALL_remove = "${@bb.utils.contains('PACKAGE_CLASSES', 'package_deb', 'run-postinsts', '', d)}" 11PACKAGE_INSTALL_remove = "${@bb.utils.contains('PACKAGE_CLASSES', 'package_deb', 'run-postinsts', '', d)}"
12 12
13PACKAGE_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
14rootfs_postinstall_dpkg_cleanup () { 16rootfs_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}
19ROOTFS_POSTINSTALL_COMMAND_append += " rootfs_postinstall_dpkg_cleanup;" 21ROOTFS_POSTINSTALL_COMMAND_append += " rootfs_postinstall_dpkg_cleanup;"
20 22
21IMAGE_FSTYPES = "ext4 ext4.gz tar.gz" 23IMAGE_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.
24IMAGE_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
25SOTA_CLIENT = "" 27# NetworkManager-wait-online.service, delaying boot up.
26SOTA_CLIENT_PROV = "" 28SOTA_CLIENT_PROV = ""
29IMAGE_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.
36IMAGE_FSTYPES_remove_sota = " \
37 ostreepush \
38 garagesign \
39 garagecheck \
40 "