Skip to content
Snippets Groups Projects
  1. Jun 06, 2022
  2. May 11, 2022
  3. Apr 13, 2022
  4. Apr 12, 2022
    • Eilís Ní Fhlannagáin's avatar
      oniro-linux.conf: Rethink how DISTRO_FEATURES/IMAGE_FEATURES are defined · e55421a7
      Eilís Ní Fhlannagáin authored
      
      Right now, we do a remove in DISTRO_FEATURES, that, while we don't
      neccessarily support them, due to the finality of :remove we force our
      end users to not use them either.
      
      By moving DISTRO_FEATURES:remove to DEFAULT_DISTRO_FEATURES:remove, we
      allow end users to still use oniro.conf but add in those removed
      features.
      
      We also move IMAGE_FEATURES from a distro level var to the image.
      IMAGE_FEATURES should generally be put in image recipes. This also gives
      end users a way to use Oniro and work around our :remove defaults.
      
      Signed-off-by: default avatarEilís Ní Fhlannagáin <pidge@pidge.org>
      e55421a7
  5. Mar 21, 2022
  6. Mar 14, 2022
    • Andrei Gherzan's avatar
      oniro-linux.conf: Force musl as TCLIBC · 0c843f9f
      Andrei Gherzan authored
      Upstream moved the default definition of TCLIBC as part of:
      
      commit 57aa60ef6422568b425b6ccc4451567efc578469
      Author: Martin Jansa <Martin.Jansa@gmail.com>
      Date:   Wed Sep 16 15:28:52 2020 +0200
          bitbake.conf: use ${TCMODE}-${TCLIBC} directory for CACHE
      
      This moved TCLIBC from defaultsetup.conf to bitbake.conf but the problem
      is that it did it before the place were bitbake.conf includes the distro
      configuration changing its behaviour. With this change, a ?= in the
      distro configuration will be ignored as the first one is already
      defined in bitbake.conf.
      
      Because of the above, we ended up with defaulting to glibc. We revert
      this by forcing the value of TCLIBC accordingly. This will have a side
      effect that shell environment variable will be ignored. So doing that
      through BB_ENV_EXTRAWHITE will be broken from now on. If we want that
      ability in the future, we can try to address.
      
      Fixes: https://booting.oniroproject.org/distro/oniro/-/issues/252
      
      
      
      Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
  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 16, 2022
  9. Jan 26, 2022
  10. Dec 01, 2021
  11. Nov 29, 2021
  12. Nov 26, 2021
  13. Nov 25, 2021
  14. Nov 24, 2021
  15. Nov 15, 2021
  16. Nov 12, 2021
  17. Nov 05, 2021
  18. Oct 26, 2021
  19. Oct 22, 2021
Loading