summaryrefslogtreecommitdiff
path: root/mkarchiso
diff options
context:
space:
mode:
authorSimo Leone <simo@archlinux.org>2008-03-30 00:36:17 -0500
committerSimo Leone <simo@archlinux.org>2008-03-30 01:27:54 -0500
commita278dabe5541bdd6e05ff12710ef5e47973e3b9e (patch)
tree101d5cc05858b38b7223eb23c1eb0f2bd72dd5a8 /mkarchiso
parent36ed0cce2fd42b0166b15cad5c48066e4e5f427f (diff)
downloadarchiso32-a278dabe5541bdd6e05ff12710ef5e47973e3b9e.tar.xz
Removed kernel26 reference
Better not to hardcode in case someone wants to use another kernel. Signed-off-by: Simo Leone <simo@archlinux.org>
Diffstat (limited to 'mkarchiso')
-rwxr-xr-xmkarchiso4
1 files changed, 2 insertions, 2 deletions
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