Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279598 - sys-kernel/genkernel-3.4.10.905 doesn't autodetect platform as amd64 correctly in chroot
Summary: sys-kernel/genkernel-3.4.10.905 doesn't autodetect platform as amd64 correctl...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-29 16:22 UTC by Richard Scott
Modified: 2009-07-30 12:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Scott 2009-07-29 16:22:43 UTC
I have an amd64 system that I've booted and I'm trying to create 2nd a chrooted setup for testing within the same system.

I have unpacked the stage3-amd64-hardened.tar.bz2 into /var/lib/gentoo and chrooted into it, updated it and emerge hardened-sources and genkernel (Which, BTW, is the same as my running OS).

When I get to compiling a kernel I am unable to compile one that is for the x86_64 arch as genkernel detects the arch as just x86.

My booted OS works fine and genkernel creates an x86_64 kernel.

Reproducible: Always

Steps to Reproduce:
1. unpack a stage3 amd64 tarball
2. chroot into that new directory and update
3. run genkernel --menuconfig all
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2009-07-30 12:41:36 UTC
Let me guess...you were chrooting with linux32/setarch?
Comment 2 Richard Scott 2009-07-30 12:45:24 UTC
<whistling> yup, how'd you guess ;-)
I forgot I'd put it in my chroot script!