[elbe-devel] [PATCH v2] Fix passno option handling
Manuel Traut
manut at linutronix.de
Wed Sep 12 12:04:27 CEST 2018
On Wed, Sep 12, 2018 at 11:58:49AM +0200, Yegor Yefremov wrote:
> On Thu, Aug 16, 2018 at 1:54 PM <yegorslists at googlemail.com> wrote:
> >
> > From: Yegor Yefremov <yegorslists at googlemail.com>
> >
> > Passno option is a child of fs element and should be handled the same way
> > as mkfs option.
> >
> > Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
> > ---
> > Changes v1 -> v2:
> > * replace tabs with spaces
> >
> > elbepack/fstab.py | 5 +----
> > 1 file changed, 1 insertion(+), 4 deletions(-)
> >
> > diff --git a/elbepack/fstab.py b/elbepack/fstab.py
> > index ed0a10a0..9f8aa0bd 100644
> > --- a/elbepack/fstab.py
> > +++ b/elbepack/fstab.py
> > @@ -83,10 +83,7 @@ class fstabentry(object):
> > if entry.has("fs"):
> > self.fstype = entry.text("fs/type")
> > self.mkfsopt = entry.text("fs/mkfs", default="")
> > - if entry.has("passno"):
> > - self.passno = entry.text("passno")
> > - else:
> > - self.passno = "0"
> > + self.passno = entry.text("fs/passno", default="0")
> >
> > self.id = str(id)
>
> I think this patch should be applied to both elbe-2.0 and elbe-3.0
Thanks for the reminder ;)
applied to devel/elbe-2.0 and 3.0
More information about the elbe-devel
mailing list