{"action":"created","issue":{"url":"https://api.github.com/repos/vsergeev/lua-periphery/issues/5","labels_url":"https://api.github.com/repos/vsergeev/lua-periphery/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/vsergeev/lua-periphery/issues/5/comments","events_url":"https://api.github.com/repos/vsergeev/lua-periphery/issues/5/events","html_url":"https://github.com/vsergeev/lua-periphery/issues/5","id":77044459,"number":5,"title":"Adjust build system to support an external c-periphery","user":{"login":"tpetazzoni","id":1089203,"avatar_url":"https://avatars.githubusercontent.com/u/1089203?v=3","gravatar_id":"","url":"https://api.github.com/users/tpetazzoni","html_url":"https://github.com/tpetazzoni","followers_url":"https://api.github.com/users/tpetazzoni/followers","following_url":"https://api.github.com/users/tpetazzoni/following{/other_user}","gists_url":"https://api.github.com/users/tpetazzoni/gists{/gist_id}","starred_url":"https://api.github.com/users/tpetazzoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpetazzoni/subscriptions","organizations_url":"https://api.github.com/users/tpetazzoni/orgs","repos_url":"https://api.github.com/users/tpetazzoni/repos","events_url":"https://api.github.com/users/tpetazzoni/events{/privacy}","received_events_url":"https://api.github.com/users/tpetazzoni/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-16T13:52:26Z","updated_at":"2015-05-27T23:28:14Z","closed_at":"2015-05-27T23:28:14Z","body":"Currently, the build system of lua-periphery automatically clones and builds the c-periphery library by itself. While this is probably practical for some users, it is not practical at all for embedded Linux build systems such as Buildroot.\r\n\r\nSuch build systems really like to ensure that they download all the source code they build, in order to guarantee that the system can be rebuilt in the exact same state from an offline (i.e not Internet connected) machine. What lua-periphery does is currently breaking this assumption.\r\n\r\nWould it be possible to introduce an option to the Makefile to support using an already built c-periphery library?\r\n\r\nYou can look at http://patchwork.ozlabs.org/patch/473047/ for the two patches I've proposed to Buildroot to solve the problem. Of course, those patches break the current clone+build mechanism, so a better solution will be needed for upstream lua-periphery."},"comment":{"url":"https://api.github.com/repos/vsergeev/lua-periphery/issues/comments/106108926","html_url":"https://github.com/vsergeev/lua-periphery/issues/5#issuecomment-106108926","issue_url":"https://api.github.com/repos/vsergeev/lua-periphery/issues/5","id":106108926,"user":{"login":"vsergeev","id":524033,"avatar_url":"https://avatars.githubusercontent.com/u/524033?v=3","gravatar_id":"","url":"https://api.github.com/users/vsergeev","html_url":"https://github.com/vsergeev","followers_url":"https://api.github.com/users/vsergeev/followers","following_url":"https://api.github.com/users/vsergeev/following{/other_user}","gists_url":"https://api.github.com/users/vsergeev/gists{/gist_id}","starred_url":"https://api.github.com/users/vsergeev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsergeev/subscriptions","organizations_url":"https://api.github.com/users/vsergeev/orgs","repos_url":"https://api.github.com/users/vsergeev/repos","events_url":"https://api.github.com/users/vsergeev/events{/privacy}","received_events_url":"https://api.github.com/users/vsergeev/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T23:28:14Z","updated_at":"2015-05-27T23:28:14Z","body":"Resolved in 397db999944fd4366cc51beaa710130c553b1884.\r\n\r\nPatches updating relevant packages sent to buildroot mailing list."}}