linux-info.eclass: copy over & stub out kernel config checks

This eclass checks kernel config options are enabled either in the
source kernel config or in the runtime /proc/config.gz.  Neither of
those are necessary or make sense in a CrOS env when we fully control
the kernel that we're installing (these checks are meant more for the
users who build things from scratch and don't know that some packages
need random kernel settings).

These also add overhead to the package process when portage wants to
run them serially before processing any package updates.

We copy over the eclass from portage-stable and add the minor disable
logic (as can be seen in the "CrOS" comments).

BUG=None
TEST=CQ passes

Change-Id: I329e7e51d41d4fe4eb6ad9b3dc5fdbe63a213786
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/eclass-overlay/+/1872622
Tested-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Chris McDonald <cjmcdonald@chromium.org>
1 file changed
tree: b77cfa72a1010de038e124a6958e16ddd0df68fc
  1. eclass/
  2. metadata/
  3. profiles/
  4. OWNERS
  5. PRESUBMIT.cfg