Commit Graph

25901 Commits

Author SHA1 Message Date
Thilo Fromm
059a4839cb scripts/bootstrap: Apply Flatcar modifications
- install curl before baselayout

  Now that Github rejects access to an unauthenticated URL with
  `git://`, we have to make git and libcurl work with
  `https://`. However, during the SDK stage2, curl is not explicitly
  installed, but just inherited from the stage1. As a result, curl is
  built without the `ssl` USE flag.  So installation of baselayout
  fails with:

```
git fetch https://github.com/flatcar-linux/baselayout.git --prune +HEAD:refs/git-r3/HEAD
fatal: unable to access 'https://github.com/flatcar-linux/baselayout.git/':
Protocol "https" not supported or disabled in libcurl
```

  To resolve the issue, we need to install curl with `BOOTSTRAP_USE=ssl`
  before trying to install baselayout.

- update openssl before stage3

  Right now our bootstrap flow is different then gentoo's - we don't
  update the seed when building stage1 and use a different ebuilds
  snapshot for stage1 compared to stage2 and stage3. This is causing
  us trouble now, because we introduced openssl-3, but seed/stage1
  still contains openssl-1.1. During `emerge -e @system` in stage3,
  some packages that depend on openssl may build against the stage1
  version, which results in an error during depcleaning (they would
  need to be rebuilt instead).  Stage3 is not extensible, so instead,
  explicitly update openssl in stage2. This workaround can be removed
  as soon as we release a seed with openssl-3.

Co-authored-by: Dongsu Park <dpark@linux.microsoft.com>
Co-authored-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Co-authored-by: Krzesimir Nowak <knowak@microsoft.com>
2024-01-16 12:55:16 +01:00
Krzesimir Nowak
1c38bf8902 scripts: Sync with Gentoo
It's from Gentoo commit 5d8794d14ddd53713c77b7f0400aa206a6ab14be.
2024-01-16 12:55:16 +01:00
Krzesimir Nowak
4dd671e9c6 overlay profiles: Drop accept keywords for net-nds/openldap 2024-01-16 12:55:16 +01:00
Krzesimir Nowak
bd1ca1bc18 overlay profiles: Updated accept keywords for net-misc/curl 2024-01-16 12:55:16 +01:00
Krzesimir Nowak
525f190b5f overlay profiles: Drop accept keywords for dev-util/glib-utils 2024-01-16 12:55:16 +01:00
Krzesimir Nowak
07edfcdc4c overlay profiles: Drop accept keywords for dev-util/gdbus-codegen 2024-01-16 12:55:16 +01:00
Krzesimir Nowak
558f60515f overlay profiles: Drop accept keywords for dev-libs/libxml2 2024-01-16 12:55:16 +01:00
Krzesimir Nowak
fef308fe58 overlay profiles: Drop accept keywords for dev-libs/libunistring 2024-01-16 12:55:16 +01:00
Krzesimir Nowak
1dda371831 overlay profiles: Drop accept keywords for dev-libs/gobject-introspection-common 2024-01-16 12:55:16 +01:00
Krzesimir Nowak
816521eb01 overlay profiles: Drop accept keywords for dev-libs/gobject-introspection 2024-01-16 12:55:16 +01:00
Krzesimir Nowak
645a3260ac overlay profiles: Drop accept keywords for dev-libs/glib 2024-01-16 12:55:16 +01:00
Krzesimir Nowak
332dee3cea overlay profiles: Update accept keywords for app-shells/bash 2024-01-16 12:55:16 +01:00
Krzesimir Nowak
286ace766c overlay profiles: Add accept keywords for sys-libs/binutils-libs 2024-01-16 12:55:16 +01:00
Krzesimir Nowak
665d13dbe3 .github: Drop sys-kernel/installkernel from automation 2024-01-16 12:55:16 +01:00
Krzesimir Nowak
2e3aa7dbac portage-stable sys-kernel/installkernel: Drop unnecessary package 2024-01-16 12:55:16 +01:00
Krzesimir Nowak
71b6cff3de overlay profiles: Mask installkernel flag in sys-apps/debianutils
This flag was masked for some time already in Gentoo profiles, and the
package that was supposed to be pulled was renamed in the meantime and
we didn't notice. Now the mask was moved to a different Gentoo
profile, so it stopped being masked in our case and the builds started
to fail, because there is no such package like
sys-kernel/installkernel in portage-stable (we have
sys-kernel/installkernel-gentoo).

Mask the flag for SDK. We will drop the installkernel package in
following commit.
2024-01-16 12:55:16 +01:00
Krzesimir Nowak
e1118b85f0 dev-debug/gdb: Sync with Gentoo
It's from Gentoo commit 7b205f67aa1e81d5665d2d88132ee9ce195f852a.
2024-01-16 12:55:15 +01:00
Krzesimir Nowak
692a779d8d dev-build/ninja: Sync with Gentoo
It's from Gentoo commit 251e009ac0acde51363b8667e2ea1bf1a25ef823.
2024-01-16 12:55:15 +01:00
Krzesimir Nowak
645fd1a01f dev-build/meson-format-array: Sync with Gentoo
It's from Gentoo commit db90c393875ad4f98de526b1e124fa7dd7dac04f.
2024-01-16 12:55:15 +01:00
Krzesimir Nowak
e66a4b1e6e dev-build/meson: Sync with Gentoo
It's from Gentoo commit 7eca49abfbb82f783f10318780b53224d17968f0.
2024-01-16 12:55:15 +01:00
Krzesimir Nowak
a00b1ebb45 dev-build/make: Sync with Gentoo
It's from Gentoo commit 7ef71dd2f0e15a353a958b2572de2f2c353c6afb.
2024-01-16 12:55:15 +01:00
Krzesimir Nowak
577cb554e0 dev-build/cmake: Sync with Gentoo
It's from Gentoo commit 2f9c42cb12b476a78214e2f7d5bb3f984ce05de6.
2024-01-16 12:55:15 +01:00
Krzesimir Nowak
ab43658d60 overlay: Fix references to moved packages 2024-01-16 12:55:15 +01:00
Krzesimir Nowak
ef40478bbf portage-stable, overlay: Move some packages
In Gentoo, packages dev-util/cmake, dev-util/meson,
dev-util/meson-format-array, dev-util/ninja and sys-devel/make got
moved to new category named dev-build. Reflect that in our repos too.

