Summary: | patch to improve make.conf marking, and add an option to install a precompiled kernel | ||
---|---|---|---|
Product: | Gentoo Release Media | Reporter: | Marko Djukic <djukic> |
Component: | Installer | Assignee: | Gentoo Linux Installer <gli-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
patch to improve the marking of what was added by the GLI in the make.conf
expand the previous patch to include also addition for installing a precompiled kernel Updated patch to use emerge -K more additions |
Description
Marko Djukic
2005-04-19 10:24:17 UTC
Created attachment 56686 [details, diff]
patch to improve the marking of what was added by the GLI in the make.conf
This integrates the previous patch with the additional code to allow a precompiled kernel to be installed. The installer profile needs a section similar to: <kernel-compiled> http://example.com/kernel/compiled/kernel-2.6.11-gentoo-r5.tgz </kernel-compiled> The tarball should contain whatever is required for the precompiled kernel to be installed in the target machine, eg. boot/kernel, boot/initrd and any lib/modules/2.6.11-gentoo-r5/* This step is then invoked with "install_kernel". Created attachment 56855 [details, diff]
expand the previous patch to include also addition for installing a precompiled kernel
The custom pre-compiled kernel tarball should be a quickpkg'd binary. You can use my 'mkvardb' script in installer/src/misc and then 'quickpkg' it. That way, the new install can track the files and have the virtual/alsa dependency PROVIDE'd. It can be handled the same way the livecd-kernel stuff is now. The tarball can be downloaded and copied to /mnt/gentoo/usr/portage/packages/All and then 'emerge -K'd into place. Created attachment 57287 [details, diff]
Updated patch to use emerge -K
This patch now implements the pkg install of a precompiled kernel. It also
introduces a different way to specify the kernels to be installed using the
following xml:
<kernels>
<kernel type="precompiled">
mykernel-2.6
</kernel>
<kernel type="emerge">
=gentoo-sources-2.6.7-r19
</kernel>
</kernels>
This would install both a precompiled kernel package and a kernel from an
emerge of the gentoo sources.
Created attachment 57383 [details, diff]
more additions
Expands more on the previous patches
- Ability to specify files to go into /etc/portage/*, eg.:
<etc-portage>
<file name="package.use">
sys-libs/glibc userlocales
dev-php/mod_php -ldap gd imap mysql -pdflib apache2 -qt -spell
-truetype -java
dev-php/php -ldap gd imap mysql -pdflib -qt -truetype -java
</file>
<file name="package.keywords">
=net-mail/perdition-1.15 ~x86
</file>
- Allow xml parsing to yank in the whole contents of the node data (ie. remove
the string.strip() which was concat-ing all the lines into one single line)
- Comments - can they be more readable with some aligning?#
- Allow _edit_config to create a file if it doesn't exist (set to True by
default)
most of the patch is now in CVS. parts not included are the install_kernel step and precompiled kernels. sorry but I don't think now is the time for that type of functionality. Moving to Release Media/Installer. |