mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 08:56:58 +02:00
fix(coreos-base/coreos-base): Remove directory creation.
This duplicates sys-apps/baselayout so don't bother. Probably left over from when baselayout wasn't properly installed with the 'build' use flag to initialize the filesystem tree.
This commit is contained in:
parent
a19498b725
commit
a1a5f82b28
@ -215,12 +215,4 @@ pkg_postinst() {
|
||||
# Give the core user access to some system tools
|
||||
add_users_to_group "docker" "${system_user}"
|
||||
add_users_to_group "systemd-journal" "${system_user}"
|
||||
|
||||
# Some default directories. These are created here rather than at
|
||||
# install because some of them may already exist and have mounts.
|
||||
for x in /dev /home /media \
|
||||
/proc /root /sys /var/lock; do
|
||||
[ -d "${ROOT}/$x" ] && continue
|
||||
install -d --mode=0755 --owner=root --group=root "${ROOT}/$x"
|
||||
done
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user