Understanding where kernel command line comes from the first time
- From: Daniel Drake <drake endlessm com>
- To: ostree-list gnome org
- Subject: Understanding where kernel command line comes from the first time
- Date: Fri, 13 Dec 2013 12:33:08 -0600
Hi,
When deploying an ostree onto a clean disk on a uboot-based system for
the first time, where do the default kernel command line params come
from?
I am confused by the logic in ostree_sysroot_deploy_one_tree() :
gs_unref_object OstreeBootconfigParser *bootconfig = NULL;
bootconfig = ostree_bootconfig_parser_new ();
ostree_deployment_set_bootconfig (new_deployment, bootconfig);
[...]
ohash = _ostree_sysroot_parse_kernel_args
(ostree_bootconfig_parser_get (bootconfig, "options"));
As "bootconfig" is new and hasn't had any entries written into it, how
are we able to get "options" from it now? Isn't bootconfig totally
empty at this point?
Thanks
Daniel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]