flatcar-scripts/sdk_container
Thilo Fromm 7172e40cd7 scripts/bootstrap: flatcar: use python3; add static-libs, openmp
This change explicitly calls python3 (instead of python) in pycmd
so portage commands work (as we ship python 2, too, and it's still
the default).

Also, 'static-libs' and 'opempn' are added to the
bootstrap emerge USE flags (stage 3 of the bootstrap-sh script,
which is run in stage 2 of the SDK catalyst bootstrapping process):
- 'static-libs' un-breaks the zlib build: zlib installed has this flag
   set and zlib requested per emerge command line in
   bootstrap.sh stage 3 needs this flag to prevent a slot conflict.
- 'openmp' is to honor requirements of newer versions of GCC and is
   added according to Gentoo guidelines published here:
   https://wiki.gentoo.org/wiki/User:Sakaki/Sakaki%27s_EFI_Install_Guide/Building_the_Gentoo_Base_System_Minus_Kernel#Gentoo_Bootstrap_Remix:_Progressing_from_Stage_1_to_Stage_2

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2021-03-03 10:16:21 +01:00
..
src/third_party/portage-stable scripts/bootstrap: flatcar: use python3; add static-libs, openmp 2021-03-03 10:16:21 +01:00