Skip to content

Commit

Permalink
Disabling OABI_COMPAT on ARM platforms.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Lluís Batlle i Rossell committed Nov 6, 2016
1 parent 80c6f9c commit a97db10
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pkgs/top-level/platforms.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a97db10

Please sign in to comment.