1
0
mirror of synced 2026-05-05 07:43:42 +00:00

2007-07-07 23:48:08 by steve

INITIAL COMMIT:  Support for arbitary partitioning systems.
  Patch from Sascha Kettler.
This commit is contained in:
steve
2007-07-07 23:49:02 +00:00
parent 75151abf35
commit eafc7427c2
23 changed files with 997 additions and 720 deletions

View File

@@ -41,7 +41,16 @@ linux_modules_package="linux-modules-$(uname -r)"
# Attempt to install that package. This will either work on an Etch
# system, or fail on a Sarge/custom kernel.
#
if chroot ${prefix} /usr/bin/apt-cache show ${linux_modules_package} >/dev/null 2>/dev/null; then
if [ -n "${modules}" -a -d "${modules}" ]; then
#
# Modules path was specified during install
#
logMessage "Copying modules from ${modules}"
mkdir -p ${prefix}/lib/modules
cp -au ${modules} ${prefix}/lib/modules
elif chroot ${prefix} /usr/bin/apt-cache show ${linux_modules_package} >/dev/null 2>/dev/null; then
logMessage "Package '${linux_modules_package}' is available - installing"