Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Pre-merge checks
Date: Sun, 26 Jan 2020 00:34:41
Message-Id: CAC=wYCG=sHtSYaO2oDarxQ=TkzNgCJ1a3vXOfCQW09GQ_O5Dww@mail.gmail.com
In Reply to: [gentoo-user] Pre-merge checks by Francisco Ares
1 On Sat, Jan 25, 2020 at 12:48 AM Francisco Ares <frares@×××××.com> wrote:
2
3 > Hi, All.
4 >
5 > I would like to see all pre-merge checks prior to build a new kernel, just
6 > to make sure all kernel configurations needed até satisfied.
7 >
8 > I thought on issuing an "emerge -e world" then interrupting the process at
9 > the beguinning of the first package build. But this looks a weird way of
10 > doing things.
11 >
12 > Is there any other way?
13 >
14 >
15 The command looks through the ebuilds of installed packages and dumps a
16 list of of the kernel options that the ebuilds are looking for, so its a
17 start. You'll then need to check this against your .config file.
18
19 If you're not using the new $PORTDIR of /var/db/repos/gentoo you'll need to
20 change that of course.
21
22 for pak in $(qlist -ICv | sed
23 's/\(.*\)\(\/.*\)\(-[0-9].*\)/\1\2\2\3.ebuild/g' ); do grep -s -H
24 'CONFIG_CHECK="' /var/db/repos/gentoo/$pak ; done

Replies

Subject Author
Re: [gentoo-user] Pre-merge checks Francisco Ares <frares@×××××.com>