commit | 7bb412f5a37ff3587a67610c022d781525b1a423 | [log] [tgz] |
---|---|---|
author | Willy Tu <wltu@google.com> | Mon Sep 25 11:30:45 2023 -0700 |
committer | Willy Tu <wltu@google.com> | Fri Nov 24 04:46:10 2023 +0000 |
tree | 0768e05450ed5caec02867554f294e1c5a6fcd0d | |
parent | 65362f497de12394305e2321f4433cc95c2e94ca [diff] |
dbus-sdr: sel: Fix dst setting Use the day time saving information on the system to calculate the time instead of zero (no dst) as the default. https://linux.die.net/man/3/mktime Failure Example, ``` $ stat /var/log/ipmi_sel File: /var/log/ipmi_sel Size: 88 Blocks: 8 IO Block: 4096 regular file Device: 1bh/27d Inode: 4125 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2023-09-25 14:37:03.631424968 -0700 Modify: 2023-09-25 14:37:02.291422780 -0700 Change: 2023-09-25 14:37:02.291422780 -0700 $ ipmitool sel SEL Information Version : 1.5 (v1.5, v2 compliant) Entries : 0 Free Space : 65535 bytes or more Percent Used : unknown Last Add Time : 09/25/23 14:30:08 PDT Last Del Time : Not Available Overflow : false Supported Cmds : 'Reserve' $ ipmitool sel list 1 | 09/25/23 | 15:30:07 PDT | reserved #0xff | | Asserted ``` Tested: Fixed the timezone issues ``` $ ipmitool sel list 1 | 09/25/23 | 14:30:07 PDT | reserved #0xff | | Asserted ``` Change-Id: I23bdb5039bed8e135f06d399a5e970bbc1e5ed58 Signed-off-by: Willy Tu <wltu@google.com>
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