{"action":"created","comment":{"url":"https://api.github.com/repos/u-root/u-root/pulls/comments/137901107","pull_request_review_id":61635899,"id":137901107,"diff_hunk":"@@ -0,0 +1,92 @@\n+package main\n+\n+import (\n+\t\"bytes\"\n+\t\"fmt\"\n+\t\"io/ioutil\"\n+\t\"log\"\n+\t\"os\"\n+\t\"os/exec\"\n+\t\"syscall\"\n+)\n+\n+var (\n+\ttczPackages  = []string{\"Xorg-7.7-bin\", \"Xorg-7.7-dev\", \"Xorg-7.7-lib-dev\", \"Xorg-7.7-lib\", \"Xorg-7.7\", \"Xorg-fonts\", \"xorg-proto\", \"xorg-server-dev\",\n+\"xorg-server\",\"Xprogs\",\"Xlibs\",\"xpad-locale\",\"xpad\",\"Xlibs\",\"Xfbdev\",\"xvid\",\"xkeyboard-config\",\"xz\",\"gdb\",\"libX11-dev\",\"libX11\",\"libXfixes\",\"i2c-4.8.17-tinycore64\",\"graphics-4.8.17-tinycore64\",\"libXvmc\",\"libdrm\",\"pixman\",\"libXinerama\",\"libXrandr\",\"libXdamage\",\"libXcursor\",\"libXtst\",\"libxshmfence\",\"xf86-video-intel\",\"openssh\",\"aterm\"}\n+\tsshdCommands = []string{\"Protocol 2\", \"AcceptEnv LANG LC_*\", \"UsePAM no\", \"ChallengeResponseAuthentication no\", \"passwordauthentication no\", \"AuthorizedKeysFile ~/.ssh/authorized_keys\", \"PermitRootLogin without-password\", \"X11Forwarding yes\", \"RSAAuthentication yes\", \"PubkeyAuthentication yes\", \"X11DisplayOffset 10\", \"X11UseLocalhost yes\"}\n+)\n+\n+func setup() error {\n+\tif false {\n+\t\treturn syscall.Mount(\"/tmp\", \"/tmp\", \"tmpfs\", syscall.MS_MGC_VAL, \"\")\n+\t}\n+\tcmd := exec.Command(\"dhclient\", \"&\")","path":"cmds/xinit/xinit.go","position":23,"original_position":23,"commit_id":"fec92a1e6f0d7fe1df02d485543bb1e444aadcf6","original_commit_id":"fec92a1e6f0d7fe1df02d485543bb1e444aadcf6","user":{"login":"hugelgupf","id":1994130,"avatar_url":"https://avatars2.githubusercontent.com/u/1994130?v=4","gravatar_id":"","url":"https://api.github.com/users/hugelgupf","html_url":"https://github.com/hugelgupf","followers_url":"https://api.github.com/users/hugelgupf/followers","following_url":"https://api.github.com/users/hugelgupf/following{/other_user}","gists_url":"https://api.github.com/users/hugelgupf/gists{/gist_id}","starred_url":"https://api.github.com/users/hugelgupf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugelgupf/subscriptions","organizations_url":"https://api.github.com/users/hugelgupf/orgs","repos_url":"https://api.github.com/users/hugelgupf/repos","events_url":"https://api.github.com/users/hugelgupf/events{/privacy}","received_events_url":"https://api.github.com/users/hugelgupf/received_events","type":"User","site_admin":false},"body":"We should get this stuff in, but just a note for future work: we have an implementation of dhclient, we should be able to just import the dhclient package and call a dhclient function instead of running it as a subprocess.","created_at":"2017-09-08T22:18:55Z","updated_at":"2017-09-08T22:30:18Z","html_url":"https://github.com/u-root/u-root/pull/349#discussion_r137901107","pull_request_url":"https://api.github.com/repos/u-root/u-root/pulls/349","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/u-root/u-root/pulls/comments/137901107"},"html":{"href":"https://github.com/u-root/u-root/pull/349#discussion_r137901107"},"pull_request":{"href":"https://api.github.com/repos/u-root/u-root/pulls/349"}}},"pull_request":{"url":"https://api.github.com/repos/u-root/u-root/pulls/349","id":140104387,"html_url":"https://github.com/u-root/u-root/pull/349","diff_url":"https://github.com/u-root/u-root/pull/349.diff","patch_url":"https://github.com/u-root/u-root/pull/349.patch","issue_url":"https://api.github.com/repos/u-root/u-root/issues/349","number":349,"state":"open","locked":false,"title":"Xinit","user":{"login":"ananion-cation","id":11541884,"avatar_url":"https://avatars3.githubusercontent.com/u/11541884?v=4","gravatar_id":"","url":"https://api.github.com/users/ananion-cation","html_url":"https://github.com/ananion-cation","followers_url":"https://api.github.com/users/ananion-cation/followers","following_url":"https://api.github.com/users/ananion-cation/following{/other_user}","gists_url":"https://api.github.com/users/ananion-cation/gists{/gist_id}","starred_url":"https://api.github.com/users/ananion-cation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ananion-cation/subscriptions","organizations_url":"https://api.github.com/users/ananion-cation/orgs","repos_url":"https://api.github.com/users/ananion-cation/repos","events_url":"https://api.github.com/users/ananion-cation/events{/privacy}","received_events_url":"https://api.github.com/users/ananion-cation/received_events","type":"User","site_admin":false},"body":"changing the packages for tcz","created_at":"2017-09-08T19:01:19Z","updated_at":"2017-09-08T22:30:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/u-root/u-root/pulls/349/commits","review_comments_url":"https://api.github.com/repos/u-root/u-root/pulls/349/comments","review_comment_url":"https://api.github.com/repos/u-root/u-root/pulls/comments{/number}","comments_url":"https://api.github.com/repos/u-root/u-root/issues/349/comments","statuses_url":"https://api.github.com/repos/u-root/u-root/statuses/fec92a1e6f0d7fe1df02d485543bb1e444aadcf6","head":{"label":"ananion-cation:xinit","ref":"xinit","sha":"fec92a1e6f0d7fe1df02d485543bb1e444aadcf6","user":{"login":"ananion-cation","id":11541884,"avatar_url":"https://avatars3.githubusercontent.com/u/11541884?v=4","gravatar_id":"","url":"https://api.github.com/users/ananion-cation","html_url":"https://github.com/ananion-cation","followers_url":"https://api.github.com/users/ananion-cation/followers","following_url":"https://api.github.com/users/ananion-cation/following{/other_user}","gists_url":"https://api.github.com/users/ananion-cation/gists{/gist_id}","starred_url":"https://api.github.com/users/ananion-cation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ananion-cation/subscriptions","organizations_url":"https://api.github.com/users/ananion-cation/orgs","repos_url":"https://api.github.com/users/ananion-cation/repos","events_url":"https://api.github.com/users/ananion-cation/events{/privacy}","received_events_url":"https://api.github.com/users/ananion-cation/received_events","type":"User","site_admin":false},"repo":{"id":99361533,"name":"u-root","full_name":"ananion-cation/u-root","owner":{"login":"ananion-cation","id":11541884,"avatar_url":"https://avatars3.githubusercontent.com/u/11541884?v=4","gravatar_id":"","url":"https://api.github.com/users/ananion-cation","html_url":"https://github.com/ananion-cation","followers_url":"https://api.github.com/users/ananion-cation/followers","following_url":"https://api.github.com/users/ananion-cation/following{/other_user}","gists_url":"https://api.github.com/users/ananion-cation/gists{/gist_id}","starred_url":"https://api.github.com/users/ananion-cation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ananion-cation/subscriptions","organizations_url":"https://api.github.com/users/ananion-cation/orgs","repos_url":"https://api.github.com/users/ananion-cation/repos","events_url":"https://api.github.com/users/ananion-cation/events{/privacy}","received_events_url":"https://api.github.com/users/ananion-cation/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ananion-cation/u-root","description":"A universal root. You mount it, and it's mostly Go source with the exception of 4 binaries. ","fork":true,"url":"https://api.github.com/repos/ananion-cation/u-root","forks_url":"https://api.github.com/repos/ananion-cation/u-root/forks","keys_url":"https://api.github.com/repos/ananion-cation/u-root/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ananion-cation/u-root/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ananion-cation/u-root/teams","hooks_url":"https://api.github.com/repos/ananion-cation/u-root/hooks","issue_events_url":"https://api.github.com/repos/ananion-cation/u-root/issues/events{/number}","events_url":"https://api.github.com/repos/ananion-cation/u-root/events","assignees_url":"https://api.github.com/repos/ananion-cation/u-root/assignees{/user}","branches_url":"https://api.github.com/repos/ananion-cation/u-root/branches{/branch}","tags_url":"https://api.github.com/repos/ananion-cation/u-root/tags","blobs_url":"https://api.github.com/repos/ananion-cation/u-root/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ananion-cation/u-root/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ananion-cation/u-root/git/refs{/sha}","trees_url":"https://api.github.com/repos/ananion-cation/u-root/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ananion-cation/u-root/statuses/{sha}","languages_url":"https://api.github.com/repos/ananion-cation/u-root/languages","stargazers_url":"https://api.github.com/repos/ananion-cation/u-root/stargazers","contributors_url":"https://api.github.com/repos/ananion-cation/u-root/contributors","subscribers_url":"https://api.github.com/repos/ananion-cation/u-root/subscribers","subscription_url":"https://api.github.com/repos/ananion-cation/u-root/subscription","commits_url":"https://api.github.com/repos/ananion-cation/u-root/commits{/sha}","git_commits_url":"https://api.github.com/repos/ananion-cation/u-root/git/commits{/sha}","comments_url":"https://api.github.com/repos/ananion-cation/u-root/comments{/number}","issue_comment_url":"https://api.github.com/repos/ananion-cation/u-root/issues/comments{/number}","contents_url":"https://api.github.com/repos/ananion-cation/u-root/contents/{+path}","compare_url":"https://api.github.com/repos/ananion-cation/u-root/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ananion-cation/u-root/merges","archive_url":"https://api.github.com/repos/ananion-cation/u-root/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ananion-cation/u-root/downloads","issues_url":"https://api.github.com/repos/ananion-cation/u-root/issues{/number}","pulls_url":"https://api.github.com/repos/ananion-cation/u-root/pulls{/number}","milestones_url":"https://api.github.com/repos/ananion-cation/u-root/milestones{/number}","notifications_url":"https://api.github.com/repos/ananion-cation/u-root/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ananion-cation/u-root/labels{/name}","releases_url":"https://api.github.com/repos/ananion-cation/u-root/releases{/id}","deployments_url":"https://api.github.com/repos/ananion-cation/u-root/deployments","created_at":"2017-08-04T16:33:46Z","updated_at":"2017-08-04T16:33:48Z","pushed_at":"2017-09-08T18:58:52Z","git_url":"git://github.com/ananion-cation/u-root.git","ssh_url":"git@github.com:ananion-cation/u-root.git","clone_url":"https://github.com/ananion-cation/u-root.git","svn_url":"https://github.com/ananion-cation/u-root","homepage":"http://u-root.tk","size":21886,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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":"u-root:master","ref":"master","sha":"5605bdddb10be967b86a42d38900591e26d5720f","user":{"login":"u-root","id":13317538,"avatar_url":"https://avatars3.githubusercontent.com/u/13317538?v=4","gravatar_id":"","url":"https://api.github.com/users/u-root","html_url":"https://github.com/u-root","followers_url":"https://api.github.com/users/u-root/followers","following_url":"https://api.github.com/users/u-root/following{/other_user}","gists_url":"https://api.github.com/users/u-root/gists{/gist_id}","starred_url":"https://api.github.com/users/u-root/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/u-root/subscriptions","organizations_url":"https://api.github.com/users/u-root/orgs","repos_url":"https://api.github.com/users/u-root/repos","events_url":"https://api.github.com/users/u-root/events{/privacy}","received_events_url":"https://api.github.com/users/u-root/received_events","type":"Organization","site_admin":false},"repo":{"id":46462030,"name":"u-root","full_name":"u-root/u-root","owner":{"login":"u-root","id":13317538,"avatar_url":"https://avatars3.githubusercontent.com/u/13317538?v=4","gravatar_id":"","url":"https://api.github.com/users/u-root","html_url":"https://github.com/u-root","followers_url":"https://api.github.com/users/u-root/followers","following_url":"https://api.github.com/users/u-root/following{/other_user}","gists_url":"https://api.github.com/users/u-root/gists{/gist_id}","starred_url":"https://api.github.com/users/u-root/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/u-root/subscriptions","organizations_url":"https://api.github.com/users/u-root/orgs","repos_url":"https://api.github.com/users/u-root/repos","events_url":"https://api.github.com/users/u-root/events{/privacy}","received_events_url":"https://api.github.com/users/u-root/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/u-root/u-root","description":"A universal root. You mount it, and it's mostly Go source with the exception of 4 binaries. ","fork":false,"url":"https://api.github.com/repos/u-root/u-root","forks_url":"https://api.github.com/repos/u-root/u-root/forks","keys_url":"https://api.github.com/repos/u-root/u-root/keys{/key_id}","collaborators_url":"https://api.github.com/repos/u-root/u-root/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/u-root/u-root/teams","hooks_url":"https://api.github.com/repos/u-root/u-root/hooks","issue_events_url":"https://api.github.com/repos/u-root/u-root/issues/events{/number}","events_url":"https://api.github.com/repos/u-root/u-root/events","assignees_url":"https://api.github.com/repos/u-root/u-root/assignees{/user}","branches_url":"https://api.github.com/repos/u-root/u-root/branches{/branch}","tags_url":"https://api.github.com/repos/u-root/u-root/tags","blobs_url":"https://api.github.com/repos/u-root/u-root/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/u-root/u-root/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/u-root/u-root/git/refs{/sha}","trees_url":"https://api.github.com/repos/u-root/u-root/git/trees{/sha}","statuses_url":"https://api.github.com/repos/u-root/u-root/statuses/{sha}","languages_url":"https://api.github.com/repos/u-root/u-root/languages","stargazers_url":"https://api.github.com/repos/u-root/u-root/stargazers","contributors_url":"https://api.github.com/repos/u-root/u-root/contributors","subscribers_url":"https://api.github.com/repos/u-root/u-root/subscribers","subscription_url":"https://api.github.com/repos/u-root/u-root/subscription","commits_url":"https://api.github.com/repos/u-root/u-root/commits{/sha}","git_commits_url":"https://api.github.com/repos/u-root/u-root/git/commits{/sha}","comments_url":"https://api.github.com/repos/u-root/u-root/comments{/number}","issue_comment_url":"https://api.github.com/repos/u-root/u-root/issues/comments{/number}","contents_url":"https://api.github.com/repos/u-root/u-root/contents/{+path}","compare_url":"https://api.github.com/repos/u-root/u-root/compare/{base}...{head}","merges_url":"https://api.github.com/repos/u-root/u-root/merges","archive_url":"https://api.github.com/repos/u-root/u-root/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/u-root/u-root/downloads","issues_url":"https://api.github.com/repos/u-root/u-root/issues{/number}","pulls_url":"https://api.github.com/repos/u-root/u-root/pulls{/number}","milestones_url":"https://api.github.com/repos/u-root/u-root/milestones{/number}","notifications_url":"https://api.github.com/repos/u-root/u-root/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/u-root/u-root/labels{/name}","releases_url":"https://api.github.com/repos/u-root/u-root/releases{/id}","deployments_url":"https://api.github.com/repos/u-root/u-root/deployments","created_at":"2015-11-19T02:28:59Z","updated_at":"2017-09-07T23:42:26Z","pushed_at":"2017-09-08T19:01:21Z","git_url":"git://github.com/u-root/u-root.git","ssh_url":"git@github.com:u-root/u-root.git","clone_url":"https://github.com/u-root/u-root.git","svn_url":"https://github.com/u-root/u-root","homepage":"http://u-root.tk","size":21524,"stargazers_count":37,"watchers_count":37,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":19,"mirror_url":null,"open_issues_count":28,"forks":19,"open_issues":28,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/u-root/u-root/pulls/349"},"html":{"href":"https://github.com/u-root/u-root/pull/349"},"issue":{"href":"https://api.github.com/repos/u-root/u-root/issues/349"},"comments":{"href":"https://api.github.com/repos/u-root/u-root/issues/349/comments"},"review_comments":{"href":"https://api.github.com/repos/u-root/u-root/pulls/349/comments"},"review_comment":{"href":"https://api.github.com/repos/u-root/u-root/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/u-root/u-root/pulls/349/commits"},"statuses":{"href":"https://api.github.com/repos/u-root/u-root/statuses/fec92a1e6f0d7fe1df02d485543bb1e444aadcf6"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"hugelgupf"}}