document how to clean the build in getting started

This commit is contained in:
Ciro Santilli
2018-01-20 10:18:48 +00:00
parent 1be85b6dc2
commit 03f418b53e

View File

@@ -200,3 +200,23 @@ And in QEMU:
Just make sure that you never click inside the QEMU window when doing that, otherwise you mouse gets captured forever, and the only solution I can find is to go to a TTY with Ctrl + Alt + F1 and `kill` QEMU. Just make sure that you never click inside the QEMU window when doing that, otherwise you mouse gets captured forever, and the only solution I can find is to go to a TTY with Ctrl + Alt + F1 and `kill` QEMU.
You can still send key presses to QEMU however even without the mouse capture, just either click on the title bar, or alt tab to give it focus. You can still send key presses to QEMU however even without the mouse capture, just either click on the title bar, or alt tab to give it focus.
## Clean the build
You did something crazy, and nothing seems to work anymore?
All builds are stored under `buildroot/`,
The most coarse thing you can do is:
cd buildroot
git checkout -- .
git clean -xdf .
To only nuke one architecture, do:
rm -rf buildroot/output.x86_64~
Only nuke one one package:
rm -rf buildroot/output.x86_64~/build/<package>