summaryrefslogtreecommitdiff
path: root/mkinitramfs
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2010-04-05 07:10:34 +0200
committermaximilian attems <maks@debian.org>2010-04-05 07:10:34 +0200
commit98ff14e976919ade0ab211a7cd882c7e4c48b2b2 (patch)
tree8fba0ba77dfda9ad92c8d1e5ab3974826073c9ba /mkinitramfs
parentdff78f55c495d72adbbcaca6bff023224cc09b37 (diff)
downloadinitramfs-tools-98ff14e976919ade0ab211a7cd882c7e4c48b2b2.tar.gz
initramfs-tools-98ff14e976919ade0ab211a7cd882c7e4c48b2b2.zip
mkinitramfs: be silent if no map was generated in first place
no need to spam people with: rm: cannot remove `/tmp/mkinitramfs_jWCE0R/lib/modules/2.6.33-2-amd64/modules.*map': No such file or directory Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'mkinitramfs')
-rwxr-xr-xmkinitramfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkinitramfs b/mkinitramfs
index a9e98b2..2f9ac59 100755
--- a/mkinitramfs
+++ b/mkinitramfs
@@ -277,7 +277,7 @@ done
# generate module deps
depmod -a -b "${DESTDIR}" ${version}
-rm "${DESTDIR}/lib/modules/${version}"/modules.*map
+rm -f "${DESTDIR}/lib/modules/${version}"/modules.*map
# Apply DSDT to initramfs
if [ -e "${CONFDIR}/DSDT.aml" ]; then