Skip to content
Snippets Groups Projects
  1. Oct 15, 2021
  2. Oct 11, 2021
  3. Sep 14, 2021
  4. 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
  5. Jul 16, 2021
  6. Jul 08, 2021
  7. Jul 06, 2021
  8. Jun 22, 2021
  9. Jun 01, 2021
  10. May 21, 2021
  11. Mar 15, 2021
  12. 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