# TODO:
-# - restore sysconfig/timezone support in target-pld patch
-# [now systemd expects /etc/localtime to be symlink to /usr/share/zoneinfo/... unconditionally]
# - pldize vconsole setup:
# http://cgit.freedesktop.org/systemd/systemd/tree/src/vconsole/vconsole-setup.c
# - initrd needs love (does not build and is probably completly unusable in current form)
Name: systemd
# Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
Version: 196
-Release: 2
+Release: 3
Epoch: 1
License: GPL v2+
Group: Base
const char *verb = args[0];
unsigned f = 1, t = 1;
LookupPaths paths;
+--- systemd-196/src/timedate/timedated.c~ 2012-10-16 23:35:40.589269718 +0200
++++ systemd-196/src/timedate/timedated.c 2012-12-21 11:46:13.545086335 +0100
+@@ -175,6 +175,15 @@
+ }
+ }
+
++#ifdef TARGET_PLD
++ r = parse_env_file("/etc/sysconfig/timezone", NEWLINE,
++ "TIMEZONE", &tz.zone,
++ NULL);
++ if (r < 0) {
++ if (r != -ENOENT)
++ log_warning("Failed to read /etc/sysconfig/timezone: %s", strerror(-r));
++ }
++#endif
+ #ifdef HAVE_DEBIAN
+ r = read_one_line_file("/etc/timezone", &tz.zone);
+ if (r < 0) {
diff --git a/src/vconsole/vconsole-setup.c b/src/vconsole/vconsole-setup.c
index 9196789..1d1a916 100644
--- a/src/vconsole/vconsole-setup.c