git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@251 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Tim Yamin 20 years ago
parent 99036e39a2
commit 056515d7d8

@ -38,11 +38,16 @@ modules_scan() {
then then
echo -e "${BOLD} ::${NORMAL} Skipping ${x}..." echo -e "${BOLD} ::${NORMAL} Skipping ${x}..."
elif [ "${MLOAD}" = "${MLIST}" ] # == No change == No specified no-load elif [ "${MLOAD}" = "${MLIST}" ] # == No change == No specified no-load
then
[ -n "${DEBUG}" ] && echo -ne "${BOLD} ::${NORMAL} Checking for ${x}..."
# find -name does not work since the return status is always zero
if find /lib/modules | grep "${x}${KSUFF}" 2>/dev/null
then then
echo -ne "${BOLD} ::${NORMAL} Scanning for ${x}..." echo -ne "${BOLD} ::${NORMAL} Scanning for ${x}..."
modprobe ${x} -n modprobe ${x} -n
backup backup
echo -ne "${NORMAL}" echo -ne "${NORMAL}"
fi
else else
echo -e "${BOLD} ::${NORMAL} Skipping ${x}..." echo -e "${BOLD} ::${NORMAL} Skipping ${x}..."
fi fi

@ -65,7 +65,7 @@ is_module_already_loaded()
real_mod_path() real_mod_path()
{ {
# find doesn't work like we expect, let's add a grep to it # Find -name is no good since the return status is always zero
find /lib/modules | grep "${1}${KSUFF}" find /lib/modules | grep "${1}${KSUFF}"
} }

@ -2,7 +2,7 @@
# Genkernel v3 # Genkernel v3
PATH="/bin:/usr/bin:/sbin:/usr/sbin" PATH="/bin:/usr/bin:/sbin:/usr/sbin"
GK_V='3.2.1' GK_V='3.2.2'
TEMP='/var/tmp/genkernel' TEMP='/var/tmp/genkernel'
TODEBUGCACHE=1 # Until an error occurs or DEBUGFILE is fully qualified. TODEBUGCACHE=1 # Until an error occurs or DEBUGFILE is fully qualified.

@ -105,7 +105,7 @@ LVM2_DIR="LVM2.${LVM2_VER}"
LVM2_SRCTAR="${GK_SHARE}/pkg/LVM2.${LVM2_VER}.tgz" LVM2_SRCTAR="${GK_SHARE}/pkg/LVM2.${LVM2_VER}.tgz"
LVM2_BINCACHE="%%CACHE%%/LVM2.${LVM2_VER}-%%ARCH%%.tar.bz2" LVM2_BINCACHE="%%CACHE%%/LVM2.${LVM2_VER}-%%ARCH%%.tar.bz2"
DMRAID_VER="1.0.0.rc6" DMRAID_VER="1.0.0.rc8"
DMRAID_DIR="dmraid/${DMRAID_VER}" DMRAID_DIR="dmraid/${DMRAID_VER}"
DMRAID_SRCTAR="${GK_SHARE}/pkg/dmraid-${DMRAID_VER}.tar.bz2" DMRAID_SRCTAR="${GK_SHARE}/pkg/dmraid-${DMRAID_VER}.tar.bz2"
DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2" DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2"
@ -120,4 +120,3 @@ E2FSPROGS_VER="1.38"
E2FSPROGS_DIR="e2fsprogs-${E2FSPROGS_VER}" E2FSPROGS_DIR="e2fsprogs-${E2FSPROGS_VER}"
E2FSPROGS_SRCTAR="${GK_SHARE}/pkg/e2fsprogs-${E2FSPROGS_VER}.tar.gz" E2FSPROGS_SRCTAR="${GK_SHARE}/pkg/e2fsprogs-${E2FSPROGS_VER}.tar.gz"
BLKID_BINCACHE="%%CACHE%%/blkid-${E2FSPROGS_VER}-%%ARCH%%.bz2" BLKID_BINCACHE="%%CACHE%%/blkid-${E2FSPROGS_VER}-%%ARCH%%.bz2"

Loading…
Cancel
Save