diff options
| author | maximilian attems <maks@debian.org> | 2010-04-07 07:49:35 +0200 |
|---|---|---|
| committer | maximilian attems <maks@debian.org> | 2010-04-07 07:50:24 +0200 |
| commit | 5ab529df7757d33178083055a7ff00fca431efea (patch) | |
| tree | ee43071cf8feb87d51a49f844dc441fc65c381f7 | |
| parent | f9db3f7bcbad79bdb1817aa53eb27a46b5951381 (diff) | |
| download | initramfs-tools-5ab529df7757d33178083055a7ff00fca431efea.tar.gz initramfs-tools-5ab529df7757d33178083055a7ff00fca431efea.zip | |
mkinitramfs: On verbose indication what we rm
not a fix for #576677, but at least some indication.
Signed-off-by: maximilian attems <maks@debian.org>
| -rwxr-xr-x | mkinitramfs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mkinitramfs b/mkinitramfs index 045e73d..ad03580 100755 --- a/mkinitramfs +++ b/mkinitramfs @@ -289,8 +289,9 @@ if [ -e "${CONFDIR}/DSDT.aml" ]; then fi # Remove any looping or broken symbolic links, since they break cpio. +[ "${verbose}" = y ] && xargs_verbose="-t" find "${DESTDIR}" -type l -printf '%p %Y\n' | sed -n 's/ [LN]$//p' \ - | xargs -rL1 rm -f + | xargs ${xargs_verbose:-} -rL1 rm -f [ "${verbose}" = y ] && echo "Building cpio ${outfile} initramfs" ( |
