Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add submodule #485

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open

Add submodule #485

wants to merge 21 commits into from

Conversation

wiktormowinski
Copy link
Contributor

No description provided.

@wiktormowinski wiktormowinski changed the base branch from main to develop September 3, 2024 07:33
@wiktormowinski
Copy link
Contributor Author

looks like i can't update all secure boot links because of this kwd Download ISO And Mount As USB more specifically the pikvm part:

 IF    "${DUT_CONNECTION_METHOD}" == "pikvm"
            Upload Image To PiKVM    ${PIKVM_IP}    ${img_url}    ${img_name}
            Mount Image On PiKVM    ${PIKVM_IP}    ${img_name}
        ELSE
            Skip    unsupported
        END

@JanPrusinowski
Copy link
Contributor

looks like i can't update all secure boot links because of this kwd Download ISO And Mount As USB more specifically the pikvm part:

 IF    "${DUT_CONNECTION_METHOD}" == "pikvm"
            Upload Image To PiKVM    ${PIKVM_IP}    ${img_url}    ${img_name}
            Mount Image On PiKVM    ${PIKVM_IP}    ${img_name}
        ELSE
            Skip    unsupported
        END

What is the actual issue? That the remote source can't be mounted? Can;t it be downloaded locally and then mounted?

Add USB To Qemu img_name=${img_path}
ELSE
IF "${DUT_CONNECTION_METHOD}" == "pikvm"
Copy Image To PiKVM ${PIKVM_IP} ${img_file} ${img_name}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Download ISO And Mount As USB a different command was used: Upload Image To PiKVM what is the reason for change?

I cant find this keyword. Did you ad it on your own? Could you add it to the PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that kwd is a part of pikvm-rest-api submodule and thats where i put it: 3mdeb/pikvm-rest-api@main...secure-boot-local-img-upload-add and the reason why i made a different kwd is that on pikvm wiki i read, you need different arguments if you want to upload file from local (Upload Image To PiKVM uses url to send that file) and different from link

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you point to that KWD?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left some suggestions regarding this kwd in pikvm module here: https://github.com/3mdeb/pikvm-rest-api/pull/16/files#r1812874751

... logo.bmp
... https://cloud.3mdeb.com/index.php/s/rsjCdz4wSNesLio/download
... 6e5a6722955e4f78d947654630f27ff833703fbc04776ffed963c96617f6bb2a
Copy File ../osfv-test-data/coreboot_logo_convert.bmp ${CURDIR}/../dl-cache/logo.bmp
Copy link
Contributor

@macpijan macpijan Oct 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the point of this operation to copy from one local directory to another? Now that we have submodule with test data already in place, this seems redundant, doesn't it? It made some sense before when we used to download these files from various sources.

@wiktormowinski wiktormowinski changed the base branch from develop to main December 17, 2024 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants