Fix variable typo in upload process

This is to fix the typo in the usm load import script.

Test Plan:

PASS: build the iso
PASS: upload the iso on SX

Task: 50915
Story: 2010676

Change-Id: Ia90a1f546da81f5fd5ce07648293c5ee09fa3a4b
Signed-off-by: junfeng-li <junfeng.li@windriver.com>
This commit is contained in:
junfeng-li
2024-08-26 15:27:13 +00:00
parent ac125ed68f
commit fdf54ae034

View File

@@ -65,7 +65,7 @@ def setup_from_release_load(from_release, to_feed_dir):
# Create 'starlingx' remote on the feed ostree_repo
cmd = ["ostree", "remote", "add", "--repo=%s/ostree_repo/" % to_feed_dir,
FEED_REMOTE, "http://controller:8080/feed/rel-%s/ostree_repo/" % to_major_rel,
FEED_REMOTE, "http://controller:8080/feed/rel-%s/ostree_repo/" % from_major_rel,
FEED_BRANCH]
try:
subprocess.check_call(cmd)