Krzesimir Nowak 3276763384 overlay coreos-base/misc-files: Generate bash symlinks for core user
The package will take over the symlink creation from the
sys-apps/baselayout package for the following reasons:

- We will use the new location of the bash files as targets for the
  symlinks (`/usr/share/flatcar/etc/skel/…`).

- This package makes sure that the symlinks won't dangle.

- `/usr/share/flatcar/etc` does not exist in GCE OEM ACI image because
  we don't move `/etc` to `/usr/share/flatcar/etc` (actually, `/etc`
  gets completely removed) when building this image. It makes bash
  symlinks in core home directory to dangle and thus fail the rootfs
  check that happens right after installing the
  `coreos-base/coreos-oem-gce` package. Using the old location for the
  bash symlinks (that'd be `/usr/share/skel`) wouldn't help, because
  the files there also became symlinks, and they are dangling too.
  This can't fix it in the manglefs script because it's invoked too
  late, after the rootfs check. I decided to move the core home bash
  symlink creation to `coreos-base/misc-files` as this package won't
  be installed in ACI image.
2023-05-11 15:33:16 +02:00
..