Use a regular tarball from GitHub. baselayout is a special case because
Catalyst initially installs it with --nodeps. We currently use stage 4
as a seed, which includes git, so this is fine right now, but we would
like to switch to using stage 3 instead. You also might use a
cross-compiled stage 3 as a seed when porting the SDK to a new
architecture.
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
It is not clear why this was forked originally. One reason was to avoid
the sys-apps/lsb-release dependency, but it probably wasn't just that.
It seems likely that the upstream package did not support cross targets
at the time. Now it does.
It appears that LTO was previously enabled by us following Gentoo rather
than through an explicit decision. They now disable it by default, so we
do likewise. It previously used "fat" LTO, which makes Rust especially
slow to build and reportedly made rustc slower than with "thin" LTO!
There seems little benefit in using thin LTO given that we rebuild Rust
almost as much as the packages that use it, plus we don't enable LTO
anywhere else.
We still avoid rustdoc to keep the size down using INSTALL_MASK. This
isn't as good as not building it in the first place, but this alone
isn't worth keeping a fork.
Cross targets are now handled via the admittedly experimental
RUST_CROSS_TARGETS support. This has been in place for a while, and I
think it is fairly widely used now. If it does disappear, it would
almost certainly be for something even better.
This also updates Rust from 1.80.0 to 1.80.1.
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
We have previously avoided this package because its /etc/lsb-release
clashes with the symlink created by our sys-apps/baselayout. This has
led to the need to fork some packages, such as dev-lang/rust, just to
avoid the dependency.
Instead, we can just stop it from installing /etc/lsb-release with
INSTALL_MASK. I also considered having it create the symlink instead of
baselayout, but baselayout has the tmpfiles.d handling, so this is
simpler.
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This reverts commit f2fe34e0cb.
Nightly build failed due to Github unavailability. Revert temporarily,
we'll be back with a new nightly tomorrow.
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Not only python is being installed, but also some extra packages like
setuptools. These amount of tests seems to be growing, which is not a
bad thing per se, but we really don't need them in the GCE OEM sysext.