Gentoo Archives: gentoo-user

From: Francisco Ares <frares@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] a bit off-topic - minimalist Gentoo: X needs a kick to start
Date: Mon, 14 Aug 2017 18:30:02
Message-Id: CAHH9eM7V-QFG3w6k1HXv=6N3pude80LkzPVhjgEtDJsV0cmEbQ@mail.gmail.com
In Reply to: Re: [gentoo-user] a bit off-topic - minimalist Gentoo: X needs a kick to start by R0b0t1
1 2017-08-14 14:55 GMT-03:00 R0b0t1 <r030t1@×××××.com>:
2
3 > On Mon, Aug 14, 2017 at 12:12 PM, Francisco Ares <frares@×××××.com> wrote:
4 > > Hi,
5 > >
6 > > I'm trying to build a minimal Gentoo image for an embedded appliance.
7 > > Everything - AFAIK - works good, but I need to key in Ctrl-Alt-F5 /
8 > > Ctrl-Alt-F7 a couple of times (F5 is just an example, just have to
9 > switch
10 > > off of X and back again), just then X shows up.
11 > >
12 > > I have removed a lot of packages, in special the ones used in
13 > development.
14 > > GCC is still there, though.
15 > >
16 > > Any ideas? I know this is hugely vague, but, who knows if someone out
17 > there
18 > > hasn't gone through this before?
19 > >
20 > > Thanks!
21 > > Francisco
22 >
23 > What is the hardware? Are you sure X is starting as quickly as you
24 > assume it is? Are you using the software rasterizer? I have
25 > experienced similar issues intermittently on my RPi/RPi3 but not
26 > regularly enough to diagnose it.
27 >
28 >
29 Thanks for answering.
30
31 The hardware is a x86-64 mini-ITX board, nothing unusual. Besides this,
32 I'm working also in a Odroid XU-4, but this is not the issue.
33
34 I'm using regular X11 video drivers, as this board has a regular Intel
35 chipset.
36
37 Explaining a bit deeper:
38
39 There is a development equipment, with dozens of development aids. As I
40 don't want those in the disk image for production equipments, I have
41 managed to do this by making a copy of the working root partition
42 directories and files, remove portage related files and directories from
43 this copy and, using the working partition as reference, rip-off unneeded
44 packages files, like this:
45
46 for i in `equery -C f dev-qt/qt-creator` ; do if [ ! -d "$i" ] ; then rm -f
47 /mnt/aux/gentoo/$i ; fi ; done
48
49 Where /mnt/aux/gentoo/ contains that mentioned copy of all files of the
50 development root partition.
51
52 The package "dev-qt/qt-creator" is just an example, there are several
53 others which have their files removed from the copy of the root partition.
54
55 Thanks and
56 Best Regards,
57 Francisco