98usrmount: depend on fs-lib
PATCH 1/4 98usrmount: depend on fs-lib
--- modules.d/98usrmount/module-setup.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
modules.d/98usrmount/module-setup.sh +1 -1
@@ -8,7 +8,7 @@ check() { } depends() { - return 0 + echo 'fs-lib' } install() {
Signature · 1 line
1.7.8.6
PATCH 2/4 man pages: hostonly mode generates host-specific configuration
In reply to a message not in the archiveThis fact hasn't been mentioned.
--- dracut.8.asc | 4 ++-- dracut.conf.5.asc | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-)
dracut.8.asc +2 -2
@@ -232,8 +232,8 @@ Default: This is useful when running dracut from a git checkout. **-H, --hostonly**:: - Host-Only mode: Install only what is needed for booting - the local host instead of a generic host. + Host-Only mode: Install only what is needed for booting the local host + instead of a generic host and generate host-specific configuration. + [WARNING] ====
dracut.conf.5.asc +2 -1
@@ -65,7 +65,8 @@ line are not interpreted. Strip binaries in the initramfs (default=yes) *hostonly=*"__{yes|no}__":: - Host-Only mode: Install only what is needed for booting the local host instead of a generic host. + Host-Only mode: Install only what is needed for booting the local host + instead of a generic host and generate host-specific configuration. *tmpdir=*"__<temporary directory>__":: Specify temporary directory to use.
Signature · 1 line
1.7.8.6
PATCH 3/4 dracut-lib.sh: Use "$*" instead of "$@" in warn, info, and so on...
In reply to a message not in the archive"$@" might cause some uneccessary word breaking.
--- modules.d/99base/dracut-lib.sh | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-)
modules.d/99base/dracut-lib.sh +9 -9
@@ -297,12 +297,12 @@ source_conf() { die() { { - echo "<24>dracut: FATAL: $@"; + echo "<24>dracut: FATAL: $*"; echo "<24>dracut: Refusing to continue"; } > /dev/kmsg { - echo "warn dracut: FATAL: \"$@\""; + echo "warn dracut: FATAL: \"$*\""; echo "warn dracut: Refusing to continue"; } >> $hookdir/emergency/01-die.sh
@@ -327,25 +327,25 @@ if [ ! -x /lib/systemd/systemd ]; then warn() { check_quiet - echo "<28>dracut Warning: $@" > /dev/kmsg - echo "dracut Warning: $@" >&2 + echo "<28>dracut Warning: $*" > /dev/kmsg + echo "dracut Warning: $*" >&2 } info() { check_quiet - echo "<30>dracut: $@" > /dev/kmsg + echo "<30>dracut: $*" > /dev/kmsg [ "$DRACUT_QUIET" != "yes" ] && \ - echo "dracut: $@" + echo "dracut: $*" } else warn() { - echo "Warning: $@" >&2 + echo "Warning: $*" >&2 } info() { - echo "$@" + echo "$*" } fi
@@ -827,7 +827,7 @@ emergency_shell() fi echo ; echo - warn $@ + warn "$*" source_hook "$hook" echo
Signature · 1 line
1.7.8.6
PATCH 4/4 90dmsquash-live: don't source fs-lib.sh as it is not used
In reply to a message not in the archive--- modules.d/90dmsquash-live/dmsquash-live-root.sh | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
modules.d/90dmsquash-live/dmsquash-live-root.sh +0 -1
@@ -3,7 +3,6 @@ # ex: ts=8 sw=4 sts=4 et filetype=sh type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh -type det_fs >/dev/null 2>&1 || . /lib/fs-lib.sh PATH=/usr/sbin:/usr/bin:/sbin:/bin
Signature · 1 line
1.7.8.6