-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an issue where unmount would fail because of lingering processes
Update cleanup_image script to use fuser and umount --lazy --force in last resort. Fixes #105
- Loading branch information
Showing
2 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Test unmount succeeds even if processes are still running | ||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
- 'releases/**' | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./ # pguyot/arm-runner-action@HEAD | ||
with: | ||
image_additional_mb: 1024 | ||
commands: | | ||
sudo apt update -y | ||
sudo apt install xvfb fluxbox -y | ||
export DISPLAY=:0.0 | ||
Xvfb :0 -screen 0 1280x720x24 > /dev/null 2>&1 & | ||
sleep 1 | ||
fluxbox > /dev/null 2>&1 & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters