tests/dnf: always specify platform_module_id

As long as this matches the build environment, this does not make
a differenece, but let us not depend on this.

This will be useful when automatically transforming dnf to rpm
pipelines, as the platform_module_id is needed as input to
osbuild-composer's dnf-json tool.

Performed using this script:

```

cat $1 | jq '(.stages[]? | select(.name == "org.osbuild.dnf") | .options.module_platform_id) |= . + "platform:f30"'  | sponge $1
cat $1 | jq '(.build.pipeline.stages[]? | select(.name == "org.osbuild.dnf") | .options.module_platform_id) |= . + "platform:f30"'  | sponge $1
```

Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
Tom Gundersen 2020-02-26 16:30:37 +01:00
parent a1540fd32d
commit ff8fda9e53
38 changed files with 211 additions and 132 deletions

View file

@ -14,7 +14,7 @@
"basearch": "s390x",
"install_weak_deps": true,
"repos": [
"sha256:450d4c06339dc1c976df0c4069ca5778e1f4261de7d2f6c079bec2b5da795f7c"
"sha256:450d4c06339dc1c976df0c4069ca5778e1f4261de7d2f6c079bec2b5da795f7c"
],
"packages": [
"@Fedora Cloud Server",
@ -30,7 +30,8 @@
],
"exclude_packages": [
"dracut-config-rescue"
]
],
"module_platform_id": "platform:f30"
}
},
{
@ -40,7 +41,8 @@
"cloud-config",
"cloud-final",
"cloud-init",
"cloud-init-local"]
"cloud-init-local"
]
}
},
{
@ -76,16 +78,17 @@
"name": "org.osbuild.fix-bls"
}
],
"assembler":
{
"name": "org.osbuild.qemu",
"options": {
"bootloader": {"type": "zipl"},
"format": "qcow2",
"filename": "base.qcow2",
"ptuuid": "0x14fc63d2",
"root_fs_uuid": "76a22bf4-f153-4541-b6c7-0332c0dfaeac",
"size": 3221225472
}
"assembler": {
"name": "org.osbuild.qemu",
"options": {
"bootloader": {
"type": "zipl"
},
"format": "qcow2",
"filename": "base.qcow2",
"ptuuid": "0x14fc63d2",
"root_fs_uuid": "76a22bf4-f153-4541-b6c7-0332c0dfaeac",
"size": 3221225472
}
}
}