History log of /openbmc/pldm/oem/ibm/service_files/meson.build (Results 1 – 5 of 5)
Revision Date Author Comments
# 3012b632 22-Aug-2024 Manojkiran Eda <manojkiran.eda@gmail.com>

Format meson files with meson.format

Meson 1.5.0 introduced a new feature to format all the meson
files. Formatting all the meson files is now as simple as running
`meson format -i -r` command in th

Format meson files with meson.format

Meson 1.5.0 introduced a new feature to format all the meson
files. Formatting all the meson files is now as simple as running
`meson format -i -r` command in the repository root folder.

more details : https://mesonbuild.com/Commands.html#format

Change-Id: I9c5468cc502ae78b7a055e2de2a10296930cb9ec
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>

show more ...


# fc81a437 26-Jul-2023 Manojkiran Eda <manojkiran.eda@gmail.com>

use fs.copyfile instead of deprecated copy

copy arg in configure_file API is deprecated since meson
version 0.64.0. As we moved to meson version 1.1.1 we can
leverage the filesystem module copyfile(

use fs.copyfile instead of deprecated copy

copy arg in configure_file API is deprecated since meson
version 0.64.0. As we moved to meson version 1.1.1 we can
leverage the filesystem module copyfile() to achive the
same result.

Change-Id: I8ec540a505060306ff643a153cb2ca1b1ca4d35e
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>

show more ...


# 2cff3015 10-Sep-2022 Manojkiran Eda <manojkiran.eda@gmail.com>

oem_ibm: Move the NVRAM files to the hostfw directory

This commit would :
- Move the NVRAM files from /var/ on the BMC to the hostfw directory so
that they don't get erased during a BMC factory re

oem_ibm: Move the NVRAM files to the hostfw directory

This commit would :
- Move the NVRAM files from /var/ on the BMC to the hostfw directory so
that they don't get erased during a BMC factory reset.

- To help migrate existing systems, check if the files exist in /var/,
and if they do, move them to the hostfw destination.

- This also adds dependent services that ensure that the links being
setup correctly in var/lib/phosphor-software-manager/hostfw/ is run
first.

- The services to clear PHYP NVRAM are not needed anymore. Instead of
the BMC clearing them, the hypervisor will now clear them if the
pvm_clear_nvram bios attribute is set.

Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: If8da88347a82d212b30c3cb6354037b62887c67c

show more ...


# 0922275b 16-Aug-2021 Adriana Kobylak <anoo@us.ibm.com>

oem: ibm: Add services to reset PHYP NVRAM

Create new services that delete the PHYP NVRAM files and re-create them
to be used by the bios factory reset method since it needs to clear all

oem: ibm: Add services to reset PHYP NVRAM

Create new services that delete the PHYP NVRAM files and re-create them
to be used by the bios factory reset method since it needs to clear all
host-related data as part of the reset.

Tested: Verified the PHYP NVRAM files were deleted and recreated:

root@p10bmc:~# ls -l /var/lib/pldm/PHYP-NVRAM*
-rw-r--r-- 1 root root 148897792 Aug 16 16:07
/var/lib/pldm/PHYP-NVRAM

root@p10bmc:~# systemctl start pldm-reset-phyp-nvram.service
Aug 16 18:55:53 p10bmc systemd[1]: Starting Reset PHYP-NVRAM file...
Aug 16 18:55:53 p10bmc systemd[1]: pldm-reset-phyp-nvram.service:
Deactivated successfully.
Aug 16 18:55:53 p10bmc systemd[1]: Finished Reset PHYP-NVRAM file.
Aug 16 18:55:53 p10bmc systemd[1]: Starting Create empty PHYP-NVRAM
file...
systemctl start Aug 16 18:55:54 p10bmc dd[622]: 145408+0 records in
Aug 16 18:55:54 p10bmc dd[622]: 145408+0 records out
Aug 16 18:55:54 p10bmc systemd[1]: pldm-create-phyp-nvram.service:
Deactivated successfully.
Aug 16 18:55:54 p10bmc systemd[1]: Finished Create empty PHYP-NVRAM
file.

root@p10bmc:~# ls -l /var/lib/pldm/PHYP-NVRAM*
-rw-r--r-- 1 root root 148897792 Aug 16 18:55
/var/lib/pldm/PHYP-NVRAM

Change-Id: Ice10ff48d32f89447ed66434fa9c3f56f9535a37
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...


# fec5d59b 21-Jan-2021 Manojkiran Eda <manojkiran.eda@gmail.com>

Upstream pldm-hypervisor services under OEM

- The intent behind this commit is to create a folder
for all the pldm services(including the oem services)
& installs the respecti

Upstream pldm-hypervisor services under OEM

- The intent behind this commit is to create a folder
for all the pldm services(including the oem services)
& installs the respective services based on the meson
configuration.
- This commit would also remove a redundant systemd dependency
which was missed in earlier cleanup.

Tested By:
1. meson buiddir -Doem-ibm=enabled/disabled
2. ninja -C builddir
3. ninja install

Post the install step, was able to see the respective systemd
unit files in the systemd_unit_dir (lib/systemd/system)

Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I4d9e093be25ac7a8a94bcccc9f8c1e7d3de1c68c

show more ...