Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] systemd: bump to v208.
@ 2014-03-12 14:49 Eric Le Bihan
  2014-03-12 16:22 ` Peter Korsgaard
  2014-03-12 21:24 ` Peter Korsgaard
  0 siblings, 2 replies; 6+ messages in thread
From: Eric Le Bihan @ 2014-03-12 14:49 UTC (permalink / raw)
  To: buildroot

This version bump comes with a patch, backported from v209, to fix
a linker error when EFI support is disabled.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
---
 ...efined-reference-efi_loader_get_boot_usec.patch |   29 ++++++++++++++++++++
 package/systemd/systemd.mk                         |    2 +-
 2 files changed, 30 insertions(+), 1 deletion(-)
 create mode 100644 package/systemd/systemd-02-efi-fix-Undefined-reference-efi_loader_get_boot_usec.patch

diff --git a/package/systemd/systemd-02-efi-fix-Undefined-reference-efi_loader_get_boot_usec.patch b/package/systemd/systemd-02-efi-fix-Undefined-reference-efi_loader_get_boot_usec.patch
new file mode 100644
index 0000000..84b0a1a
--- /dev/null
+++ b/package/systemd/systemd-02-efi-fix-Undefined-reference-efi_loader_get_boot_usec.patch
@@ -0,0 +1,29 @@
+From 70d9b9fc0a4fa1698ff00e364c61bb875244efa1 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= <crrodriguez@opensuse.org>
+Date: Tue, 11 Feb 2014 09:54:49 -0300
+Subject: [PATCH] efi: fix Undefined reference efi_loader_get_boot_usec when
+ EFI support is disabled
+
+Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
+---
+ src/shared/boot-timestamps.c |    2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/shared/boot-timestamps.c b/src/shared/boot-timestamps.c
+index 9449965..d656685 100644
+--- a/src/shared/boot-timestamps.c
++++ b/src/shared/boot-timestamps.c
+@@ -40,8 +40,10 @@ int boot_timestamps(const dual_timestamp *n, dual_timestamp *firmware, dual_time
+
+         r = acpi_get_boot_usec(&x, &y);
+         if (r < 0) {
++#ifdef ENABLE_EFI
+                 r = efi_loader_get_boot_usec(&x, &y);
+                 if (r < 0)
++#endif
+                         return r;
+         }
+
+--
+1.7.9.5
+
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 0fc00e1..0ac4651 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-SYSTEMD_VERSION = 207
+SYSTEMD_VERSION = 208
 SYSTEMD_SITE = http://www.freedesktop.org/software/systemd/
 SYSTEMD_SOURCE = systemd-$(SYSTEMD_VERSION).tar.xz
 SYSTEMD_LICENSE = GPLv2+
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-03-12 21:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-12 14:49 [Buildroot] [PATCH 1/1] systemd: bump to v208 Eric Le Bihan
2014-03-12 16:22 ` Peter Korsgaard
2014-03-12 17:02   ` Samuel Martin
2014-03-12 18:43     ` Eric Le Bihan
2014-03-12 21:23       ` Peter Korsgaard
2014-03-12 21:24 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox