linux_rpi: allow modDirVersion override

This commit is contained in:
Edmund Wu 2019-01-10 20:54:35 -05:00
parent 0f69eb3e5b
commit 0a948da8af
No known key found for this signature in database
GPG Key ID: 43C9E53FFCF51DEC

View File

@ -26,7 +26,7 @@ lib.overrideDerivation (buildLinux (args // rec {
} // (args.features or {});
extraMeta.hydraPlatforms = [ "aarch64-linux" ];
})) (oldAttrs: {
} // (args.argsOverride or {}))) (oldAttrs: {
postConfigure = ''
# The v7 defconfig has this set to '-v7' which screws up our modDirVersion.
sed -i $buildRoot/.config -e 's/^CONFIG_LOCALVERSION=.*/CONFIG_LOCALVERSION=""/'