git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commita97db109a20697a14d3ca72a112d05cc0411ae8e authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net> dateSun 6 Nov 2016, 12:20 (10 years ago) parent80c6f9c
1 file changed+12
pkgs/top-level/platforms.nix+12
pkgs/top-level/platforms.nix+12
@@ -86,6 +86,10 @@ rec {
8686 ZRAM m
8787 NETCONSOLE m
8888
89+ # Disable OABI to have seccomp_filter (required for systemd)
90+ # https://github.com/raspberrypi/firmware/issues/651
91+ OABI_COMPAT n
92+
8993 # Fail to build
9094 DRM n
9195 SCSI_ADVANSYS n
@@ -187,6 +191,10 @@ rec {
187191
188192 ZRAM m
189193
194+ # Disable OABI to have seccomp_filter (required for systemd)
195+ # https://github.com/raspberrypi/firmware/issues/651
196+ OABI_COMPAT n
197+
190198 # Fail to build
191199 DRM n
192200 SCSI_ADVANSYS n
@@ -268,6 +276,10 @@ rec {
268276
269277 ZRAM m
270278
279+ # Disable OABI to have seccomp_filter (required for systemd)
280+ # https://github.com/raspberrypi/firmware/issues/651
281+ OABI_COMPAT n
282+
271283 # Fail to build
272284 DRM n
273285 SCSI_ADVANSYS n