Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aa_kbc_params: parse from kernel cmdlind first
In CoCo, the aa_kbc_params is still passed from the kernel cmdline and will be read in Confidential Data Hub. If we do not provide a default configuration file for CDH, a default one will set the aa_kbc_params env to offline-fs-kbc. This would make the kernel cmdline not work. As a workaround, this commit bring the kernel cmdline parsing first. The disadvantage is that we will not support to use any other aa_kbc_params if we already set the kernel cmdline. This disadvantage will be covered once initdata is implemented. Signed-off-by: Xynnn007 <[email protected]>
- Loading branch information