From 3602a8e80cc1866f2d4215a95d5627163654b2dc Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 31 Dec 2011 16:45:09 -0500 Subject: mkinitcpio: remove hardcoded paths Signed-off-by: Dave Reisner --- mkinitcpio | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mkinitcpio') diff --git a/mkinitcpio b/mkinitcpio index b6581ed..bcf56e9 100755 --- a/mkinitcpio +++ b/mkinitcpio @@ -353,7 +353,7 @@ if (( ${#ADDED_MODULES[*]} )); then popd >/dev/null msg "Generating module dependencies" - /sbin/depmod -b "$BUILDROOT" "${KERNELVERSION}" + depmod -b "$BUILDROOT" "${KERNELVERSION}" rm "$BUILDROOT/lib/modules/$KERNELVERSION"/modules.!(dep.bin|alias.bin|symbols.bin) else warning "No modules were added to the image. This is probably not what you want." -- cgit v1.2.3-24-g4f1b