From 3545aad5ca1d057a5ece3e76045c3f614350666b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 21 May 2020 16:23:00 +0200 Subject: [PATCH] profiles: Force sys-kernel/*-kernel[savedconfig] on non-x86 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Force savedconfig on kernel packages on all arches except these that have preconfigured .config supplied. This will permit us to extend the packages into more arches without having to provide .config, including arm where this would be non-trivial. Signed-off-by: Michał Górny --- profiles/arch/amd64/package.use.force | 7 ++++++- profiles/arch/x86/package.use.force | 7 ++++++- profiles/base/package.use.force | 5 +++++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/profiles/arch/amd64/package.use.force b/profiles/arch/amd64/package.use.force index 9af2e4978197..f678b290910d 100644 --- a/profiles/arch/amd64/package.use.force +++ b/profiles/arch/amd64/package.use.force @@ -1,6 +1,11 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Michał Górny (2017-12-30) +# We have ready-to-use configs here. +sys-kernel/gentoo-kernel -savedconfig +sys-kernel/vanilla-kernel -savedconfig + # Luke Dashjr (2019-09-21) # iasl is stable on amd64 sys-firmware/seabios -binary diff --git a/profiles/arch/x86/package.use.force b/profiles/arch/x86/package.use.force index 1b862d289ccd..1117471392cf 100644 --- a/profiles/arch/x86/package.use.force +++ b/profiles/arch/x86/package.use.force @@ -1,6 +1,11 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Michał Górny (2017-12-30) +# We have ready-to-use configs here. +sys-kernel/gentoo-kernel -savedconfig +sys-kernel/vanilla-kernel -savedconfig + # Luke Dashjr (2019-11-21) # iasl is stable on x86 sys-firmware/seabios -binary diff --git a/profiles/base/package.use.force b/profiles/base/package.use.force index a9612f0c2bc5..dcf6d45e20c0 100644 --- a/profiles/base/package.use.force +++ b/profiles/base/package.use.force @@ -1,6 +1,11 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Michał Górny (2017-12-30) +# Require user configs unless we supply our own .config. +sys-kernel/gentoo-kernel savedconfig +sys-kernel/vanilla-kernel savedconfig + # Alfredo Tupone (2020-04-06) # USE=ada is mandatory to build a gnat compiler sys-devel/gnat-gpl ada -- 2.26.2