Bug 4876 - build directory needs to be cleaned if webhob fails to start
Summary: build directory needs to be cleaned if webhob fails to start
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.5 M4
Assignee: Calin Dragomir
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-07-19 10:43 UTC by Calin Dragomir
Modified: 2014-01-21 15:04 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Calin Dragomir 2013-07-19 10:43:40 UTC
If the start webhob command fails we need to kill any process that's using bitbake.lock and to delete whbmain.pid file.

Otherwise we'll be warned that the system is already running even if it isn't working properly, and cannot be stopped or restarted correctly with these files present or involved in another process.
Comment 1 Alexandru Damian 2013-07-29 14:38:31 UTC
Fixes to webhob start script commited in webhob-poky/master
Comment 2 Andreea Brandusa Proca 2014-01-21 15:04:51 UTC
Verified in master:e4c23f7bcb79072ea6028fbdf8f3f0dc17a63371.