diff options
author | maximilian attems <maks@debian.org> | 2010-04-05 07:10:34 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2010-04-05 07:10:34 +0200 |
commit | 98ff14e976919ade0ab211a7cd882c7e4c48b2b2 (patch) | |
tree | 8fba0ba77dfda9ad92c8d1e5ab3974826073c9ba /mkinitramfs | |
parent | dff78f55c495d72adbbcaca6bff023224cc09b37 (diff) | |
download | initramfs-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-x | mkinitramfs | 2 |
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 |