meta-facebook: yosemite4: add settingsd for temporary versions
Create settingsd locations to hold software versions for devices
awaiting a real software-update daemon implementation.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I465e6cc045507c7c29dd0979251cd5e1ba782fc5
diff --git a/meta-facebook/meta-yosemite4/recipes-phosphor/settings/phosphor-settings-defaults-native.bbappend b/meta-facebook/meta-yosemite4/recipes-phosphor/settings/phosphor-settings-defaults-native.bbappend
index 15a8daa..61c7736 100644
--- a/meta-facebook/meta-yosemite4/recipes-phosphor/settings/phosphor-settings-defaults-native.bbappend
+++ b/meta-facebook/meta-yosemite4/recipes-phosphor/settings/phosphor-settings-defaults-native.bbappend
@@ -1,7 +1,16 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
-SRC_URI:append = " file://yosemite4-bios-version.yml \
- file://yosemite4-disable-auto-reboot.override.yml \
+SRC_URI:append = " \
+ file://yosemite4-temporary-software-versions.yml \
+ file://yosemite4-temporary-host-software-versions.yml \
+ file://yosemite4-disable-auto-reboot.override.yml \
"
-SETTINGS_HOST_TEMPLATES:append = " yosemite4-bios-version.yml yosemite4-disable-auto-reboot.override.yml "
+SETTINGS_HOST_TEMPLATES:append = " \
+ yosemite4-temporary-host-software-versions.yml \
+ yosemite4-disable-auto-reboot.override.yml \
+"
+
+SETTINGS_BMC_TEMPLATES:append = " \
+ yosemite4-temporary-software-versions.yml \
+"
diff --git a/meta-facebook/meta-yosemite4/recipes-phosphor/settings/phosphor-settings-defaults-native/yosemite4-bios-version.yml b/meta-facebook/meta-yosemite4/recipes-phosphor/settings/phosphor-settings-defaults-native/yosemite4-bios-version.yml
deleted file mode 100644
index 921a13f..0000000
--- a/meta-facebook/meta-yosemite4/recipes-phosphor/settings/phosphor-settings-defaults-native/yosemite4-bios-version.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-/xyz/openbmc_project/software/host{}/bios_version:
-- Interface: "xyz.openbmc_project.Software.Version"
- Properties:
- Version:
- Default: '""'
- Purpose:
- Default: Version::VersionPurpose::Other
-
-/xyz/openbmc_project/software/host{}/after_activated_bios_version:
-- Interface: "xyz.openbmc_project.Software.Version"
- Properties:
- Version:
- Default: '""'
- Purpose:
- Default: Version::VersionPurpose::Other
-
diff --git a/meta-facebook/meta-yosemite4/recipes-phosphor/settings/phosphor-settings-defaults-native/yosemite4-temporary-host-software-versions.yml b/meta-facebook/meta-yosemite4/recipes-phosphor/settings/phosphor-settings-defaults-native/yosemite4-temporary-host-software-versions.yml
new file mode 100644
index 0000000..ac5e0cd
--- /dev/null
+++ b/meta-facebook/meta-yosemite4/recipes-phosphor/settings/phosphor-settings-defaults-native/yosemite4-temporary-host-software-versions.yml
@@ -0,0 +1,119 @@
+/xyz/openbmc_project/software/host{}/Sentinel_Dome_bios:
+ - Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+
+/xyz/openbmc_project/software/host{}/Sentinel_Dome_cpld:
+ - Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+
+/xyz/openbmc_project/software/host{}/Sentinel_Dome_bic:
+ - Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+
+/xyz/openbmc_project/software/host{}/Sentinel_Dome_vr_pvddcr_cpu0:
+ - Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+
+/xyz/openbmc_project/software/host{}/Sentinel_Dome_vr_pvddcr_cpu1:
+ - Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+
+/xyz/openbmc_project/software/host{}/Sentinel_Dome_vr_pvdd11_s3:
+ - Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+
+/xyz/openbmc_project/software/host{}/Sentinel_Dome_retimer_x8:
+ - Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+
+/xyz/openbmc_project/software/host{}/Sentinel_Dome_retimer_x16:
+ - Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+
+/xyz/openbmc_project/software/host{}/Wailua_Falls_bic:
+ - Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+
+/xyz/openbmc_project/software/host{}/Wailua_Falls_vr_pvddq_ab_asci1:
+ - Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+
+/xyz/openbmc_project/software/host{}/Wailua_Falls_vr_pvddq_cd_asci1:
+ - Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+
+/xyz/openbmc_project/software/host{}/Wailua_Falls_vr_pvddq_ab_asci2:
+ - Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+
+/xyz/openbmc_project/software/host{}/Wailua_Falls_vr_pvddq_cd_asci2:
+ - Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+
+/xyz/openbmc_project/software/host{}/Wailua_Falls_cxl_1:
+ - Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+
+/xyz/openbmc_project/software/host{}/Wailua_Falls_cxl_2:
+ - Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
diff --git a/meta-facebook/meta-yosemite4/recipes-phosphor/settings/phosphor-settings-defaults-native/yosemite4-temporary-software-versions.yml b/meta-facebook/meta-yosemite4/recipes-phosphor/settings/phosphor-settings-defaults-native/yosemite4-temporary-software-versions.yml
new file mode 100644
index 0000000..4a85874
--- /dev/null
+++ b/meta-facebook/meta-yosemite4/recipes-phosphor/settings/phosphor-settings-defaults-native/yosemite4-temporary-software-versions.yml
@@ -0,0 +1,57 @@
+/xyz/openbmc_project/software/chassis/Management_Board_cpld:
+- Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+
+/xyz/openbmc_project/software/chassis/Management_Board_tpm:
+- Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+
+/xyz/openbmc_project/software/chassis/Spider_Board_cpld:
+- Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+
+
+/xyz/openbmc_project/software/chassis/nic0:
+- Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+
+/xyz/openbmc_project/software/chassis/nic1:
+- Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+
+/xyz/openbmc_project/software/chassis/nic2:
+- Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+
+/xyz/openbmc_project/software/chassis/nic3:
+- Interface: "xyz.openbmc_project.Software.Version"
+ Properties:
+ Version:
+ Default: '""'
+ Purpose:
+ Default: Version::VersionPurpose::Other
+