File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,14 @@ use serde::Deserialize;
13
13
14
14
use crate :: deploy:: ImageState ;
15
15
16
+ /// The kargs.d configuration file.
16
17
#[ derive( Deserialize ) ]
17
18
#[ serde( rename_all = "kebab-case" , deny_unknown_fields) ]
18
19
struct Config {
20
+ /// Ordered list of kernel arguments.
19
21
kargs : Vec < String > ,
22
+ /// Optional list of architectures (using the Rust naming conventions);
23
+ /// if present and the current architecture doesn't match, the file is skipped.
20
24
match_architectures : Option < Vec < String > > ,
21
25
}
22
26
@@ -126,6 +130,7 @@ pub(crate) fn get_kargs(
126
130
return Ok ( kargs) ;
127
131
}
128
132
133
+ // Fetch the kernel arguments from the new root
129
134
let remote_kargs = get_kargs_from_ostree ( repo, & fetched_tree, sys_arch) ?;
130
135
131
136
// get the diff between the existing and remote kargs
You can’t perform that action at this time.
0 commit comments