[Buildroot] [PATCH] utils/genrandconfig: fix runtime issue with Python 3
thomas.petazzoni at bootlin.com
Tue Dec 3 19:58:36 UTC 2019
On Tue, 3 Dec 2019 20:36:17 +0100
Arnout Vandecappelle <arnout at mind.be> wrote:
> Just guessing here, but: originally this file was downloaded with
> urlopen_closing() instead of being read from a local file.
Ah, that must be it!
> Since we only use genrandconfig in the autobuilders in python2 (cfr.
> the shebang)
I'm not sure why you say "in python2" ? The shebang in genrandconfig is:
and I indeed noticed the issue with Python 3.x because I started using
genrandconfig on my updated Fedora system, which now uses Python 3.x as
>, nobody noticed that this broke when I switched to
> reading from file instead of URL two years ago (84929a53a4).
Indeed. I'll update the commit log and resend.
Thanks for the hint!
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
More information about the buildroot