Merge pull request #53821 from eadwu/linux_rpi/allow-modDirVersion-override

linux_rpi: allow modDirVersion override
This commit is contained in:
Matthew Bauer 2019-06-10 21:40:36 -04:00 committed by GitHub
commit dd125a10ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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=""/'