fixed bash/sh requirements
parent
e09048aaf5
commit
e1619ee151
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
||||||
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
||||||
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# fetch-liveupdate - fetch an update image for dmsquash-live media.
|
# fetch-liveupdate - fetch an update image for dmsquash-live media.
|
||||||
# this gets called by the "initqueue/online" hook for each network interface
|
# this gets called by the "initqueue/online" hook for each network interface
|
||||||
# that comes online.
|
# that comes online.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
# livenetroot - fetch a live image from the network and run it
|
# livenetroot - fetch a live image from the network and run it
|
||||||
|
|
||||||
type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh
|
type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ check() {
|
||||||
}
|
}
|
||||||
|
|
||||||
depends() {
|
depends() {
|
||||||
echo network url-lib dmsquash-live
|
echo network url-lib dmsquash-live img-lib
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,7 @@ depends() {
|
||||||
}
|
}
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
# NOTE/TODO: we require bash, but I don't know how to specify that..
|
dracut_install tar gzip dd bash
|
||||||
dracut_install tar gzip dd
|
|
||||||
# TODO: make this conditional on a cmdline flag / config option
|
# TODO: make this conditional on a cmdline flag / config option
|
||||||
dracut_install -o cpio xz bzip2
|
dracut_install -o cpio xz bzip2
|
||||||
inst_simple "$moddir/img-lib.sh" "/lib/img-lib.sh"
|
inst_simple "$moddir/img-lib.sh" "/lib/img-lib.sh"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue