Skip to content

Commit

Permalink
overlay coreos-base/coreos-oem-gce: Pull in sys-apps/gentoo-functions…
Browse files Browse the repository at this point in the history
… too

Previously the sys-apps/gentoo-functions package was pulled in into
the GCE image by the sys-libs/glibc package. After the sys-libs/glibc
package update, the dependency disappeared. This resulted in
gentoo-functions not being installed and the build to fail a check for
dangling symlinks:

broken link: b'/etc/init.d/functions.sh' -> b'../../lib/gentoo/functions.sh'
ERROR   build_oem_aci: test_image_content: Failed symlink check

The `/etc/init.d/functions.sh` symlink is installed by
sys-apps/baselayout in postinst phase. The package also has a
dependency on sys-apps/gentoo-functions, but it is not pulled in into
the image, because baselayout is installed specially - without
dependencies.

It would probably be better to just drop the symlink, but it's here
for compatibility purposes. We also can't remove the symlink in the
manglefs script, as it gets executed after the filesystem checks.
  • Loading branch information
krnowak committed Sep 15, 2023
1 parent 7b2199c commit 1ac17be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ IUSE=""
RDEPEND="
app-emulation/google-compute-engine
app-shells/bash
sys-apps/gentoo-functions
sys-libs/glibc
sys-libs/nss-usrfiles
"

0 comments on commit 1ac17be

Please sign in to comment.