Skip to content

Commit aa168ef

Browse files
committed
Use same option name as debootstrap
1 parent ffbd297 commit aa168ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/common/cross/install-debs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def finalize_setup(rootfsdir):
364364
parser.add_argument('--suite', required=True, action='append', help='Specify one or more repository suites to collect index data.')
365365
parser.add_argument("--mirror", required=False, help="Mirror (e.g., http://ftp.debian.org/debian-ports etc.)")
366366
parser.add_argument("--artool", required=False, default="ar", help="ar tool to extract debs (e.g., ar, llvm-ar etc.)")
367-
parser.add_argument("--force-check-sig", required=False, action='store_true', help="Verify the packages against signatures in Release file.")
367+
parser.add_argument("--force-check-gpg", required=False, action='store_true', help="Verify the packages against signatures in Release file.")
368368
parser.add_argument("--keyring", required=False, default='', help="Keyring file to check signature of Release file.")
369369
parser.add_argument("packages", nargs="+", help="List of package names to be installed.")
370370

@@ -389,7 +389,7 @@ def finalize_setup(rootfsdir):
389389

390390
print(f"Creating rootfs. rootfsdir: {args.rootfsdir}, distro: {args.distro}, arch: {args.arch}, suites: {args.suite}, mirror: {args.mirror}")
391391

392-
package_index_content = asyncio.run(download_package_index_parallel(args.mirror, args.arch, args.suite, args.force_check_sig, args.keyring))
392+
package_index_content = asyncio.run(download_package_index_parallel(args.mirror, args.arch, args.suite, args.force_check_gpg, args.keyring))
393393

394394
packages_info, aliases = parse_package_index(package_index_content)
395395

0 commit comments

Comments
 (0)