[make-initrd] [PATCH v1 32/41] fork pipeline: bootchain-loop: pipe to chainsteps renamed

Leonid Krivoshein klark.devel at gmail.com
Fri Sep 24 18:58:51 MSK 2021


---
  .../features/bootchain-core/data/sbin/bootchain-loop   | 10 +++++-----
  1 file changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/make-initrd/features/bootchain-core/data/sbin/bootchain-loop 
b/make-initrd/features/bootchain-core/data/sbin/bootchain-loop
index 3775f84..0b9fdd3 100755
--- a/make-initrd/features/bootchain-core/data/sbin/bootchain-loop
+++ b/make-initrd/features/bootchain-core/data/sbin/bootchain-loop
@@ -3,12 +3,12 @@
  . bootchain-sh-functions
   stepnum=0
-pipe="$PIPELINE"
+chainsteps="${chainsteps-}"
  datadir=
  destdir=
  -while [ -n "$pipe" ]; do
-	name="${pipe%%,*}"
+while [ -n "$chainsteps" ]; do
+	name="${chainsteps%%,*}"
  	exe="$handlerdir/$name"
   	if [ -x "$exe" ]; then
@@ -47,8 +47,8 @@ while [ -n "$pipe" ]; do
  		eval "callnum_$name=\"\$callnum\""
  	fi
  -	pipe="${pipe#$name}"
-	pipe="${pipe#,}"
+	chainsteps="${chainsteps#$name}"
+	chainsteps="${chainsteps#,}"
   	stepnum=$(($stepnum + 1))
  done
-- 
2.21.0




More information about the Make-initrd mailing list