blob: 667f89a7a628d418d6114a1f7619cf92ac737e5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
do_install:append() {
# Assumes that .profile is already installed.
# Podman uses these (if defined) for overriding
# default configuration file locations. This is
# explained here:
# https://github.com/containers/podman/blob/main/docs/tutorials/rootless_tutorial.md#user-configuration-files
cat >> ${D}/home/${USER_TO_ADD_NAME}/.profile << 'EOF'
export XDG_RUNTIME_DIR=/run/user/$(id -u)
export XDG_CONFIG_HOME=$HOME/.config
EOF
}
|