commit | f020c444e7c95fe9ae12cbf83a152d80ab1d754c | [log] [tgz] |
---|---|---|
author | Xiaochao Ma <maxiaochao@inspur.com> | Mon Oct 31 11:09:38 2022 +0800 |
committer | Xiaochao Ma <maxiaochao@inspur.com> | Tue Aug 08 09:39:25 2023 +0800 |
tree | 6884b13d6fa3d02dfc89d639b66b979459cb4223 | |
parent | cf19d1462e1d0dff69e884fbc135f77a3f456afc [diff] |
Add Get SEL Time UTC Offset function The current ipmi does not support the time zone acquisition command. This command is a standard ipmi command. In the ipmi specification, the corresponding NetFn=0x0A and Cmd=0x5C. Returns the offset in minutes from UTC to SEL (local) time. The offset is a 16 bit signed integer with two complements. LS byte comes first. (Range from - 1440 to 1440) tested: When the current time zone is East Zone 8, ipmitool raw 0x0A 0x5C e0 01 Signed-off-by: Xiaochao Ma <maxiaochao@inspur.com> Change-Id: I74edfe4f18201bec801b021e69a88231e51473a5
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage