{"action":"created","comment":{"url":"https://api.github.com/repos/coreos/scripts/pulls/comments/33621172","id":33621172,"diff_hunk":"@@ -298,6 +298,9 @@ finish_image() {\n     sudo fstrim \"${root_fs_dir}/usr\" || true\n   fi\n \n+  # Build the selinux policy\n+  sudo chroot ${root_fs_dir} bash -c \"cd /usr/share/selinux/mcs; semodule -i *.pp\"","path":"build_library/build_image_util.sh","position":5,"original_position":5,"commit_id":"6061f972a16cd21fb9d83543dc4d7f95e8e9502b","original_commit_id":"6061f972a16cd21fb9d83543dc4d7f95e8e9502b","user":{"login":"mjg59","id":1420843,"avatar_url":"https://avatars.githubusercontent.com/u/1420843?v=3","gravatar_id":"","url":"https://api.github.com/users/mjg59","html_url":"https://github.com/mjg59","followers_url":"https://api.github.com/users/mjg59/followers","following_url":"https://api.github.com/users/mjg59/following{/other_user}","gists_url":"https://api.github.com/users/mjg59/gists{/gist_id}","starred_url":"https://api.github.com/users/mjg59/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjg59/subscriptions","organizations_url":"https://api.github.com/users/mjg59/orgs","repos_url":"https://api.github.com/users/mjg59/repos","events_url":"https://api.github.com/users/mjg59/events{/privacy}","received_events_url":"https://api.github.com/users/mjg59/received_events","type":"User","site_admin":false},"body":"\"Standard\" approach is qemu and binfmt_misc…","created_at":"2015-06-30T20:41:31Z","updated_at":"2015-06-30T20:41:31Z","html_url":"https://github.com/coreos/scripts/pull/425#discussion_r33621172","pull_request_url":"https://api.github.com/repos/coreos/scripts/pulls/425","_links":{"self":{"href":"https://api.github.com/repos/coreos/scripts/pulls/comments/33621172"},"html":{"href":"https://github.com/coreos/scripts/pull/425#discussion_r33621172"},"pull_request":{"href":"https://api.github.com/repos/coreos/scripts/pulls/425"}}},"pull_request":{"url":"https://api.github.com/repos/coreos/scripts/pulls/425","id":38699332,"html_url":"https://github.com/coreos/scripts/pull/425","diff_url":"https://github.com/coreos/scripts/pull/425.diff","patch_url":"https://github.com/coreos/scripts/pull/425.patch","issue_url":"https://api.github.com/repos/coreos/scripts/issues/425","number":425,"state":"open","locked":false,"title":"Build selinux policy","user":{"login":"mjg59","id":1420843,"avatar_url":"https://avatars.githubusercontent.com/u/1420843?v=3","gravatar_id":"","url":"https://api.github.com/users/mjg59","html_url":"https://github.com/mjg59","followers_url":"https://api.github.com/users/mjg59/followers","following_url":"https://api.github.com/users/mjg59/following{/other_user}","gists_url":"https://api.github.com/users/mjg59/gists{/gist_id}","starred_url":"https://api.github.com/users/mjg59/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjg59/subscriptions","organizations_url":"https://api.github.com/users/mjg59/orgs","repos_url":"https://api.github.com/users/mjg59/repos","events_url":"https://api.github.com/users/mjg59/events{/privacy}","received_events_url":"https://api.github.com/users/mjg59/received_events","type":"User","site_admin":false},"body":"Create an selinux policy at image build time - despite the -i flag, this\r\nwon't attempt to install it into the running kernel.","created_at":"2015-06-27T00:00:35Z","updated_at":"2015-06-30T20:41:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed88058dcd67e62b6218f5d2e9e5185293cbfcc2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/coreos/scripts/pulls/425/commits","review_comments_url":"https://api.github.com/repos/coreos/scripts/pulls/425/comments","review_comment_url":"https://api.github.com/repos/coreos/scripts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coreos/scripts/issues/425/comments","statuses_url":"https://api.github.com/repos/coreos/scripts/statuses/6061f972a16cd21fb9d83543dc4d7f95e8e9502b","head":{"label":"mjg59:master","ref":"master","sha":"6061f972a16cd21fb9d83543dc4d7f95e8e9502b","user":{"login":"mjg59","id":1420843,"avatar_url":"https://avatars.githubusercontent.com/u/1420843?v=3","gravatar_id":"","url":"https://api.github.com/users/mjg59","html_url":"https://github.com/mjg59","followers_url":"https://api.github.com/users/mjg59/followers","following_url":"https://api.github.com/users/mjg59/following{/other_user}","gists_url":"https://api.github.com/users/mjg59/gists{/gist_id}","starred_url":"https://api.github.com/users/mjg59/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjg59/subscriptions","organizations_url":"https://api.github.com/users/mjg59/orgs","repos_url":"https://api.github.com/users/mjg59/repos","events_url":"https://api.github.com/users/mjg59/events{/privacy}","received_events_url":"https://api.github.com/users/mjg59/received_events","type":"User","site_admin":false},"repo":{"id":33894440,"name":"scripts","full_name":"mjg59/scripts","owner":{"login":"mjg59","id":1420843,"avatar_url":"https://avatars.githubusercontent.com/u/1420843?v=3","gravatar_id":"","url":"https://api.github.com/users/mjg59","html_url":"https://github.com/mjg59","followers_url":"https://api.github.com/users/mjg59/followers","following_url":"https://api.github.com/users/mjg59/following{/other_user}","gists_url":"https://api.github.com/users/mjg59/gists{/gist_id}","starred_url":"https://api.github.com/users/mjg59/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjg59/subscriptions","organizations_url":"https://api.github.com/users/mjg59/orgs","repos_url":"https://api.github.com/users/mjg59/repos","events_url":"https://api.github.com/users/mjg59/events{/privacy}","received_events_url":"https://api.github.com/users/mjg59/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mjg59/scripts","description":"Build and maintenance scripts for CoreOS","fork":true,"url":"https://api.github.com/repos/mjg59/scripts","forks_url":"https://api.github.com/repos/mjg59/scripts/forks","keys_url":"https://api.github.com/repos/mjg59/scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mjg59/scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mjg59/scripts/teams","hooks_url":"https://api.github.com/repos/mjg59/scripts/hooks","issue_events_url":"https://api.github.com/repos/mjg59/scripts/issues/events{/number}","events_url":"https://api.github.com/repos/mjg59/scripts/events","assignees_url":"https://api.github.com/repos/mjg59/scripts/assignees{/user}","branches_url":"https://api.github.com/repos/mjg59/scripts/branches{/branch}","tags_url":"https://api.github.com/repos/mjg59/scripts/tags","blobs_url":"https://api.github.com/repos/mjg59/scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mjg59/scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mjg59/scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/mjg59/scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mjg59/scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/mjg59/scripts/languages","stargazers_url":"https://api.github.com/repos/mjg59/scripts/stargazers","contributors_url":"https://api.github.com/repos/mjg59/scripts/contributors","subscribers_url":"https://api.github.com/repos/mjg59/scripts/subscribers","subscription_url":"https://api.github.com/repos/mjg59/scripts/subscription","commits_url":"https://api.github.com/repos/mjg59/scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/mjg59/scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/mjg59/scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/mjg59/scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/mjg59/scripts/contents/{+path}","compare_url":"https://api.github.com/repos/mjg59/scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mjg59/scripts/merges","archive_url":"https://api.github.com/repos/mjg59/scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mjg59/scripts/downloads","issues_url":"https://api.github.com/repos/mjg59/scripts/issues{/number}","pulls_url":"https://api.github.com/repos/mjg59/scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/mjg59/scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/mjg59/scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mjg59/scripts/labels{/name}","releases_url":"https://api.github.com/repos/mjg59/scripts/releases{/id}","created_at":"2015-04-13T21:15:19Z","updated_at":"2015-04-23T23:50:48Z","pushed_at":"2015-06-27T00:00:20Z","git_url":"git://github.com/mjg59/scripts.git","ssh_url":"git@github.com:mjg59/scripts.git","clone_url":"https://github.com/mjg59/scripts.git","svn_url":"https://github.com/mjg59/scripts","homepage":"http://coreos.com/docs/sdk/","size":7794,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"coreos:master","ref":"master","sha":"b38b2142540f95ef547ee8869e501a427feb2713","user":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"repo":{"id":8488880,"name":"scripts","full_name":"coreos/scripts","owner":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coreos/scripts","description":"Build and maintenance scripts for CoreOS","fork":false,"url":"https://api.github.com/repos/coreos/scripts","forks_url":"https://api.github.com/repos/coreos/scripts/forks","keys_url":"https://api.github.com/repos/coreos/scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/scripts/teams","hooks_url":"https://api.github.com/repos/coreos/scripts/hooks","issue_events_url":"https://api.github.com/repos/coreos/scripts/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/scripts/events","assignees_url":"https://api.github.com/repos/coreos/scripts/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/scripts/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/scripts/tags","blobs_url":"https://api.github.com/repos/coreos/scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/scripts/languages","stargazers_url":"https://api.github.com/repos/coreos/scripts/stargazers","contributors_url":"https://api.github.com/repos/coreos/scripts/contributors","subscribers_url":"https://api.github.com/repos/coreos/scripts/subscribers","subscription_url":"https://api.github.com/repos/coreos/scripts/subscription","commits_url":"https://api.github.com/repos/coreos/scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/coreos/scripts/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/scripts/merges","archive_url":"https://api.github.com/repos/coreos/scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/scripts/downloads","issues_url":"https://api.github.com/repos/coreos/scripts/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/scripts/labels{/name}","releases_url":"https://api.github.com/repos/coreos/scripts/releases{/id}","created_at":"2013-02-28T21:45:57Z","updated_at":"2015-06-25T03:59:40Z","pushed_at":"2015-06-30T00:52:28Z","git_url":"git://github.com/coreos/scripts.git","ssh_url":"git@github.com:coreos/scripts.git","clone_url":"https://github.com/coreos/scripts.git","svn_url":"https://github.com/coreos/scripts","homepage":"http://coreos.com/docs/sdk/","size":10022,"stargazers_count":54,"watchers_count":54,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":7,"forks":56,"open_issues":7,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/scripts/pulls/425"},"html":{"href":"https://github.com/coreos/scripts/pull/425"},"issue":{"href":"https://api.github.com/repos/coreos/scripts/issues/425"},"comments":{"href":"https://api.github.com/repos/coreos/scripts/issues/425/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/scripts/pulls/425/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/scripts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coreos/scripts/pulls/425/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/scripts/statuses/6061f972a16cd21fb9d83543dc4d7f95e8e9502b"}}}}