Skip to content

Commit 419cc4c

Browse files
vigneshramannuclearcat
authored andcommitted
kci-rootfs: remove obsolete --staging check
The --staging argument was removed, but a check for it remained. Remove the obsolete check and update the warning message to reflect the new prefix handling via --prefix. Signed-off-by: Vignesh Raman <[email protected]>
1 parent b900051 commit 419cc4c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/kci-rootfs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,9 @@ def main():
251251
verify_docker()
252252
prepare_kci_source(args.branch)
253253

254-
# if branch set to staging, check if staging- prefix is used, if not - suggest to use --staging
255-
if args.branch == "staging.kernelci.org" and not args.staging:
256-
print("WARNING! You are building rootfs for staging.kernelci.org, please use --staging")
254+
# if branch is set to staging, print a warning to ensure the correct prefix is used.
255+
if args.branch == "staging.kernelci.org":
256+
print("WARNING! You are building rootfs for staging.kernelci.org, please use --prefix ghcr.io/kernelci/staging- or --prefix kernelci/staging-")
257257

258258
if args.all:
259259
# iterate key,value

0 commit comments

Comments
 (0)