From a97db109a20697a14d3ca72a112d05cc0411ae8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sun, 6 Nov 2016 12:20:43 +0100 Subject: [PATCH] Disabling OABI_COMPAT on ARM platforms. Otherwise, systemd-logind fails to work because SECCOMP_FILTER cannot be enabled with OABI_COMPAT set. We don't need OABI_COMPAT at all on ARM, I guess. With this change, the rpi kernel boots fine for raspberrypi2. We discussed this change with Dezgeg. --- pkgs/top-level/platforms.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/top-level/platforms.nix b/pkgs/top-level/platforms.nix index 3c94501b1a532b6..efeae9a9d20259f 100644 --- a/pkgs/top-level/platforms.nix +++ b/pkgs/top-level/platforms.nix @@ -86,6 +86,10 @@ rec { ZRAM m NETCONSOLE m + # Disable OABI to have seccomp_filter (required for systemd) + # https://github.com/raspberrypi/firmware/issues/651 + OABI_COMPAT n + # Fail to build DRM n SCSI_ADVANSYS n @@ -187,6 +191,10 @@ rec { ZRAM m + # Disable OABI to have seccomp_filter (required for systemd) + # https://github.com/raspberrypi/firmware/issues/651 + OABI_COMPAT n + # Fail to build DRM n SCSI_ADVANSYS n @@ -268,6 +276,10 @@ rec { ZRAM m + # Disable OABI to have seccomp_filter (required for systemd) + # https://github.com/raspberrypi/firmware/issues/651 + OABI_COMPAT n + # Fail to build DRM n SCSI_ADVANSYS n