support project mechanism
Support recipe and fix invoke-rc.d issue