{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/hypriot/os-rootfs/pulls/7","id":56961305,"html_url":"https://github.com/hypriot/os-rootfs/pull/7","diff_url":"https://github.com/hypriot/os-rootfs/pull/7.diff","patch_url":"https://github.com/hypriot/os-rootfs/pull/7.patch","issue_url":"https://api.github.com/repos/hypriot/os-rootfs/issues/7","number":7,"state":"open","locked":false,"title":"Add firstboot service","user":{"login":"Govinda-Fichtner","id":598566,"avatar_url":"https://avatars.githubusercontent.com/u/598566?v=3","gravatar_id":"","url":"https://api.github.com/users/Govinda-Fichtner","html_url":"https://github.com/Govinda-Fichtner","followers_url":"https://api.github.com/users/Govinda-Fichtner/followers","following_url":"https://api.github.com/users/Govinda-Fichtner/following{/other_user}","gists_url":"https://api.github.com/users/Govinda-Fichtner/gists{/gist_id}","starred_url":"https://api.github.com/users/Govinda-Fichtner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Govinda-Fichtner/subscriptions","organizations_url":"https://api.github.com/users/Govinda-Fichtner/orgs","repos_url":"https://api.github.com/users/Govinda-Fichtner/repos","events_url":"https://api.github.com/users/Govinda-Fichtner/events{/privacy}","received_events_url":"https://api.github.com/users/Govinda-Fichtner/received_events","type":"User","site_admin":false},"body":"##### Allows to run arbitrary tasks when a device is booted for the first time.\r\n\r\nThis is run as a systemd service that looks for files in /etc/firstboot.d.\r\nThose files are sourced and executed.\r\n\r\nAfterwards the service is disabled and thus not run again.\r\n\r\nI tested the generated rootfs with rpi image-builder. ","created_at":"2016-01-23T00:47:17Z","updated_at":"2016-01-23T00:47:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hypriot/os-rootfs/pulls/7/commits","review_comments_url":"https://api.github.com/repos/hypriot/os-rootfs/pulls/7/comments","review_comment_url":"https://api.github.com/repos/hypriot/os-rootfs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hypriot/os-rootfs/issues/7/comments","statuses_url":"https://api.github.com/repos/hypriot/os-rootfs/statuses/6f10282f3bdd124dad922fa1515fab9f1bf6d950","head":{"label":"hypriot:add-firstboot-service","ref":"add-firstboot-service","sha":"6f10282f3bdd124dad922fa1515fab9f1bf6d950","user":{"login":"hypriot","id":10440767,"avatar_url":"https://avatars.githubusercontent.com/u/10440767?v=3","gravatar_id":"","url":"https://api.github.com/users/hypriot","html_url":"https://github.com/hypriot","followers_url":"https://api.github.com/users/hypriot/followers","following_url":"https://api.github.com/users/hypriot/following{/other_user}","gists_url":"https://api.github.com/users/hypriot/gists{/gist_id}","starred_url":"https://api.github.com/users/hypriot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypriot/subscriptions","organizations_url":"https://api.github.com/users/hypriot/orgs","repos_url":"https://api.github.com/users/hypriot/repos","events_url":"https://api.github.com/users/hypriot/events{/privacy}","received_events_url":"https://api.github.com/users/hypriot/received_events","type":"User","site_admin":false},"repo":{"id":49148902,"name":"os-rootfs","full_name":"hypriot/os-rootfs","owner":{"login":"hypriot","id":10440767,"avatar_url":"https://avatars.githubusercontent.com/u/10440767?v=3","gravatar_id":"","url":"https://api.github.com/users/hypriot","html_url":"https://github.com/hypriot","followers_url":"https://api.github.com/users/hypriot/followers","following_url":"https://api.github.com/users/hypriot/following{/other_user}","gists_url":"https://api.github.com/users/hypriot/gists{/gist_id}","starred_url":"https://api.github.com/users/hypriot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypriot/subscriptions","organizations_url":"https://api.github.com/users/hypriot/orgs","repos_url":"https://api.github.com/users/hypriot/repos","events_url":"https://api.github.com/users/hypriot/events{/privacy}","received_events_url":"https://api.github.com/users/hypriot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hypriot/os-rootfs","description":"Build root filesystems for different architectures","fork":false,"url":"https://api.github.com/repos/hypriot/os-rootfs","forks_url":"https://api.github.com/repos/hypriot/os-rootfs/forks","keys_url":"https://api.github.com/repos/hypriot/os-rootfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hypriot/os-rootfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hypriot/os-rootfs/teams","hooks_url":"https://api.github.com/repos/hypriot/os-rootfs/hooks","issue_events_url":"https://api.github.com/repos/hypriot/os-rootfs/issues/events{/number}","events_url":"https://api.github.com/repos/hypriot/os-rootfs/events","assignees_url":"https://api.github.com/repos/hypriot/os-rootfs/assignees{/user}","branches_url":"https://api.github.com/repos/hypriot/os-rootfs/branches{/branch}","tags_url":"https://api.github.com/repos/hypriot/os-rootfs/tags","blobs_url":"https://api.github.com/repos/hypriot/os-rootfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hypriot/os-rootfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hypriot/os-rootfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/hypriot/os-rootfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hypriot/os-rootfs/statuses/{sha}","languages_url":"https://api.github.com/repos/hypriot/os-rootfs/languages","stargazers_url":"https://api.github.com/repos/hypriot/os-rootfs/stargazers","contributors_url":"https://api.github.com/repos/hypriot/os-rootfs/contributors","subscribers_url":"https://api.github.com/repos/hypriot/os-rootfs/subscribers","subscription_url":"https://api.github.com/repos/hypriot/os-rootfs/subscription","commits_url":"https://api.github.com/repos/hypriot/os-rootfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/hypriot/os-rootfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/hypriot/os-rootfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/hypriot/os-rootfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/hypriot/os-rootfs/contents/{+path}","compare_url":"https://api.github.com/repos/hypriot/os-rootfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hypriot/os-rootfs/merges","archive_url":"https://api.github.com/repos/hypriot/os-rootfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hypriot/os-rootfs/downloads","issues_url":"https://api.github.com/repos/hypriot/os-rootfs/issues{/number}","pulls_url":"https://api.github.com/repos/hypriot/os-rootfs/pulls{/number}","milestones_url":"https://api.github.com/repos/hypriot/os-rootfs/milestones{/number}","notifications_url":"https://api.github.com/repos/hypriot/os-rootfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hypriot/os-rootfs/labels{/name}","releases_url":"https://api.github.com/repos/hypriot/os-rootfs/releases{/id}","deployments_url":"https://api.github.com/repos/hypriot/os-rootfs/deployments","created_at":"2016-01-06T17:01:09Z","updated_at":"2016-01-22T20:41:59Z","pushed_at":"2016-01-23T00:41:35Z","git_url":"git://github.com/hypriot/os-rootfs.git","ssh_url":"git@github.com:hypriot/os-rootfs.git","clone_url":"https://github.com/hypriot/os-rootfs.git","svn_url":"https://github.com/hypriot/os-rootfs","homepage":"http://blog.hypriot.com","size":41,"stargazers_count":6,"watchers_count":6,"language":"Shell","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":6,"default_branch":"master"}},"base":{"label":"hypriot:master","ref":"master","sha":"2f258248da12f37b98d60ec20b45a4b671f7533d","user":{"login":"hypriot","id":10440767,"avatar_url":"https://avatars.githubusercontent.com/u/10440767?v=3","gravatar_id":"","url":"https://api.github.com/users/hypriot","html_url":"https://github.com/hypriot","followers_url":"https://api.github.com/users/hypriot/followers","following_url":"https://api.github.com/users/hypriot/following{/other_user}","gists_url":"https://api.github.com/users/hypriot/gists{/gist_id}","starred_url":"https://api.github.com/users/hypriot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypriot/subscriptions","organizations_url":"https://api.github.com/users/hypriot/orgs","repos_url":"https://api.github.com/users/hypriot/repos","events_url":"https://api.github.com/users/hypriot/events{/privacy}","received_events_url":"https://api.github.com/users/hypriot/received_events","type":"User","site_admin":false},"repo":{"id":49148902,"name":"os-rootfs","full_name":"hypriot/os-rootfs","owner":{"login":"hypriot","id":10440767,"avatar_url":"https://avatars.githubusercontent.com/u/10440767?v=3","gravatar_id":"","url":"https://api.github.com/users/hypriot","html_url":"https://github.com/hypriot","followers_url":"https://api.github.com/users/hypriot/followers","following_url":"https://api.github.com/users/hypriot/following{/other_user}","gists_url":"https://api.github.com/users/hypriot/gists{/gist_id}","starred_url":"https://api.github.com/users/hypriot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypriot/subscriptions","organizations_url":"https://api.github.com/users/hypriot/orgs","repos_url":"https://api.github.com/users/hypriot/repos","events_url":"https://api.github.com/users/hypriot/events{/privacy}","received_events_url":"https://api.github.com/users/hypriot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hypriot/os-rootfs","description":"Build root filesystems for different architectures","fork":false,"url":"https://api.github.com/repos/hypriot/os-rootfs","forks_url":"https://api.github.com/repos/hypriot/os-rootfs/forks","keys_url":"https://api.github.com/repos/hypriot/os-rootfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hypriot/os-rootfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hypriot/os-rootfs/teams","hooks_url":"https://api.github.com/repos/hypriot/os-rootfs/hooks","issue_events_url":"https://api.github.com/repos/hypriot/os-rootfs/issues/events{/number}","events_url":"https://api.github.com/repos/hypriot/os-rootfs/events","assignees_url":"https://api.github.com/repos/hypriot/os-rootfs/assignees{/user}","branches_url":"https://api.github.com/repos/hypriot/os-rootfs/branches{/branch}","tags_url":"https://api.github.com/repos/hypriot/os-rootfs/tags","blobs_url":"https://api.github.com/repos/hypriot/os-rootfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hypriot/os-rootfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hypriot/os-rootfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/hypriot/os-rootfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hypriot/os-rootfs/statuses/{sha}","languages_url":"https://api.github.com/repos/hypriot/os-rootfs/languages","stargazers_url":"https://api.github.com/repos/hypriot/os-rootfs/stargazers","contributors_url":"https://api.github.com/repos/hypriot/os-rootfs/contributors","subscribers_url":"https://api.github.com/repos/hypriot/os-rootfs/subscribers","subscription_url":"https://api.github.com/repos/hypriot/os-rootfs/subscription","commits_url":"https://api.github.com/repos/hypriot/os-rootfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/hypriot/os-rootfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/hypriot/os-rootfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/hypriot/os-rootfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/hypriot/os-rootfs/contents/{+path}","compare_url":"https://api.github.com/repos/hypriot/os-rootfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hypriot/os-rootfs/merges","archive_url":"https://api.github.com/repos/hypriot/os-rootfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hypriot/os-rootfs/downloads","issues_url":"https://api.github.com/repos/hypriot/os-rootfs/issues{/number}","pulls_url":"https://api.github.com/repos/hypriot/os-rootfs/pulls{/number}","milestones_url":"https://api.github.com/repos/hypriot/os-rootfs/milestones{/number}","notifications_url":"https://api.github.com/repos/hypriot/os-rootfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hypriot/os-rootfs/labels{/name}","releases_url":"https://api.github.com/repos/hypriot/os-rootfs/releases{/id}","deployments_url":"https://api.github.com/repos/hypriot/os-rootfs/deployments","created_at":"2016-01-06T17:01:09Z","updated_at":"2016-01-22T20:41:59Z","pushed_at":"2016-01-23T00:41:35Z","git_url":"git://github.com/hypriot/os-rootfs.git","ssh_url":"git@github.com:hypriot/os-rootfs.git","clone_url":"https://github.com/hypriot/os-rootfs.git","svn_url":"https://github.com/hypriot/os-rootfs","homepage":"http://blog.hypriot.com","size":41,"stargazers_count":6,"watchers_count":6,"language":"Shell","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hypriot/os-rootfs/pulls/7"},"html":{"href":"https://github.com/hypriot/os-rootfs/pull/7"},"issue":{"href":"https://api.github.com/repos/hypriot/os-rootfs/issues/7"},"comments":{"href":"https://api.github.com/repos/hypriot/os-rootfs/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/hypriot/os-rootfs/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/hypriot/os-rootfs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hypriot/os-rootfs/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/hypriot/os-rootfs/statuses/6f10282f3bdd124dad922fa1515fab9f1bf6d950"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":83,"deletions":4,"changed_files":8}}