This leverages the branding eclass that was recently added to Gentoo.
Since originally preparing this commit, these fields were added to our
make.conf, but setting them in the profile is more versatile, allowing
for downstreams.
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
It was never updated in a meaningful way. It was only used directly in
lsb_release, which is a dead standard. It was included in the os-release
`PRETTY_NAME` but not as a field on its own.
Closes: https://github.com/flatcar/scripts/pull/88
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
In next weekly updates batch, pillow gained a dependency on
dev-python/pybind11, which pulls in dev-cpp/eigen, which pulls in some
eclasses and more deps. This is too annoying for a tool that is
effectively of no use for Flatcar. We should be able to get away with
just "providing" the package, since docutils (the only package that
pulls dev-python/pillow) is documented to handle missing pillow
gracefully.
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
The Portage config is visible through the sysext root directory via
overlayfs while installing packages, but the overlay gets unmounted
before equery is called. Use the board root's config instead.
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This is needed to support modern terminals like foot and Alacritty.
These take up around 7.5MB more, but the btrfs compression should reduce
this considerably.
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This time in overlaybd itself. Also regenerate the offline build
patch, so it can be easily applied using `git am`.
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
It is not exactly a cross fix, but it may serve as a single place for
photon fixes. This time overlaybd stopped compiling with gcc15 due to
missing inclusion of cstdint to get a definition of uint64_t. Most
likely some other header used to pull it in, but now it does not.
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
Looks like enabling sssd in sys-auth/pambase created a new cycle:
sys-auth/pambase[sssd] -> sys-auth/sssd -> sys-apps/shadow[pam] -> sys-auth/pambase
Let's break it up at pambase. Also fix a mistake in a comment and sort
the USE flags alphabetically.
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
Any meson package now uses sysroot.eclass as a part of the cross-file
creation and the eclass requires ld.so and ldd to be available in
${ROOT}/usr/bin, so copy over the bin and sbin directories too, just
in case.
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
In order to fix some bash-completion issues, the output of "gcc-config
-l" has changed slightly - it received one more leading space in the
output.
Old output:
[1] aarch64-cros-linux-gnu-15 *
New output:
[1] aarch64-cros-linux-gnu-15 *
This has added another field from cut's point of view, as it was
splitting the line into fields by single spaces, which means that
instead of getting "aarch64-cros-linux-gnu-15" we were getting
"[1]". This has caused grep to match nothing, setting the error status
in PIPESTATUS and finally a function failure.
Instead of fiddling with leading empty fields, just strip the leading
spaces, dammit.
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>