Skip to content
Snippets Groups Projects
  1. Aug 12, 2022
  2. May 11, 2022
  3. Mar 22, 2022
  4. Feb 16, 2022
    • Zygmunt Krynicki's avatar
      oniro-{image,linux}: use x-gpt-efi-disk for QEMU x86 · b538c0b0
      Zygmunt Krynicki authored
      
      Similar to how the SECO board was handled, the QEMU x86 machine can now
      use EFI and GRUB correctly. This change is split over three parts,
      MACHINE_FEATURES is modified to enable efi, WKS_FILE_DEPENDS to build
      EFI firmware and lastly WKS_FILE to pick the new unified kick-start
      file.
      
      This was tested with:
      
              qemu-system-i386 -cpu IvyBridge -machine q35 -bios ovmf.qcow2 \
                      oniro-image-base-qemux86.wic -m 1024 -nographic
      
      Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
      b538c0b0
    • Zygmunt Krynicki's avatar
      oniro-{image,linux}: use x-gpt-efi-disk for QEMU x86-64 · 23a71bc9
      Zygmunt Krynicki authored
      
      Similar to how the SECO board was handled, the QEMU x86-64 machine can
      now use EFI and GRUB correctly. This change is split over three parts,
      MACHINE_FEATURES is modified to enable efi, WKS_FILE_DEPENDS to build
      EFI firmware and lastly WKS_FILE to pick the new unified kick-start
      file.
      
      This was tested with:
      
              qemu-system-x86_64 -cpu IvyBridge -machine q35 -bios ovmf.qcow2 \
                      oniro-image-base-qemux86-64.wic -m 1024 -nographic
      
      Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
      23a71bc9
    • Zygmunt Krynicki's avatar
      oniro-image: use x-gpt-efi-disk for SECO B68 · 06c5bab6
      Zygmunt Krynicki authored
      
      This, coupled with the earlier EFI_PROVIDER change allows the generated
      disk image to correctly boot with GRUB under QEMU/EFI. There is some
      loss of functionality: the early-boot microcode patch system is gone,
      for the moment, until we figure out how to bring it back with improved
      and unified GRUB configuration files.
      
      This was tested with:
      
              qemu-system-x86_64 -cpu IvyBridge -machine q35 -bios ovmf.qcow2 \
                      oniro-image-base-seco-intel-b68.wic -m 1024 -nographic
      
      Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
      06c5bab6
  5. Jan 26, 2022
  6. Nov 26, 2021
  7. Nov 01, 2021
  8. Oct 15, 2021
  9. Oct 11, 2021
  10. Sep 14, 2021
  11. Aug 24, 2021
    • Andrei Gherzan's avatar
      ohos-image.bbclass: Revert dropbear hostkey dir configuration · ae66baa8
      Andrei Gherzan authored
      
      When read-only rootfs is enabled - it is enabled default for the
      reference images - the core bbclass rootfs-postcommands.bbclass
      configures dropbear to use a volatile location (a tmpfs location) for
      the hostkey because the default location, /etc/dropbear is read-only.
      With the advent of writables.bbclass, the OS now provides the default
      path /etc/dropbear as a writable (a persistent location bind-mounted
      from the sysdata partition). This makes now /etc/dropbear both
      read-write and also persistent over reboots. This change reverts the
      rootfs-postcommands.bbclass dropbear configuration to use a volatile
      location as opposed to the default one (/etc/dropbear).
      
      Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
      Verified
      ae66baa8
  12. Jul 16, 2021
  13. Jul 08, 2021
  14. Jul 06, 2021
  15. Jun 22, 2021
  16. Jun 01, 2021
  17. May 21, 2021
  18. Mar 15, 2021
  19. Mar 10, 2021
    • Andrei Gherzan's avatar
      ohos-image.bbclass: Introduce class · 2d574cb1
      Andrei Gherzan authored
      
      This class allows to hook a post install function that would mask getty
      services enabled by systemd as part of `systemd_preset_all`.
      
      To take advantage of it, an image would:
      1. inherit this class
      2. define SYSTEMD_MASK_GETTY to point to a list of tty devices that the
         hook will mask the getty service for.
      
      Common use-case: disable running getty on tty1 at boot.
      
      Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
      2d574cb1
Loading