diff options
-rwxr-xr-x | scripts/check-qemu-install | 10 | ||||
-rw-r--r-- | vars/buildPackage.groovy | 1 |
2 files changed, 5 insertions, 6 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install index 61e206a4..246f90b8 100755 --- a/scripts/check-qemu-install +++ b/scripts/check-qemu-install @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -# Copyright (C) 2019-2021, VyOS maintainers and contributors +# Copyright (C) 2019-2022, VyOS maintainers and contributors # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 or later as @@ -42,7 +42,7 @@ import random import traceback import logging import re -import json +import toml from io import BytesIO from io import StringIO @@ -78,8 +78,8 @@ parser.add_argument('--qemu-cmd', help='Only generate QEMU launch command', args = parser.parse_args() -with open('data/defaults.json') as f: - vyos_defaults = json.load(f) +with open('data/defaults.toml') as f: + vyos_defaults = toml.load(f) class StreamToLogger(object): """ @@ -391,7 +391,7 @@ try: c.sendline('show version') c.expect(op_mode_prompt) c.sendline('show version kernel') - c.expect(f'{vyos_defaults["kernel_version"]}-{vyos_defaults["kernel_flavor"]}') + c.expect(f'{vyos_defaults["kernel_version"]}-{vyos_defaults["architecture"]}-vyos') c.expect(op_mode_prompt) c.sendline('show version frr') c.expect(op_mode_prompt) diff --git a/vars/buildPackage.groovy b/vars/buildPackage.groovy index b25b0eb5..42c449bc 100644 --- a/vars/buildPackage.groovy +++ b/vars/buildPackage.groovy @@ -42,7 +42,6 @@ def call(description=null, pkgList=null, buildCmd=null, buildArm=false, changesP when { anyOf { changeset "${changesPattern}" - changeset "**/data/defaults.json" triggeredBy cause: "UserIdCause" } } |