Summary: | Please add an option to specify modules_load location in /etc/genkernel.conf | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Alon Bar-Lev (RETIRED) <alonbl> |
Component: | genkernel | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alon Bar-Lev (RETIRED)
2005-06-17 03:31:45 UTC
Please grab 3.2.0_pre9 and then try the following patch, setting AMODULES_SATA="..." in genkernel.conf, for example. --- genkernel 21 Jun 2005 17:09:40 -0000 1.63 +++ genkernel 21 Jun 2005 18:14:40 -0000 @@ -65,6 +65,14 @@ source ${ARCH_CONFIG} || gen_die "Could not read ${ARCH_CONFIG}" source ${GK_SHARE}/${ARCH}/modules_load || gen_die "Could not read ${GK_SHARE}/${ARCH}/modules_load" +# Merge modules_load from config +for group_modules in ${!AMODULES_*}; do + group="$(echo $group_modules | cut -d_ -f2)" + eval cmodules="\$$group_modules" + eval MODULES_${group}=\"\${MODULES_${group}} ${cmodules}\" + print_info 1 "<config> Merged AMODULES_${group}:'${cmodules}' into MODULES_${group}" +done + [ ! -f "${TEMP}" ] && mkdir -p "${TEMP}" [ ! -f "${CACHE_DIR}" ] && mkdir -p "${CACHE_DIR}" Thanks! It is better... But what happens if I don't wish to use the default modules? I need to unset all MODULES_XXX in modules_load (By AMODULES_XXX= in /etc/genkernel.conf) If you add one as default... I need to be alerted and remove it too... Please consider how all genkernel configuration can be rerouted into a different location so that a complete environment can be set. Thanks! Since version 3.2.0 uses initramfs and the memory is released if files are removed, there is no problem in adding some other modules. I am closing this request. |