Skip to content
Snippets Groups Projects
  • Andrei Gherzan's avatar
    2d574cb1
    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
    History
    ohos-image.bbclass: Introduce class
    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>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.