grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/2] autogen.sh: Detect python


From: Petr Vorel
Subject: Re: [PATCH 2/2] autogen.sh: Detect python
Date: Wed, 18 Aug 2021 09:19:23 +0200

> On Mon, Aug 09, 2021 at 01:52:29PM +0200, Daniel Kiper wrote:
> > On Fri, Aug 06, 2021 at 08:45:08AM +0200, Petr Vorel wrote:
> > > It help to avoid error on distros which has only python3 binary:
> > > ./autogen.sh: line 20: python: command not found

> > > Using bash builtin 'command -v' to avoid requiring which as extra
> > > dependency (usable on containers).

> > It looks the bash dependency is not specified in the INSTALL file in
> > "The Requirements" section. May I ask you to add it?

> ...and python requirement is missing from the list too. Additionally,
> please update autogen.sh python usage in the INSTALL file.
There is Python 2.6 or later, not sure if it still works on 2.6 (which is EOL)
or it requires now 2.7).

Also "If you use a development snapshot or want to hack on GRUB you may
need the following." is obsolete (from 2009), I'll move python, autoconf and
automake to the list on the top.

> Last but not least, patch tool requirement is missing from INSTALL file too.
> Of course this requires update to patch #1 in this series.
I first thought "Other standard GNU/Unix tools" would cover it, but it does not
harm to mention it (for those who compile on containers which have minimal
dependencies).

Kind regards,
Petr

> Daniel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]