[elbe-devel] [PATCH] schema: Drop stretch as valid initvm suite
John Ogness
john.ogness at linutronix.de
Fri May 13 14:54:18 CEST 2022
On 2022-05-13, Bastian Germann <bage at linutronix.de> wrote:
>> Maybe we should take this opportunity to drop stretch everywhere?
>
> I do not think that is a good idea. As long as there is no problem
> with building a stretch target, we should just keep it.
Sorry, by "everywhere" I didn't mean to remove all instances. I meant
everywhere referring to the initvm. For example:
diff --git a/elbepack/commands/init.py b/elbepack/commands/init.py
index 0e78d83d4..30a57149e 100644
--- a/elbepack/commands/init.py
+++ b/elbepack/commands/init.py
@@ -143,10 +143,7 @@ def run_command(argv):
'/usr/bin/systemd-detect-virt')
_, dist = command_out('lsb_release -cs')
- if 'vmware' in virt and 'stretch' in dist:
- machine_type = 'pc-i440fx-2.6'
- else:
- machine_type = 'pc'
+ machine_type = 'pc'
try:
os.makedirs(opt.directory)
I didn't look very hard to see if there were any other documentation or
code relating to initvm-stretch.
John Ogness
More information about the elbe-devel
mailing list