debian-forge/samples/f30-s390x.json
Tom Gundersen ff8fda9e53 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>
2020-03-03 00:05:26 +01:00

94 lines
2.1 KiB
JSON

{
"stages": [
{
"name": "org.osbuild.kernel-cmdline",
"options": {
"root_fs_uuid": "76a22bf4-f153-4541-b6c7-0332c0dfaeac",
"kernel_opts": "net.ifnames=0 crashkernel=auto"
}
},
{
"name": "org.osbuild.dnf",
"options": {
"releasever": "30",
"basearch": "s390x",
"install_weak_deps": true,
"repos": [
"sha256:450d4c06339dc1c976df0c4069ca5778e1f4261de7d2f6c079bec2b5da795f7c"
],
"packages": [
"@Fedora Cloud Server",
"chrony",
"coreutils",
"dracut-config-generic",
"kernel",
"langpacks-en",
"qemu-guest-agent",
"s390utils-base",
"selinux-policy-targeted",
"spice-vdagent"
],
"exclude_packages": [
"dracut-config-rescue"
],
"module_platform_id": "platform:f30"
}
},
{
"name": "org.osbuild.systemd",
"options": {
"enabled_services": [
"cloud-config",
"cloud-final",
"cloud-init",
"cloud-init-local"
]
}
},
{
"name": "org.osbuild.locale",
"options": {
"language": "en_US"
}
},
{
"name": "org.osbuild.fstab",
"options": {
"filesystems": [
{
"uuid": "76a22bf4-f153-4541-b6c7-0332c0dfaeac",
"vfs_type": "ext4",
"path": "/",
"freq": 1,
"passno": 1
}
]
}
},
{
"name": "org.osbuild.zipl"
},
{
"name": "org.osbuild.selinux",
"options": {
"file_contexts": "etc/selinux/targeted/contexts/files/file_contexts"
}
},
{
"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
}
}
}