gentoo running in chroot on tablet

tasinofan

Senior Member
Jan 13, 2013
92
23
Just for fun, I entirely (re)built and maintain a bleeding edge up to
date gentoo arm distro (on x86_64 in arm qemu chroot) which now runs
fine on the tablet its own chroot. Build is a bit slow (qemu), but,
with enough x86_64 cores it is acceptable when doing in parallel.

As opposed to cross arm build on x86_64, this method allows to build
everything (and run nearly everything), for example, one can run xterm
(or any xwindows application) to display on a remote xserver. Or one
can also run any deamon/server.
The cross arm build method, on the contrary, chokes on many configure
scripts. It is much faster, but, for example, I could not cross build
perl and much other software.

--
tablet ~ # emerge --info
Portage 2.2.0_alpha173 (unavailable, gcc-4.7.2, glibc-2.17, 3.1.10 armv7l)
=================================================================
System uname: Linux-3.1.10-armv7l-ARMv7_Processor_rev_9_-v7l-with-gentoo-2.2
KiB Mem: 996380 total, 25104 free
KiB Swap: 2097148 total, 1982520 free
Timestamp of tree: Unknown
ld GNU ld (GNU Binutils) 2.23.2
dev-lang/python: 2.7.4::gentoo, 3.2.3-r2::gentoo
sys-devel/autoconf: 2.69::gentoo
sys-devel/automake: 1.11.6::gentoo, 1.13.1::gentoo
sys-devel/binutils: 2.23.2::gentoo
sys-devel/libtool: 2.4.2::gentoo
sys-kernel/linux-headers: 3.8::gentoo (virtual/os-headers)
Repositories: x-portage
ACCEPT_KEYWORDS="~*"
ACCEPT_LICENSE="* -@EULA"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -pipe -fexceptions"
CHOST="armv7a-softfp-linux-gnueabi"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -pipe -fexceptions"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ Index of /gentoo-distfiles rsync://mirror.bytemark.co.uk/gentoo/ Index of /mirror/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl arm cxx fuse gtk3 ipv6 pch qt4 threads xattr"
Unset: EMERGE_DEFAULT_OPTS, PORTAGE_BUNZIP2_COMMAND
--
 
Last edited:
Top