Blame 0009-mkinitrd-dracut.sh-s-read_args-read_arg-g.patch
|
Harald Hoyer |
3957aa |
From e74167bd6ae30cc2ea0ed2c4c4ac8011d5feadfa Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
3957aa |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
3957aa |
Date: Thu, 5 Jan 2012 10:51:00 +0100
|
|
Harald Hoyer |
3957aa |
Subject: [PATCH] mkinitrd-dracut.sh: s/read_args/read_arg/g
|
|
Harald Hoyer |
3957aa |
|
|
Harald Hoyer |
3957aa |
https://bugzilla.redhat.com/show_bug.cgi?id=771106
|
|
Harald Hoyer |
3957aa |
---
|
|
Harald Hoyer |
3957aa |
mkinitrd-dracut.sh | 4 ++--
|
|
Harald Hoyer |
3957aa |
1 files changed, 2 insertions(+), 2 deletions(-)
|
|
Harald Hoyer |
3957aa |
|
|
Harald Hoyer |
3957aa |
diff --git a/mkinitrd-dracut.sh b/mkinitrd-dracut.sh
|
|
Harald Hoyer |
3957aa |
index b635a53..02f1a7f 100644
|
|
Harald Hoyer |
3957aa |
--- a/mkinitrd-dracut.sh
|
|
Harald Hoyer |
3957aa |
+++ b/mkinitrd-dracut.sh
|
|
Harald Hoyer |
3957aa |
@@ -49,10 +49,10 @@ while (($# > 0)); do
|
|
Harald Hoyer |
3957aa |
exit 0;;
|
|
Harald Hoyer |
3957aa |
-v|--verbose) dracut_args="${dracut_args} -v";;
|
|
Harald Hoyer |
3957aa |
-f|--force) dracut_args="${dracut_args} -f";;
|
|
Harald Hoyer |
3957aa |
- --preload) read_args modname "$@" || shift
|
|
Harald Hoyer |
3957aa |
+ --preload) read_arg modname "$@" || shift
|
|
Harald Hoyer |
3957aa |
basicmodules="$basicmodules $modname";;
|
|
Harald Hoyer |
3957aa |
--image-version) img_vers=yes;;
|
|
Harald Hoyer |
3957aa |
- --rootfs) read_args rootfs "$@" || shift
|
|
Harald Hoyer |
3957aa |
+ --rootfs) read_arg rootfs "$@" || shift
|
|
Harald Hoyer |
3957aa |
dracut_args="${dracut_args} --filesystems $rootfs";;
|
|
Harald Hoyer |
3957aa |
--nocompress) dracut_args="$dracut_args --no-compress";;
|
|
Harald Hoyer |
3957aa |
--help) usage -n;;
|