We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8bb620 commit 5e942b3Copy full SHA for 5e942b3
1 file changed
downloadfiles.py
@@ -33,7 +33,7 @@ def read_settings(infile):
33
config[key]=value.replace("\n", "")
34
return config
35
36
-config=None
+config={}
37
conffile='sourcefiles_'+board+'.conf'
38
if os.path.isfile(conffile):
39
config=read_settings(conffile)
@@ -216,6 +216,8 @@ def getInitrdInfo():
216
else: print(f"{board} not found in ubootfiles")
217
218
newconfig={}
219
+newconfig["variant"]=config.get("variant","")
220
+
221
if config and config.get("skipubootdownload"):
222
newconfig["skipubootdownload"]=config.get("skipubootdownload")
223
newconfig["imgfile"]=config.get("imgfile","")
0 commit comments