{"action":"created","comment":{"url":"https://api.github.com/repos/kata-containers/osbuilder/pulls/comments/153740829","pull_request_review_id":79787086,"id":153740829,"diff_hunk":"@@ -0,0 +1,57 @@\n+# Building a rootfs for Kata Containers Guest OS #\n+\n+Kata Containers guest OS is created using `rootfs.sh`.\n+\n+## Supported base OS ##\n+\n+The `rootfs.sh` script support different based OS `rootfs`. To build\n+a `rootfs` based in a supported based OS run:\n+\n+``` ./rootfs.sh <distro> ```\n+\n+To check the supported `rootfs` based OS use:\n+\n+```\n+./rootfs.sh -h","path":"rootfs-builder/README.md","position":15,"original_position":15,"commit_id":"945cbe43158e773f4e796384b4caedcf4a55bf09","original_commit_id":"945cbe43158e773f4e796384b4caedcf4a55bf09","user":{"login":"jodh-intel","id":20315601,"avatar_url":"https://avatars1.githubusercontent.com/u/20315601?v=4","gravatar_id":"","url":"https://api.github.com/users/jodh-intel","html_url":"https://github.com/jodh-intel","followers_url":"https://api.github.com/users/jodh-intel/followers","following_url":"https://api.github.com/users/jodh-intel/following{/other_user}","gists_url":"https://api.github.com/users/jodh-intel/gists{/gist_id}","starred_url":"https://api.github.com/users/jodh-intel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodh-intel/subscriptions","organizations_url":"https://api.github.com/users/jodh-intel/orgs","repos_url":"https://api.github.com/users/jodh-intel/repos","events_url":"https://api.github.com/users/jodh-intel/events{/privacy}","received_events_url":"https://api.github.com/users/jodh-intel/received_events","type":"User","site_admin":false},"body":"`$ `.","created_at":"2017-11-29T10:03:39Z","updated_at":"2017-11-29T10:25:13Z","html_url":"https://github.com/kata-containers/osbuilder/pull/1#discussion_r153740829","pull_request_url":"https://api.github.com/repos/kata-containers/osbuilder/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/kata-containers/osbuilder/pulls/comments/153740829"},"html":{"href":"https://github.com/kata-containers/osbuilder/pull/1#discussion_r153740829"},"pull_request":{"href":"https://api.github.com/repos/kata-containers/osbuilder/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/kata-containers/osbuilder/pulls/1","id":155123930,"html_url":"https://github.com/kata-containers/osbuilder/pull/1","diff_url":"https://github.com/kata-containers/osbuilder/pull/1.diff","patch_url":"https://github.com/kata-containers/osbuilder/pull/1.patch","issue_url":"https://api.github.com/repos/kata-containers/osbuilder/issues/1","number":1,"state":"open","locked":false,"title":"Image creation support","user":{"login":"jcvenegas","id":20407785,"avatar_url":"https://avatars3.githubusercontent.com/u/20407785?v=4","gravatar_id":"","url":"https://api.github.com/users/jcvenegas","html_url":"https://github.com/jcvenegas","followers_url":"https://api.github.com/users/jcvenegas/followers","following_url":"https://api.github.com/users/jcvenegas/following{/other_user}","gists_url":"https://api.github.com/users/jcvenegas/gists{/gist_id}","starred_url":"https://api.github.com/users/jcvenegas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcvenegas/subscriptions","organizations_url":"https://api.github.com/users/jcvenegas/orgs","repos_url":"https://api.github.com/users/jcvenegas/repos","events_url":"https://api.github.com/users/jcvenegas/events{/privacy}","received_events_url":"https://api.github.com/users/jcvenegas/received_events","type":"User","site_admin":false},"body":"Add scripts for build rootfs:\r\n- Required binaries: `/sbin/init` and `/bin/kata-agent`\r\n- rootfs based on  Clear Linux\r\n- rootfs based on Fedora (WIP)\r\n- Agent is build from source code\r\n- README\r\n\r\nAdd script to build image:\r\n- Created image based in rootfs directory\r\n   - Image format: gpt format,\r\n   - only one partition (root) \r\n   - Partition format ext4 to use as DAX device.\r\n- Check if agent and init is intalled\r\n- README\r\n\r\nMissing: \r\n   Build in docker containers ( make easy for distros does no have requried packages)","created_at":"2017-11-28T16:43:50Z","updated_at":"2017-11-29T10:25:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e1d20e4993f89aecaba8ef85f76c252fccb6384","assignee":null,"assignees":[],"requested_reviewers":[{"login":"gnawux","id":54124,"avatar_url":"https://avatars0.githubusercontent.com/u/54124?v=4","gravatar_id":"","url":"https://api.github.com/users/gnawux","html_url":"https://github.com/gnawux","followers_url":"https://api.github.com/users/gnawux/followers","following_url":"https://api.github.com/users/gnawux/following{/other_user}","gists_url":"https://api.github.com/users/gnawux/gists{/gist_id}","starred_url":"https://api.github.com/users/gnawux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnawux/subscriptions","organizations_url":"https://api.github.com/users/gnawux/orgs","repos_url":"https://api.github.com/users/gnawux/repos","events_url":"https://api.github.com/users/gnawux/events{/privacy}","received_events_url":"https://api.github.com/users/gnawux/received_events","type":"User","site_admin":false},{"login":"bergwolf","id":88972,"avatar_url":"https://avatars0.githubusercontent.com/u/88972?v=4","gravatar_id":"","url":"https://api.github.com/users/bergwolf","html_url":"https://github.com/bergwolf","followers_url":"https://api.github.com/users/bergwolf/followers","following_url":"https://api.github.com/users/bergwolf/following{/other_user}","gists_url":"https://api.github.com/users/bergwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/bergwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bergwolf/subscriptions","organizations_url":"https://api.github.com/users/bergwolf/orgs","repos_url":"https://api.github.com/users/bergwolf/repos","events_url":"https://api.github.com/users/bergwolf/events{/privacy}","received_events_url":"https://api.github.com/users/bergwolf/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/kata-containers/osbuilder/pulls/1/commits","review_comments_url":"https://api.github.com/repos/kata-containers/osbuilder/pulls/1/comments","review_comment_url":"https://api.github.com/repos/kata-containers/osbuilder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kata-containers/osbuilder/issues/1/comments","statuses_url":"https://api.github.com/repos/kata-containers/osbuilder/statuses/945cbe43158e773f4e796384b4caedcf4a55bf09","head":{"label":"jcvenegas:image-creation-support","ref":"image-creation-support","sha":"945cbe43158e773f4e796384b4caedcf4a55bf09","user":{"login":"jcvenegas","id":20407785,"avatar_url":"https://avatars3.githubusercontent.com/u/20407785?v=4","gravatar_id":"","url":"https://api.github.com/users/jcvenegas","html_url":"https://github.com/jcvenegas","followers_url":"https://api.github.com/users/jcvenegas/followers","following_url":"https://api.github.com/users/jcvenegas/following{/other_user}","gists_url":"https://api.github.com/users/jcvenegas/gists{/gist_id}","starred_url":"https://api.github.com/users/jcvenegas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcvenegas/subscriptions","organizations_url":"https://api.github.com/users/jcvenegas/orgs","repos_url":"https://api.github.com/users/jcvenegas/repos","events_url":"https://api.github.com/users/jcvenegas/events{/privacy}","received_events_url":"https://api.github.com/users/jcvenegas/received_events","type":"User","site_admin":false},"repo":{"id":112159621,"name":"osbuilder-1","full_name":"jcvenegas/osbuilder-1","owner":{"login":"jcvenegas","id":20407785,"avatar_url":"https://avatars3.githubusercontent.com/u/20407785?v=4","gravatar_id":"","url":"https://api.github.com/users/jcvenegas","html_url":"https://github.com/jcvenegas","followers_url":"https://api.github.com/users/jcvenegas/followers","following_url":"https://api.github.com/users/jcvenegas/following{/other_user}","gists_url":"https://api.github.com/users/jcvenegas/gists{/gist_id}","starred_url":"https://api.github.com/users/jcvenegas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcvenegas/subscriptions","organizations_url":"https://api.github.com/users/jcvenegas/orgs","repos_url":"https://api.github.com/users/jcvenegas/repos","events_url":"https://api.github.com/users/jcvenegas/events{/privacy}","received_events_url":"https://api.github.com/users/jcvenegas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jcvenegas/osbuilder-1","description":"Kata containers guest OS building scripts","fork":true,"url":"https://api.github.com/repos/jcvenegas/osbuilder-1","forks_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/forks","keys_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/teams","hooks_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/hooks","issue_events_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/issues/events{/number}","events_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/events","assignees_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/assignees{/user}","branches_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/branches{/branch}","tags_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/tags","blobs_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/statuses/{sha}","languages_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/languages","stargazers_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/stargazers","contributors_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/contributors","subscribers_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/subscribers","subscription_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/subscription","commits_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/contents/{+path}","compare_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/merges","archive_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/downloads","issues_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/issues{/number}","pulls_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/pulls{/number}","milestones_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/milestones{/number}","notifications_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/labels{/name}","releases_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/releases{/id}","deployments_url":"https://api.github.com/repos/jcvenegas/osbuilder-1/deployments","created_at":"2017-11-27T06:56:41Z","updated_at":"2017-11-13T11:25:11Z","pushed_at":"2017-11-29T08:09:57Z","git_url":"git://github.com/jcvenegas/osbuilder-1.git","ssh_url":"git@github.com:jcvenegas/osbuilder-1.git","clone_url":"https://github.com/jcvenegas/osbuilder-1.git","svn_url":"https://github.com/jcvenegas/osbuilder-1","homepage":"","size":21,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"kata-containers:master","ref":"master","sha":"6d07e2cddb3128db885295a0e8a0ce9196cf1dc8","user":{"login":"kata-containers","id":33289952,"avatar_url":"https://avatars3.githubusercontent.com/u/33289952?v=4","gravatar_id":"","url":"https://api.github.com/users/kata-containers","html_url":"https://github.com/kata-containers","followers_url":"https://api.github.com/users/kata-containers/followers","following_url":"https://api.github.com/users/kata-containers/following{/other_user}","gists_url":"https://api.github.com/users/kata-containers/gists{/gist_id}","starred_url":"https://api.github.com/users/kata-containers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kata-containers/subscriptions","organizations_url":"https://api.github.com/users/kata-containers/orgs","repos_url":"https://api.github.com/users/kata-containers/repos","events_url":"https://api.github.com/users/kata-containers/events{/privacy}","received_events_url":"https://api.github.com/users/kata-containers/received_events","type":"Organization","site_admin":false},"repo":{"id":110539619,"name":"osbuilder","full_name":"kata-containers/osbuilder","owner":{"login":"kata-containers","id":33289952,"avatar_url":"https://avatars3.githubusercontent.com/u/33289952?v=4","gravatar_id":"","url":"https://api.github.com/users/kata-containers","html_url":"https://github.com/kata-containers","followers_url":"https://api.github.com/users/kata-containers/followers","following_url":"https://api.github.com/users/kata-containers/following{/other_user}","gists_url":"https://api.github.com/users/kata-containers/gists{/gist_id}","starred_url":"https://api.github.com/users/kata-containers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kata-containers/subscriptions","organizations_url":"https://api.github.com/users/kata-containers/orgs","repos_url":"https://api.github.com/users/kata-containers/repos","events_url":"https://api.github.com/users/kata-containers/events{/privacy}","received_events_url":"https://api.github.com/users/kata-containers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kata-containers/osbuilder","description":"Kata containers guest OS building scripts","fork":false,"url":"https://api.github.com/repos/kata-containers/osbuilder","forks_url":"https://api.github.com/repos/kata-containers/osbuilder/forks","keys_url":"https://api.github.com/repos/kata-containers/osbuilder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kata-containers/osbuilder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kata-containers/osbuilder/teams","hooks_url":"https://api.github.com/repos/kata-containers/osbuilder/hooks","issue_events_url":"https://api.github.com/repos/kata-containers/osbuilder/issues/events{/number}","events_url":"https://api.github.com/repos/kata-containers/osbuilder/events","assignees_url":"https://api.github.com/repos/kata-containers/osbuilder/assignees{/user}","branches_url":"https://api.github.com/repos/kata-containers/osbuilder/branches{/branch}","tags_url":"https://api.github.com/repos/kata-containers/osbuilder/tags","blobs_url":"https://api.github.com/repos/kata-containers/osbuilder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kata-containers/osbuilder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kata-containers/osbuilder/git/refs{/sha}","trees_url":"https://api.github.com/repos/kata-containers/osbuilder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kata-containers/osbuilder/statuses/{sha}","languages_url":"https://api.github.com/repos/kata-containers/osbuilder/languages","stargazers_url":"https://api.github.com/repos/kata-containers/osbuilder/stargazers","contributors_url":"https://api.github.com/repos/kata-containers/osbuilder/contributors","subscribers_url":"https://api.github.com/repos/kata-containers/osbuilder/subscribers","subscription_url":"https://api.github.com/repos/kata-containers/osbuilder/subscription","commits_url":"https://api.github.com/repos/kata-containers/osbuilder/commits{/sha}","git_commits_url":"https://api.github.com/repos/kata-containers/osbuilder/git/commits{/sha}","comments_url":"https://api.github.com/repos/kata-containers/osbuilder/comments{/number}","issue_comment_url":"https://api.github.com/repos/kata-containers/osbuilder/issues/comments{/number}","contents_url":"https://api.github.com/repos/kata-containers/osbuilder/contents/{+path}","compare_url":"https://api.github.com/repos/kata-containers/osbuilder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kata-containers/osbuilder/merges","archive_url":"https://api.github.com/repos/kata-containers/osbuilder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kata-containers/osbuilder/downloads","issues_url":"https://api.github.com/repos/kata-containers/osbuilder/issues{/number}","pulls_url":"https://api.github.com/repos/kata-containers/osbuilder/pulls{/number}","milestones_url":"https://api.github.com/repos/kata-containers/osbuilder/milestones{/number}","notifications_url":"https://api.github.com/repos/kata-containers/osbuilder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kata-containers/osbuilder/labels{/name}","releases_url":"https://api.github.com/repos/kata-containers/osbuilder/releases{/id}","deployments_url":"https://api.github.com/repos/kata-containers/osbuilder/deployments","created_at":"2017-11-13T11:24:55Z","updated_at":"2017-11-13T11:25:11Z","pushed_at":"2017-11-29T08:09:58Z","git_url":"git://github.com/kata-containers/osbuilder.git","ssh_url":"git@github.com:kata-containers/osbuilder.git","clone_url":"https://github.com/kata-containers/osbuilder.git","svn_url":"https://github.com/kata-containers/osbuilder","homepage":"","size":4,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kata-containers/osbuilder/pulls/1"},"html":{"href":"https://github.com/kata-containers/osbuilder/pull/1"},"issue":{"href":"https://api.github.com/repos/kata-containers/osbuilder/issues/1"},"comments":{"href":"https://api.github.com/repos/kata-containers/osbuilder/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/kata-containers/osbuilder/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/kata-containers/osbuilder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kata-containers/osbuilder/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/kata-containers/osbuilder/statuses/945cbe43158e773f4e796384b4caedcf4a55bf09"}},"author_association":"NONE"}}
{"actor":{"display_login":"jodh-intel"}}