aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-core/base-files
AgeCommit message (Collapse)AuthorFilesLines
2019-12-24rcar-gen3: systemd: Add safe transition to non-owned itemDuy Dang1-1/+1
Since safe transition check feature breaks the rootfs created by different users, this allows /var/volatile to be mounted as a non-owned directory (uid=65534) and defines the transition from a normal file/directory to non-owned one as a safe transition. Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I5ed4bfb7e5bd7cc08fa45cde4b849184e3ecb335
2019-09-24rcar-gen3: Append _rcar-gen3 to variables and tasksKhang Nguyen1-2/+2
For bbappend files, it should be appended the _rcar-gen3 to variables and function to avoid changing sstate signature when build with non R-Car platforms but including meta-rcar-gen3 to BBLAYERS. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I179d8595422ea7eeb1568adc63d1e64e1fb057a6
2019-09-23rcar-gen3: base-files: Fix missing log and tmp in /var/volatileKhang Nguyen2-0/+17
Since systemd v240, tmpfiles could not create the files/directories under a prefix that may be owned by an unprivileged user due to unsafe transition validation. In case of users set up a rootfs on NFS server or use PC to prepare one on a flash device, the ownership is inherited from host PC, but the /var/volatile is set the owner to root by default, it leads to an issue that the log and tmp directories under /var/volatile are not created. The processes use the tmp/log directories to store log and temporary files will fail. | [FAILED] Failed to start Login Service. | [FAILED] Failed to start Network Name Resolution. | authpriv.err login[3074]: pam_lastlog(login:session): unable to create /var/log/lastlog: No such file or directory This changes the owner of /var/volatile to uid=1000,gid=1000 as a workaround for the issue. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Iae54eb2f47cca2d7f57c48d581d075b6c41401b7
2018-10-26rcar-gen3: base-files: Do not override LD_LIBRARY_PATH variableThuy Tran1-1/+1
This commit modifies recipe to avoid overriding LD_LIBRARY_PATH environment variable. Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-08-25rcar-gen3: Use flexible coding style for Renesas datadirRonan Le Martret1-0/+5
This commit modifies recipes to use RENESAS_DATADIR variable for /usr/local directory instead of hard coding. This commit comes from AGL patch. Bug-AGL: SPEC-533 Change-Id: I865ea809c3c59ba136027fc8b99628df20c16275 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> (cherry picked from commit 9598336fa2b4a4237255cdd866350eb7c03fdd81)