Loading package/systemd/systemd-02-efi-fix-Undefined-reference-efi_loader_get_boot_usec.patch 0 → 100644 +29 −0 Original line number Diff line number Diff line 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 package/systemd/systemd.mk +1 −1 Original line number Diff line number Diff line Loading @@ -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+ Loading Loading
package/systemd/systemd-02-efi-fix-Undefined-reference-efi_loader_get_boot_usec.patch 0 → 100644 +29 −0 Original line number Diff line number Diff line 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
package/systemd/systemd.mk +1 −1 Original line number Diff line number Diff line Loading @@ -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+ Loading