Skip to content
Snippets Groups Projects
  1. Mar 24, 2022
  2. Mar 22, 2022
  3. Mar 21, 2022
  4. Mar 18, 2022
  5. Mar 17, 2022
  6. Mar 14, 2022
  7. Mar 08, 2022
    • Zygmunt Krynicki's avatar
      meta-oniro-core: add and enable oniro-grub-bootconf · ed49da8a
      Zygmunt Krynicki authored
      
      The oniro-grub-bootconf recipe provides the virtual-grub-bootconf
      package which in turn contains a stub grub.cfg and empty grubenv file.
      
      The change is spread around a considerable number of areas. Specifically
      the kick-start file needs to explicitly reference the grub.cfg file which
      must be placed in the wic/ directory. Since we need the same file in
      grub/files directory, so that it can be installed into the image,
      a symbolic link is employed.
      
      The distribution configuration file, oniro-linux.conf sets
      IMAGE_EFI_BOOT_FILES so that the grubenv file is installed into the boot
      partition. This is required since grub cannot create the file by itself,
      it can only edit the file, in-place, if it is present there already.
      
      The actual configuration file for GRUB is a stub. Appropriate file with
      some non-trivial logic will be proposed separately. The stub file boots
      the first slot all the time. The kernel is loaded from the rootfs.
      
      This test-boots fine in x86 and x86-64 qemu builds.
      
      Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
      ed49da8a
  8. Feb 25, 2022
  9. Feb 24, 2022
  10. Feb 22, 2022
Loading