Gentoo Archives: gentoo-embedded

From: Marcel Romijn <MRomijn@×××××××××××××××.com>
To: gentoo-embedded@l.g.o
Subject: RE: [gentoo-embedded] Network appliance with sound
Date: Fri, 02 Sep 2005 07:09:46
Message-Id: 804C1EB1B07F474E88FB20F80BFBFD841A46A1@ns1017.seagull.nl
1 > >
2 > >
3 ------------------------------------------------------------------------
4 --------
5 > > From: Thierry Carrez [mailto:koon@g.o]
6 > > Sent: Tue 8/30/2005 8:34 PM
7 > > To: gentoo-embedded@l.g.o
8 > > Subject: Re: [gentoo-embedded] Network appliance with sound
9 > >
10 > >
11 > > See the GNAP Advanced User Guide : the kernel.config file is located
12 in
13 > > the specs directory (which you should find in /usr/lib/gnap).
14 >
15 > Yup. I emerged gnap-dev and I found the kernel configuration.
16 > I created a new kernel based on the gnap kernel configuration, but
17 then modified for my processor family, ALSA and my sound interface.
18 > Creating an ISO with it worked without problems and the machine nicely
19 boots from it!!!
20 >
21 > 'dmesg' shows me that it has ALSA enabled and shows my sound
22 interface.
23 >
24 > Thanks for the pointers!!!
25 >
26 > Next on my list is your second suggestion: remaster a gnap core with
27 the alsa-utils as extension.
28
29 Sorry to bother you again with this...
30
31 I have tried to remaster a gnap core with a alsa-utils.
32
33 'ebuild'-ing the alsa-utils:
34 # ebuild /usr/portage/media-sound/alsa-utils/alsa-utils-1.0.9a.ebuild
35 install
36
37 Making the extension:
38 # cd /var/tmp/portage/alsa-utils-1.0.9a/image
39 # tar -cjvf /usr/lib/gnap/extensions/gnapext_alsa-utils.tbz2 *
40
41 Remaster the core with the modified kernel and the alsa-util extension:
42 #gnap_remaster -k kernel.tar.bz2 -m modules.tar.bz2 -e alsa-utils -o
43 newcore.tar
44
45 Then I can create my boot image:
46 # gnap_overlay -g newcore.tar ....
47
48 This boots nicely and running Gentoo has all the built files from
49 alsa-utils. However, they won't work.
50 In my enthausiasm I forgot that alsa-utils is probably depending on
51 other packages.
52
53 And indeed:
54
55 # emerge --pretend --emptytree --tree alsa-utils
56
57 These are the packages that I would merge, in reverse order:
58
59 Calculating dependencies ...done!
60 [ebuild N ] media-sound/alsa-utils-1.0.9a
61 [ebuild N ] dev-util/dialog-1.0.20050206
62 [ebuild N ] sys-apps/pciutils-2.1.11-r5
63 [ebuild N ] media-libs/alsa-lib-1.0.9
64 [ebuild N ] media-sound/alsa-headers-1.0.9b
65 [ebuild N ] sys-kernel/gentoo-sources-2.6.12-r9
66 [ebuild N ] sys-devel/make-3.80-r2
67 [ebuild N ] sys-apps/sed-4.1.4
68 [ebuild N ] sys-devel/gettext-0.14.4
69 [ebuild N ] sys-libs/glibc-2.3.5-r1
70 [ebuild N ] sys-kernel/linux-headers-2.6.11-r2
71 [ebuild N ] sys-devel/gcc-3.3.5.20050130-r1
72 [ebuild N ] sys-devel/binutils-2.15.92.0.2-r10
73 [ebuild N ] sys-devel/binutils-config-1.8-r5
74 [ebuild N ] app-shells/bash-3.0-r12
75 [ebuild N ] sys-libs/zlib-1.2.3
76 [ebuild N ] sys-apps/texinfo-4.8
77 [ebuild N ] sys-devel/gnuconfig-20050324
78 [ebuild N ] sys-devel/gcc-config-1.3.11-r4
79 [ebuild N ] sys-devel/bison-1.875d
80 [ebuild N ] sys-devel/m4-1.4.3
81 [ebuild N ] sys-libs/ncurses-5.4-r6
82 [ebuild N ] sys-libs/gpm-1.20.1-r4
83 [ebuild N ] sys-devel/patch-2.5.9
84
85 I assume that some of these will probably already be available in the
86 original GNAP core.
87 But some of them I need to add.
88
89 What would be the best way to figure out which ones are already in the
90 original GNAP core and which ones I need to add?
91 Also, is there a way to 'ebuild' alsa-utils and its dependencies in one
92 go?
93
94 Again, thanks for the help so far..!
95
96 Marcel Romijn
97
98
99 --
100 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] Network appliance with sound Thierry Carrez <koon@g.o>