[make-initrd] [PATCH v1 11/41] fork pipeline: mountfs step modified

Leonid Krivoshein klark.devel at gmail.com
Fri Sep 24 18:56:33 MSK 2021


---
  .../features/bootchain-core/data/lib/bootchain/mountfs        | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/make-initrd/features/bootchain-core/data/lib/bootchain/mountfs 
b/make-initrd/features/bootchain-core/data/lib/bootchain/mountfs
index d15ae91..a9f515e 100755
--- a/make-initrd/features/bootchain-core/data/lib/bootchain/mountfs
+++ b/make-initrd/features/bootchain-core/data/lib/bootchain/mountfs
@@ -1,6 +1,6 @@
  #!/bin/bash -efu
  -. pipeline-sh-functions
+. bootchain-sh-functions
   check_parameter MOUNTFS
  param="$(get_parameter MOUNTFS)"
@@ -13,4 +13,4 @@ opts=
  [ -c "$target" ] || [ -b "$target" ] ||
  	opts='ro,loop'
  -run mount ${opts:+-o $opts} "$target" "$destdir"
+run mount ${opts:+-o $opts} -- "$target" "$destdir"
-- 
2.21.0




More information about the Make-initrd mailing list