aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-12-18 14:09:04 +0200
committerTimo Teräs <timo.teras@iki.fi>2015-12-18 14:09:04 +0200
commitcfeca114429294b29da02d54181d8229a8d85a5c (patch)
tree4b611cae5df5ecfe2d4c5ba71cb06113f3cca741
parentd9a8fe9f014b9081222cf1981b6ad3fa0603bef4 (diff)
downloadmkinitfs-cfeca114429294b29da02d54181d8229a8d85a5c.tar.bz2
mkinitfs-cfeca114429294b29da02d54181d8229a8d85a5c.tar.xz
mkinitfs: add --quiet to cpio callsnlplug-findfs
-rwxr-xr-xmkinitfs.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/mkinitfs.in b/mkinitfs.in
index dbbc916..9bb8a94 100755
--- a/mkinitfs.in
+++ b/mkinitfs.in
@@ -46,7 +46,7 @@ initfs_base() {
$(feature_files "$basedir" files) \
\
| sed -e "s|^$basedir||" | sort -u \
- | cpio -pdm "$tmpdir" || return 1
+ | cpio --quiet -pdm "$tmpdir" || return 1
# copy init
cd "$startdir"
@@ -112,7 +112,7 @@ initfs_kmods() {
cd "${basedir}"
for file in $(find_kmods); do
echo "${file#/}"
- done | sort -u | cpio -pdm "$tmpdir" || return 1
+ done | sort -u | cpio --quiet -pdm "$tmpdir" || return 1
for file in modules.order modules.builtin; do
if [ -f "$kerneldir"/$file ]; then
cp "$kerneldir"/$file "$tmpdir"/lib/modules/$kernel/
@@ -143,7 +143,7 @@ initfs_cpio() {
fi
rm -f $outfile
umask 0022
- (cd "$tmpdir" && find . | cpio -o -H newc | gzip) > $outfile
+ (cd "$tmpdir" && find . | cpio --quiet -o -H newc | gzip) > $outfile
}
usage() {