diff options
Diffstat (limited to 'images/enea-edge-common.inc')
-rw-r--r-- | images/enea-edge-common.inc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/images/enea-edge-common.inc b/images/enea-edge-common.inc new file mode 100644 index 0000000..5472056 --- /dev/null +++ b/images/enea-edge-common.inc | |||
@@ -0,0 +1,26 @@ | |||
1 | require images/enea-image-common.inc | ||
2 | |||
3 | IMAGE_FEATURES += "ssh-server-openssh" | ||
4 | |||
5 | IMAGE_INSTALL += " \ | ||
6 | packagegroup-enea-virtualization \ | ||
7 | kernel-modules \ | ||
8 | " | ||
9 | |||
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)}" | ||
12 | |||
13 | # After installing packages inside the rootfs, remove backup DPKG status file | ||
14 | rootfs_postinstall_dpkg_cleanup () { | ||
15 | if ${@bb.utils.contains('PACKAGE_CLASSES', 'package_deb', 'true', 'false', d)}; then | ||
16 | rm -f ${IMAGE_ROOTFS}/var/lib/dpkg/status-old | ||
17 | fi | ||
18 | } | ||
19 | ROOTFS_POSTINSTALL_COMMAND_append += " rootfs_postinstall_dpkg_cleanup;" | ||
20 | |||
21 | IMAGE_FSTYPES = "ext4 ext4.gz tar.gz" | ||
22 | |||
23 | # Add ostree specific image types if sota support is set | ||
24 | IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'otaimg wic', ' ', d)}" | ||
25 | SOTA_CLIENT = "" | ||
26 | SOTA_CLIENT_PROV = "" | ||