Gentoo Archives: gentoo-catalyst

From: Zachary Bedell <zac@××××××××××.org>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] Missing /usr/src in installcd-stage3-minimal
Date: Thu, 07 Jul 2011 03:02:18
Message-Id: 7389B49F-F4F4-43C2-95B5-AA6B4CD518C0@thebedells.org
In Reply to: Re: [gentoo-catalyst] Missing /usr/src in installcd-stage3-minimal by Sebastian Pipping
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Jul 6, 2011, at 2:14 PM, Sebastian Pipping wrote:
5 > On 07/06/2011 07:28 PM, Zachary Bedell wrote:
6 >> Running installcd-stage2-minimal dies when trying to run Genkernel
7 >> with "ln: failed to create symbolic link `/usr/src/linux': No such
8 >> file or directory". I hacked the kmerge.sh script to drop to a shell
9 >> right after that happened and found that there was no /usr/src
10 >> directory in the chroot. Doing a `mkdir -p /usr/src` right before
11 >> the ln call, and everything seems to work out after that.
12 >
13 > Also, please be aware that I have brought up the question of deleting
14 > the 3.x altogether. That means: In case you start using -9999 we really
15 > need to know, so we don't pull the chair that you just sat down on.
16
17 Based on that, I think I'll stay away from the -9999's then. I was able to get 2.0.6.916 working with either of two work arounds, so heading off to git land for this is a bit more fun than I'm allowed to have...
18
19 > On the /usr/src issue I would like to ask you to file a bug for it.
20 > Copy-pasting from your original mail should be fine. Thanks for
21 > bringing it up.
22
23 Opened:
24
25 https://bugs.gentoo.org/show_bug.cgi?id=374297
26
27 Just for laughs (I've been told I have an odd sense of humor...), I went back and ran installcd-stage1 with gentoo-sources included (cleaned everything up from installcd-stage[12] first of course), and removed the mkdir I added in kmerge.sh. Worked fine as long as source was in installcd-stage1, so I've amended my bug report to reflect that. Also included the one-liner patch to make it work without source in installcd-stage1.
28
29
30 One more minor thing I ran into:
31
32 /usr/lib64/catalyst/targets/support/create-iso.sh: line 233: mkdosfs: command not found
33 mount: wrong fs type, bad option, bad superblock on /dev/loop0,
34 missing codepage or helper program, or other error
35 In some cases useful info is found in syslog - try
36 dmesg | tail or so
37
38 `emerge sys-fs/dosfstools` of course fixed that right up. Is that something I should open against Catalyst itself in "Gentoo Hosted Projects," or does that go to "Gentoo Linux" for the ebuild?
39
40
41 I've got a nice little ISO file built now. Time to throw a VM at it and see how much of a mess I've made of things...
42
43
44 Thanks also for the pointer about udev. Anything that saves me a wild goose chase is always appreciated.
45
46 Best regards,
47 Zac Bedell
48
49 -----BEGIN PGP SIGNATURE-----
50 Version: GnuPG v1.4.8 (Darwin)
51
52 iEYEARECAAYFAk4VF0oACgkQq+EtLVpY/F7SrgCfcl/KF1Pe1jm0QB7vuQVdN5r0
53 p8YAn0/bSbLJ7LlVk5i2QKgIHleMJPVQ
54 =Pcd/
55 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-catalyst] Missing /usr/src in installcd-stage3-minimal Sebastian Pipping <sping@g.o>