amazon-austin: Disable USER_NS
As for now the vendor kernel won't build. It will require extensive
changes to fix the build, **but it is possible**.
Though the fact that it's ARMv7 means I have much less interest in
actually fixing this.
For the time being, it works *enough* that it's a non-issue.
-{ pkgs, ... }:
+{ lib, pkgs, ... }:
{
mobile.device.name = "amazon-austin";
mobile.usb.idVendor = "18D1";
# "Nexus 4"
mobile.usb.idProduct = "D001";
+
+ # The vendor kernel has loads of issues building with USER_NS.
+ # For now disable it. Patching should be possible, but will take time.
+ mobile.kernel.structuredConfig = [
+ (helpers: with helpers; {
+ USER_NS = lib.mkForce no;
+ UIDGID_STRICT_TYPE_CHECKS = lib.mkForce no;
+ })
+ ];
}
