GNOME Bugzilla – Bug 697843
Use command line info from libosinfo
Last modified: 2016-03-31 13:22:07 UTC
Needs to wait for the approval of these 2 patches: https://www.redhat.com/archives/libosinfo/2013-April/msg00090.html https://www.redhat.com/archives/libosinfo/2013-April/msg00091.html
Created attachment 241315 [details] [review] installer: Use command line info from libosinfo As libosinfo is able to provide the command line necessary to load install script files, let's use this info instead of hardcode it in our code.
Review of attachment 241315 [details] [review]: ::: src/unattended-installer.vala @@ +293,3 @@ } + public override void set_direct_boot_params (GVirConfig.DomainOs domain_os) { I don't think this is worth renaming @@ +299,1 @@ var script = scripts.get_nth (0) as InstallScript; At some point, it would be nice if we could remove the hardcoded get_nth(0) here :)
Review of attachment 241315 [details] [review]: ::: src/unattended-installer.vala @@ +301,3 @@ + domain_os.set_kernel (kernel_file.get_path ()); + domain_os.set_ramdisk (initrd_file.get_path ()); + domain_os.set_cmdline (script.generate_command_line (os, config)); I was pointed out on IRC that the renaming of os to domain_os made that line more readable, so disregard my previous comment.
Created attachment 241788 [details] [review] configure: Require libosinfo >= 0.2.7
Review of attachment 241788 [details] [review]: ACK