The {sys-devel,dev-build}/make package is moved from overlay into
portage-stable - it used to be there to carry a patch that fixed
builds of the sys-devel/binutils package. I think that the issue was
fixed long time ago in make, so now it's time to put it back to
portage-stable and under package automation.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
0cffe5e99e x11-libs/pixman: Sync with Gentoo
It's from Gentoo commit 106b056ffeab053066745fac0ee9e8312e77b2fc.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
bb5d537d29 sys-process/lsof: Sync with Gentoo
It's from Gentoo commit 4f3686c867b7c7220237cca087d4be88e54d872b.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
df3961ad6a sys-libs/zlib: Sync with Gentoo
It's from Gentoo commit 94c6e08a7720f558bb603793f8e4c2d70283c08f.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
f92b264467 sys-libs/talloc: Sync with Gentoo
It's from Gentoo commit 5e3d413c90ed50a6f9582ee1e3817398d4a82319.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
c3a8f02933 sys-libs/readline: Sync with Gentoo
It's from Gentoo commit d4954f93b743cccea2192b18f9499385ef78f933.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
f472244699 sys-libs/libunwind: Sync with Gentoo
It's from Gentoo commit 547c370b97ab2fb620bb4e134a995bfa5475a0f9.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
20ff258071 sys-libs/libcap-ng: Sync with Gentoo
It's from Gentoo commit 62ab48d8edb336e83f2a8988f09c85766c368c75.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
3378d3835b sys-libs/ldb: Sync with Gentoo
It's from Gentoo commit f7fdfdaeec3764929686064a6054c38a6b2d7788.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
dc6cf6bbb7 sys-libs/binutils-libs: Sync with Gentoo
It's from Gentoo commit 7b205f67aa1e81d5665d2d88132ee9ce195f852a.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
46fd0486b4 sys-firmware/ipxe: Sync with Gentoo
It's from Gentoo commit 1eca37d9cb360ef50b5e6cb2975d8c70bf84aa60.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
e1315bb8e3 sys-devel/libtool: Sync with Gentoo
It's from Gentoo commit cc63949e79dcd30f226f08d94064388a489d819e.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
024d0ffbba sys-devel/gcc: Sync with Gentoo
It's from Gentoo commit a3a66f64d44bb3b993af84e402d001dc0ff59839.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
43231c4b44 sys-devel/bison: Sync with Gentoo
It's from Gentoo commit ccae5b6b63fd2c852a10bade121de718bc43816d.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
68191477bb sys-devel/binutils: Sync with Gentoo
It's from Gentoo commit c7ece32b5d4a295732ccd888a3cf0fddb92f91b3.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
4449320e77 sys-block/thin-provisioning-tools: Sync with Gentoo
It's from Gentoo commit 23b8a8dd547b9b8067a34966fc730798a5694a9e.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
53c933e455 sys-apps/util-linux: Sync with Gentoo
It's from Gentoo commit a64ba8b93d012270a92208b1871934feb1d5d45a.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
9de6edaef7 sys-apps/smartmontools: Sync with Gentoo
It's from Gentoo commit f7ac6d49a10a2c94231e0cdd0e069ceca1e6c46e.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
31a3eab075 sys-apps/portage: Sync with Gentoo
It's from Gentoo commit 21b3f9ceef131258a721b1b29e52d0f9c4fd2ea4.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
ebef0d2e8b sys-apps/man-pages: Sync with Gentoo
It's from Gentoo commit 2ae9ef7cf0050ae77eb8b61b04e78c177d0035ea.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
0ac50656f0 sys-apps/iproute2: Sync with Gentoo
It's from Gentoo commit a980d969681a801efe0050bcb233a137d7204793.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
1008035775 sys-apps/dtc: Sync with Gentoo
It's from Gentoo commit e55f1858bbe008cf3d98e46e81b1880a781c622c.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
cf176bec35 sys-apps/debianutils: Sync with Gentoo
It's from Gentoo commit 1548f149879fca4915d49d3a1991d9d2ebd03e57.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
38fe9817fc sys-apps/attr: Sync with Gentoo
It's from Gentoo commit 40039c6c1315d94987b4c3740efe22c929b6aa05.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
5e51419c81 profiles: Sync with Gentoo
It's from Gentoo commit b64a017266bfab910244cde449975d0b62faf6e6.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
e167381e67 net-nds/openldap: Sync with Gentoo
It's from Gentoo commit b750b158ab8ce00579901ef253c8a2594cee1886.
2024-01-16 12:55:15 +01:00
Flatcar Buildbot
073ee8c240 net-misc/rsync: Sync with Gentoo
It's from Gentoo commit 89b65644ee5c1a71065c72c0d63efbdf97a90b9c.
2024-01-16 12:55:15 +01:00