Skip to content
Snippets Groups Projects

weston-init: Ignore weston's WorkingDirectory

  1. Sep 27, 2022
    • philippe coval's avatar
      weston-init: Hotfix: Ignore weston's WorkingDirectory · b616badd
      philippe coval authored
      Oniro's homedirs are limited to oniro user so there is no '/home/weston' directory.
      
      Actually this home dir is created in rootfs but oniro's service (oniro-mounts/home.mount) is "mount-binding" the home directory and shadows weston's dir.
      
      So this change just skip systemd's to run chdir which is causing the failure of service, but I noticed it's working fine without (like before) so let's avoid this feature for now.
      
      For the record weston's home feature is only used to load optional weston.ini
      instead of system's one (/etc).
      
      So far oniro is only supporting system's configuration as most of our IoT usecase are using a single user/display configuration.
      
      This change can be reverted once multi-user feature is implemented in oniro v3+.
      
      Relate-to: eclipse/oniro-blueprints/vending-machine/meta-oniro-blueprints-vending-machine#3
      Relate-to: #825
      Forwarded: !287
      
      
      Upstream-Status: Inappropriate [other]
      Signed-off-by: default avatarPhilippe Coval <philippe.coval.ext@huawei.com>
      b616badd
Loading