Skip to content
Commit 3afbeed0 authored by Matthew Barth's avatar Matthew Barth Committed by Andrew Geissler
Browse files

sensors:max31785-msl: Make max31785-msl package be "opt-in"



By default, the max31785-msl package was getting installed in all images
including phosphor-hwmon. A fix was done in the phosphor-hwmon repo to
make this be an "opt-in" configure option to install the max31785-msl
application. This makes the max31785-msl a package config on the
phosphor-hwmon recipe where its not included unless explicitly appended
in a bbappend file in a machine layer.

ex.)
PACKAGECONFIG_append_ibm-ac-server = " max31785-msl"
SYSTEMD_ENVIRONMENT_FILE_max31785-msl_append_ibm-ac-server = " obmc/hwmon-max31785/max31785.conf"
SYSTEMD_LINK_max31785-msl_append_ibm-ac-server = " ../phosphor-max31785-msl@.service:multi-user.target.wants/phosphor-max31785-msl@${MACHINE}.service"

Tested:
    Built image without appending the max31785-msl package
      Verified no files related to it were in the image
    Build image appending the max31785-msl package
      Verified all related files were in the image

(From meta-phosphor rev: 22546d9032e077cddd4cef325080315e51720016)

Change-Id: Iacd8e4194f4749b023463965514ff6f73beb4739
Signed-off-by: default avatarMatthew Barth <msbarth@us.ibm.com>
Signed-off-by: default avatarAndrew Geissler <geissonator@yahoo.com>
parent a4cdd199
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment