From a278dabe5541bdd6e05ff12710ef5e47973e3b9e Mon Sep 17 00:00:00 2001 From: Simo Leone Date: Sun, 30 Mar 2008 00:36:17 -0500 Subject: Removed kernel26 reference Better not to hardcode in case someone wants to use another kernel. Signed-off-by: Simo Leone --- mkarchiso | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mkarchiso') diff --git a/mkarchiso b/mkarchiso index b8427e6..12f109d 100755 --- a/mkarchiso +++ b/mkarchiso @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash CPIOCONFIG="$(pwd)/archiso-mkinitcpio.conf" DEF_CONFIG_DIR="$(pwd)/default-config" @@ -132,7 +132,7 @@ if [ "${command_name}" = "install" -o "${command_name}" = "all" ]; then echo "Updating kernel module dependencies" kernelver=$(_kversion) - depmod -a -b "${instroot}" -v "${kernelver}" -F "${instroot}/boot/System.map26" >/dev/null + depmod -a -b "${instroot}" "${kernelver}" # remove the initcpio images that were generated for the host system find "${instroot}/boot" -name *.img -delete -- cgit v1.2.3-70-g09d2