* [make-initrd] [PATCH v1 11/41] fork pipeline: mountfs step modified
@ 2021-09-24 15:56 Leonid Krivoshein
2021-09-26 13:49 ` Alexey Gladkov
0 siblings, 1 reply; 4+ messages in thread
From: Leonid Krivoshein @ 2021-09-24 15:56 UTC (permalink / raw)
To: make-initrd
---
.../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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [make-initrd] [PATCH v1 11/41] fork pipeline: mountfs step modified
2021-09-24 15:56 [make-initrd] [PATCH v1 11/41] fork pipeline: mountfs step modified Leonid Krivoshein
@ 2021-09-26 13:49 ` Alexey Gladkov
2021-09-26 19:11 ` Leonid Krivoshein
0 siblings, 1 reply; 4+ messages in thread
From: Alexey Gladkov @ 2021-09-26 13:49 UTC (permalink / raw)
To: make-initrd
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [make-initrd] [PATCH v1 11/41] fork pipeline: mountfs step modified
2021-09-26 13:49 ` Alexey Gladkov
@ 2021-09-26 19:11 ` Leonid Krivoshein
2021-09-27 8:52 ` Alexey Gladkov
0 siblings, 1 reply; 4+ messages in thread
From: Leonid Krivoshein @ 2021-09-26 19:11 UTC (permalink / raw)
To: make-initrd
26.09.2021 16:49, Alexey Gladkov пишет:
> On Fri, Sep 24, 2021 at 06:56:33PM +0300, Leonid Krivoshein wrote:
>> [...]
>> -. pipeline-sh-functions
>> +. bootchain-sh-functions
О том, что pipeline при форке переименован в bootchain, это и так
понятно. Неужели будет недостаточно описать причину переименования в
одном месте и это нужно будет повторять в каждом патче?
>> [...]
>> -run mount ${opts:+-o $opts} "$target" "$destdir"
>> +run mount ${opts:+-o $opts} -- "$target" "$destdir"
> Я не понял зачем этот патч ?
Второе изменение и так понятно, зачем. А если непонятно, то мне не так
принципиально, чтобы ради описания "--" в этом месте придумывать целый
текст.
> Сделай пожалуйста описание.
А других изменений-то и нет. В итоге, действительно тут нужно описание
чуть подробнее того, что сделано? В этом месте оно как раз соответствует
содержимому.
--
Best regards,
Leonid Krivoshein.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [make-initrd] [PATCH v1 11/41] fork pipeline: mountfs step modified
2021-09-26 19:11 ` Leonid Krivoshein
@ 2021-09-27 8:52 ` Alexey Gladkov
0 siblings, 0 replies; 4+ messages in thread
From: Alexey Gladkov @ 2021-09-27 8:52 UTC (permalink / raw)
To: make-initrd
On Sun, Sep 26, 2021 at 10:11:29PM +0300, Leonid Krivoshein wrote:
>
> 26.09.2021 16:49, Alexey Gladkov пишет:
> > On Fri, Sep 24, 2021 at 06:56:33PM +0300, Leonid Krivoshein wrote:
> > > [...]
> > > -. pipeline-sh-functions
> > > +. bootchain-sh-functions
>
> О том, что pipeline при форке переименован в bootchain, это и так понятно.
> Неужели будет недостаточно описать причину переименования в одном месте и
> это нужно будет повторять в каждом патче?
Я в последующих письмах уже предлагал копирование и переименование сделать
одним коммитом. Тогда и описание будет одно на всех.
>
> > > [...]
> > > -run mount ${opts:+-o $opts} "$target" "$destdir"
> > > +run mount ${opts:+-o $opts} -- "$target" "$destdir"
> > Я не понял зачем этот патч ?
>
> Второе изменение и так понятно, зачем. А если непонятно, то мне не так
> принципиально, чтобы ради описания "--" в этом месте придумывать целый
> текст.
Это увеличивает diff. Если честно на этой строчке я подумал, что у тебя
где-то появились target="-xxx" и ты защищаешься тут.
>
> > Сделай пожалуйста описание.
>
> А других изменений-то и нет. В итоге, действительно тут нужно описание чуть
> подробнее того, что сделано? В этом месте оно как раз соответствует
> содержимому.
"fork pipeline: * modified" на каждый файл отдельно делать не надо. Сделай
один коммит.
--
Rgrds, legion
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-09-27 8:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-24 15:56 [make-initrd] [PATCH v1 11/41] fork pipeline: mountfs step modified Leonid Krivoshein
2021-09-26 13:49 ` Alexey Gladkov
2021-09-26 19:11 ` Leonid Krivoshein
2021-09-27 8:52 ` Alexey Gladkov
Make-initrd development discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/make-initrd/0 make-initrd/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 make-initrd make-initrd/ http://lore.altlinux.org/make-initrd \
make-initrd@lists.altlinux.org make-initrd@lists.altlinux.ru make-initrd@lists.altlinux.com
public-inbox-index make-initrd
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.make-initrd
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git