mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-19 21:41:05 +02:00
Merge pull request #757 from marineam/user
eclass: set default portage user and group
This commit is contained in:
commit
a648c7fdbe
@ -470,8 +470,8 @@ cros-workon_pkg_setup() {
|
||||
if [[ ${CROS_WORKON_INCREMENTAL_BUILD} == "1" ]]; then
|
||||
local out=$(cros-workon_get_build_dir)
|
||||
addwrite "${out}"
|
||||
mkdir -p -m 755 "${out}"
|
||||
chown ${PORTAGE_USERNAME}:${PORTAGE_GRPNAME} "${out}" "${out%/*}"
|
||||
mkdir -p -m 755 "${out}" || die
|
||||
chown ${PORTAGE_USERNAME:-portage}:${PORTAGE_GRPNAME:-portage} "${out}" "${out%/*}" || die
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user