Skip to content

Error checking additions#104

Merged
jean-edouard merged 2 commits intoOpenXT:masterfrom
jandryuk:compat-fixes
Apr 23, 2019
Merged

Error checking additions#104
jean-edouard merged 2 commits intoOpenXT:masterfrom
jandryuk:compat-fixes

Conversation

@jandryuk
Copy link
Copy Markdown
Contributor

There are non-compat error checking additions from #103

We need create_lv to return an error when it cannot create an LV.

While touching the seal_system, prefix the seal commands with do_cmd so they are logged.

When lvcreate fails we should bubble the error up to the caller.

During development, I had a huge debugging dom0 which left only 24MB
free in the volume group after being written to /dev/xenclient/root.new.
This wasn't enough for the 143MB upgrade-compat image, so its LV could
not be created.  The error was not caught, so execution continued until
install-bootloader eventually failed and failed the OTA.

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Use do_cmd so we have better insight into seal_system's operation.

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
@jean-edouard
Copy link
Copy Markdown
Member

jean-edouard commented Apr 17, 2019

Merging soon.

@jean-edouard
Copy link
Copy Markdown
Member

Merging soon, for real now.

@jean-edouard jean-edouard merged commit 54da014 into OpenXT:master Apr 23, 2019
@jandryuk jandryuk deleted the compat-fixes branch July 27, 2022 13:45
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