Skip to content

Commit

Permalink
tisdk-display-cluster-image: remove weston from the filesystem
Browse files Browse the repository at this point in the history
The earlier approach of disabling the service based on
DISPLAY_CLUSTER_ENABLE env variable is not working. So remove the
package itself since it's not needed anyway in this demo specific image.

Signed-off-by: Sai Sree Kartheek Adivi <[email protected]>
  • Loading branch information
sskartheekadivi committed Jul 25, 2024
1 parent 27f555f commit b974f10
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions recipes-core/images/tisdk-display-cluster-image.bb
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,9 @@ IMAGE_INSTALL:append = " \
resize-rootfs \
"

IMAGE_INSTALL:remove = " \
weston \
weston-init \
"

export IMAGE_BASENAME = "tisdk-display-cluster-image${ARAGO_IMAGE_SUFFIX}"
3 changes: 0 additions & 3 deletions recipes-graphics/wayland/weston-init.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ USERADD_PARAM:${PN} = "--home /home/weston --shell /bin/sh -p '' --user-group -G

GROUPADD_PARAM:${PN} = "-r wayland; -r render; -r docker"

# Disable weston for tisdk-display-cluster-image
SYSTEMD_AUTO_ENABLE:${PN} = "${@oe.utils.conditional("DISPLAY_CLUSTER_ENABLE", "1", "disable", "enable", d)}"

# Always disable weston for AM62SIP
SYSTEMD_AUTO_ENABLE:${PN}:am62xxsip-evm = "disable"

Expand Down

0 comments on commit b974f10

Please sign in to comment.