summaryrefslogtreecommitdiff
path: root/elements/bootstrap/stage3-sysroot.bst
blob: 8a4616ef9c883d335b77a7e627633765c2530d22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
kind: compose

description: |
  stage3-sysroot: clean minimal shell environment + C/C++ toolchain

  Binaries of this are released to https://ostree.baserock.org/releases/ and
  are in turn used to seed subsequent rebuilds of the Baserock reference
  systems (via gnu-toolchain/base.bst).

depends:
- filename: gnu-toolchain.bst
  type: build

config:
  exclude: [ debug, doc, locale ]

public:
  bst:
    integration-commands:
      # Remove libtool's `.la` files. These are not needed for the base
      # platform to work, and actually break cross-compilation of stage2-gcc
      # somehow -- /lib64/libstdc++.so gets in to the dependency list of
      # cross-built C++ libraries, causing disaster.
      - find ./usr/lib ./usr/lib64 ./usr/libexec -name lib\*.la -delete