Skip to content

Commit

Permalink
tests/compose: Add glibc-all-langpacks to manifest
Browse files Browse the repository at this point in the history
This used to ship in FCOS but no longer does. But we rely on it for
testing the `install-langs` bits. So let's just add it back.
  • Loading branch information
jlebon authored and cgwalters committed Nov 10, 2021
1 parent 1e0aad2 commit 6b0d4f2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ if [ ! -d compose-cache ]; then
rm manifest.yaml
mv manifests/{passwd,group} .
rm -rf manifests/
# also make sure to download glibc-all-langpacks which is no longer in FCOS by
# default; we'll want it to test `install-langs`
python3 -c '
import sys, json
y = json.load(sys.stdin)
y["packages"] += ["glibc-all-langpacks"]
json.dump(y, sys.stdout)' < manifest.json > manifest.json.new
mv manifest.json{.new,}
popd # config

mkdir cachedir
Expand Down

0 comments on commit 6b0d4f2

Please sign in to comment.