git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@220 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Tim Yamin 20 years ago
parent cdbe36231a
commit 95fd618ed7

@ -151,6 +151,10 @@ then
eval DO_`echo $modules | sed 's/-//'`=1
done
else
for modules in $MY_HWOPTS
do
eval DO_`echo $modules | sed 's/-//'`=1
done
good_msg 'Skipping module load; no modules in the initrd!'
fi

@ -1,7 +1,7 @@
#!/bin/bash
# Genkernel v3
GK_V='3.2.0_pre9'
GK_V='3.2.0_pre10'
TEMP='/var/tmp/genkernel'
TODEBUGCACHE=1 # Until an error occurs or DEBUGFILE is fully qualified.
@ -65,6 +65,14 @@ get_official_arch
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}"

Binary file not shown.
Loading…
Cancel
Save