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

Alexey Gladkov gladkov.alexey at gmail.com
Sun Sep 26 16:49:23 MSK 2021


On Fri, Sep 24, 2021 at 06:56:33PM +0300, Leonid Krivoshein wrote:
> ---
>  .../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"

Я не понял зачем этот патч ?

Сделай пожалуйста описание.

-- 
Rgrds, legion



More information about the Make-initrd mailing list