]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fixed bash/sh requirements
authorHarald Hoyer <harald@redhat.com>
Fri, 6 Jul 2012 12:06:05 +0000 (14:06 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 6 Jul 2012 12:06:41 +0000 (14:06 +0200)
modules.d/90btrfs/btrfs_finished.sh
modules.d/90btrfs/btrfs_timeout.sh
modules.d/90livenet/fetch-liveupdate.sh
modules.d/90livenet/livenetroot.sh
modules.d/90livenet/module-setup.sh
modules.d/99img-lib/module-setup.sh

index 7e87dec721a6473173b2cfd6fdacd9f2f931200e..5e7691a3959b09423cd3d906cd4c8fe018c9f906 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
 # ex: ts=8 sw=4 sts=4 et filetype=sh
 
index 84f7997bba74e3ff7ff792186c97dc7146df84bb..cd6444347e0c9a10394cac746699ec85e62b695f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
 # ex: ts=8 sw=4 sts=4 et filetype=sh
 
index 88aa2b110cfabd6bfc780ce5e1ea055416321292..024feaac6d9a6db6491f4f9723882cd8f8e54596 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # fetch-liveupdate - fetch an update image for dmsquash-live media.
 # this gets called by the "initqueue/online" hook for each network interface
 # that comes online.
index 617be62dbc07a313b66fd45f0463bd150e9de2b1..1bbee55b0fe14c67926cd5e7c64e07d6a70f1fed 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 # livenetroot - fetch a live image from the network and run it
 
 type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh
index 265f29e142817bec13c33e9c5230859b188102fc..424965562ac30d1ab3d98d73b98a421bf5e0e6e7 100755 (executable)
@@ -6,7 +6,7 @@ check() {
 }
 
 depends() {
-    echo network url-lib dmsquash-live
+    echo network url-lib dmsquash-live img-lib
     return 0
 }
 
index 9ff5d7c1559aaa64a7cfdc92025805c3127a3c46..ebd0436a90c435a1691d20ff01374687eab65841 100755 (executable)
@@ -13,8 +13,7 @@ depends() {
 }
 
 install() {
-    # NOTE/TODO: we require bash, but I don't know how to specify that..
-    dracut_install tar gzip dd
+    dracut_install tar gzip dd bash
     # TODO: make this conditional on a cmdline flag / config option
     dracut_install -o cpio xz bzip2
     inst_simple "$moddir/img-lib.sh" "/lib/img-lib.sh"