Ramon van Alteren wrote:
Hi List,
I'm using catalyst to build stage4 system images for our cluster.
So far this has worked great for us.
I do have two questions.
Right now the only kernel references in our specfile is:
boot/kernel/gentoo/sources: =sys-kernel/gentoo-sources-<version>
At the end of the boot process I'm left with two problems:
* /usr/src/linux points to /tmp/kerncache/gentoo/usr/src/linux
This directory (/tmp/kerncache/) only serves as a mount point for the bind-mount
of /var/tmp/catalyst/kerncache/<build type>/<target>-<arch>-<label>/
This dir doesn't exist anymore because we clean /tmp both at the
end of the stage4 building and on reboots.
* The gentoo-sources-<version> dir is missing from /usr/src.
That's because that's emerged into the kerncache directory and built there.
For some reason I do have the latest gentoo-sources du jour there,
depending on latest stable.
But not the kernel-source we specified in boot/kernel/gentoo/sources
in the specfile.
Are there any known workarounds or features to the get the desired
behaviour (kernel-<version> source in /usr/src and correct
/usr/src/linux symlink)?
You may have to use an overlay (or is it root_overlay?) to get the desired
result. However, someone may have a better suggestion. I've never used the
stage4 target myself.
--
Andrew Gaffney http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer Installer Project
--
[EMAIL PROTECTED] mailing list