[systemd-devel] [PATCH v9000 3/3] man: remove timezone(5) and add localtime(5)

2012-08-12 Thread Shawn Landden
--- Makefile.am |2 +- man/{timezone.xml => localtime.xml} | 49 +++ units/systemd-timedated.service.in |2 +- 3 files changed, 28 insertions(+), 25 deletions(-) rename man/{timezone.xml => localtime.xml} (59%) diff --git a/Makef

[systemd-devel] [PATCH v9000 2/3] timedated: gather timezone from /etc/localtime sym target

2012-08-12 Thread Shawn Landden
/etc/localtime -> /usr/share/zoneinfo/... or /etc/localtime -> ../usr/share/zoneinfo/... (note, ../usr is not the same if /etc is a symlink, as this isn't using canonicalize_file_name()) keep other method for now, consider dropping later. Supporting relative links here are problematic as timez

[systemd-devel] [PATCH v9000 1/3] util: add symlink_atomic()

2012-08-12 Thread Shawn Landden
unlike symlink_or_copy_atomic(), this function creates a symlink even if the oldname and newname (from and to) are on differn't devices. (stat.st_dev) --- src/shared/util.c | 19 +-- src/shared/util.h |1 + 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/s

Re: [systemd-devel] System power control

2012-08-12 Thread David Lambert
On 08/12/2012 06:09 PM, Lennart Poettering wrote: On Sun, 12.08.12 17:55, David Lambert ([email protected]) wrote: I am developing a battery backed up cape for a Beaglebone project which uses systemd under Angstrom. In order to conserve battery life, I would like to signal my battery control har

Re: [systemd-devel] System power control

2012-08-12 Thread Lennart Poettering
On Sun, 12.08.12 17:55, David Lambert ([email protected]) wrote: > I am developing a battery backed up cape for a Beaglebone project > which uses systemd under Angstrom. In order to conserve battery > life, I would like to signal my battery control hardware via a GPIO > when system shutdown is comp

[systemd-devel] System power control

2012-08-12 Thread David Lambert
I am developing a battery backed up cape for a Beaglebone project which uses systemd under Angstrom. In order to conserve battery life, I would like to signal my battery control hardware via a GPIO when system shutdown is complete and all file systems have been dismounted. Is there a "hook" in

Re: [systemd-devel] [PATCH 2/3] timedated: gather timezone from /etc/localtime sym target

2012-08-12 Thread Zbigniew Jędrzejewski-Szmek
On 08/12/2012 12:22 AM, Shawn Landden wrote: > From: Shawn Landen Hi, could you prefix the patch header like [PATCH 2/3 v3], adding the same version number to all patches that are supposed to go together, to make it easier for people who are not following the thread closely... Thanks, Zbyszek __