diff options
| author | maximilian attems <maks@debian.org> | 2006-03-21 12:25:50 +0100 |
|---|---|---|
| committer | maximilian attems <maks@debian.org> | 2006-03-21 12:25:50 +0100 |
| commit | 0318bb9b8e61f0a4c9d89ec678a75f6f7ea8c5d5 (patch) | |
| tree | 0a8fcc1dbc422602295fc3bba754bba4bf307d86 /update-initramfs | |
| parent | 41f695c8066c3d4955049d547b16aaf06273c20f (diff) | |
| download | initramfs-tools-0318bb9b8e61f0a4c9d89ec678a75f6f7ea8c5d5.tar.gz initramfs-tools-0318bb9b8e61f0a4c9d89ec678a75f6f7ea8c5d5.zip | |
add verbose mode for mkinitramfs, use it when calling it
display which modules gets added,
we might want to have even more verbose info,
but that is a nice start.
add cpqarray module
document `-' filename restriction
don't exit succesfully if root fs full
Diffstat (limited to 'update-initramfs')
| -rw-r--r-- | update-initramfs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/update-initramfs b/update-initramfs index 08a2f3a..9b69981 100644 --- a/update-initramfs +++ b/update-initramfs @@ -63,7 +63,11 @@ set_initramfs() generate_initramfs() { verbose "Generating ${initramfs}" - mkinitramfs -o "${initramfs}" "${version}" + OPTS="-o" + if [ "${verbose}" = 1 ]; then + OPTS="-v $OPTS" + fi + mkinitramfs $OPTS "${initramfs}" "${version}" set_sha1 } |
