mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-12 16:01:11 +02:00
This replaces the old Gentoo baselayout and coreos-base packages. Changes include: - Move nss data files from /etc to /usr/share/baselayout - Enable nss-usrfiles module to use the new location. - Move other misc files from /etc to /usr/share/baselayout, using compatibility symlinks in /etc generated by tmpfiles. - All base system directories can be generated by tmpfiles. - No more /etc/gentoo-release - Simplified code, doesn't bother trying to migrate lib symlinks and simply fails if the existing filesystem is incorrect. - In /usr images the `core` user's UID/GID is now 500 to keep us within the reserved system UID/GID space. Eventually once the SDK switches to this the `core` user will not conflict with the local developer's account. It also makes it clearer what range people can use when creating accounts in /usr images. No other UID/GIDs are changing. - New eclass to let ebuilds run the equivalent of `tmpfiles --create`. In the future this may be replaced by calling `tmpfiles` directly once it has a `--root` argument but I haven't pushed those patches upstream for review yet.