fix a wrong usage of vinfo in init.sh
PATCH 1/1 fix a wrong usage of vinfo in init.sh
vinfo() reads input from stdin, not from arguments.
This is a regression introduced by:
commit 982d59afea5eac202c8a47f09d06d240af753a24 Author: Harald Hoyer <[email protected]> Date: Tue May 22 14:52:36 2012 +0200 drop 10rpmversion module and introduce /etc/initrd-release
---
modules.d/99base/init.sh +1 -1
@@ -90,7 +90,7 @@ else fi [ -f /etc/initrd-release ] && . /etc/initrd-release -[ -n "$VERSION" ] && vinfo "dracut-$VERSION" +[ -n "$VERSION" ] && echo "dracut-$VERSION" | vinfo source_conf /etc/conf.d
A message that is not in the archive (sent off-list or not yet received): 1338278814-8603-1-git-send-email-amwang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Am 29.05.2012 10:06, schrieb Cong Wang:
Quoted 20 lines
vinfo()reads input from stdin, not from arguments.This is a regression introduced by:
commit 982d59afea5eac202c8a47f09d06d240af753a24 Author: Harald Hoyer <[email protected]> Date: Tue May 22 14:52:36 2012 +0200 drop 10rpmversion module and introduce /etc/initrd-releaseSigned-off-by Cong Wang <[email protected]>Cc Harald Hoyer <[email protected]>---
modules.d/99base/init.sh +0
-0
modules.d/99base/init.sh else · line 96
Quoted 8 lines
modules.d/99base/init.sh +1
-1@@ -90,7 +90,7 @@ else fi [ -f /etc/initrd-release ] && . /etc/initrd-release -[ -n "$VERSION" ] && vinfo "dracut-$VERSION" +[ -n "$VERSION" ] && echo "dracut-$VERSION" | vinfo source_conf /etc/conf.d
Thanks! even simpler:
-[ -n "$VERSION" ] && vinfo "dracut-$VERSION"
+[ -n "$VERSION" ] && info "dracut-$VERSION"
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · Harald Hoyer
Am 29.05.2012 10:06, schrieb Cong Wang:
Quoted 4 lines
[ -f
/etc/initrd-release] && ./etc/initrd-release-[ -n "$VERSION" ] && vinfo "dracut-$VERSION" +[ -n "$VERSION" ] && echo "dracut-$VERSION" | vinfo
Quoted 7 lines
Quoted 2 lines
source_conf
/etc/conf.dThanks! even simpler:
-[ -n "$VERSION" ] && vinfo "dracut-$VERSION"
+[ -n "$VERSION" ] && info "dracut-$VERSION"
Yeah.. please go ahead to commit it. This blocks my testing.
Thanks!