Skip to content

run_qemu.sh: replace "grep root.img" with losetup --associated #184

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

Merged
merged 1 commit into from
Apr 30, 2025

Conversation

marc-hb
Copy link
Collaborator

@marc-hb marc-hb commented Apr 30, 2025

Stop parsing the output of losetup --list

losetup has enough options to avoid grep-ping its output and avoid accidentally catching the wrong root.img file.

Stop parsing the output of losetup --list

losetup has enough options to avoid grep-ping its output and avoid
accidentally catching the wrong root.img file.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
@marc-hb marc-hb marked this pull request as ready for review April 30, 2025 00:35
@marc-hb marc-hb requested a review from stellarhopper as a code owner April 30, 2025 00:35
@marc-hb marc-hb merged commit 74708d1 into pmem:main Apr 30, 2025
2 checks passed
@marc-hb marc-hb deleted the losetup-assoc branch April 30, 2025 19:42
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.

2 participants