I’ve tried running imagebuilder using the instructions here:
When I try to run it natively (Ubuntu 22.04), I can get to the point of compile “$ ./gl_image -i -p mt300n-v2”, and get this error
File "/imagebuilder/./gl_image", line 106 print "Oops! Failed to parse %s" % self.filename ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
I assume this is due to imagebuilder calling for python2, which of course has been deprecated for over 2 years.
I then tried using the dockerfile approach “$ sudo docker build --rm -t gl_imagebuilder - < Dockerfile”, and get these errors:
1.476 Err:6 http://deb.debian.org/debian stretch-updates Release 1.476 404 Not Found 1.494 Reading package lists... 1.525 E: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file. 1.525 E: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file. 1.525 E: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
I assume this because Debian slim has moved to archive. Does anyone know how to get imagebuilder running on a modern distro release?