{"action":"created","comment":{"url":"https://api.github.com/repos/coreos/rocket/pulls/comments/26646891","id":26646891,"diff_hunk":"@@ -0,0 +1,49 @@\n+# build systemd from source, produce an install hook selecting the needed files and host dependencies\n+\n+usr.done: Makefile install\n+\tcp -f install ../aggregate/install.d/00usr\n+\ttouch usr.done\n+\n+# prepare the install file\n+install: Makefile host_deps.txt\n+\techo mkdir -p \"\\$${ROOT}\" > install.tmp\n+\techo cp -af ../usr_from_src/systemd_build/installed/. \\\"\\$${ROOT}\\\" >> install.tmp\n+\tcat host_deps.txt | while read dep; do echo install -D \\\"$${dep}\\\" \\\"\\$${ROOT}/$${dep}\\\"; done >> install.tmp\n+\techo ln -sf src \\\"\\$${ROOT}/flavor\\\" >> install.tmp\n+\tmv install.tmp install\n+\n+# discover host library dependencies for all the ELF executables in systemd_build/installed, note the LD_LIBRARY_PATH= to find systemd-produced libraries.\n+host_deps.txt: Makefile systemd.done bash.done\n+\tcd systemd_build/installed && find -type f | xargs file  | grep ELF | cut -f1 -d: | LD_LIBRARY_PATH=usr/lib xargs ldd | grep -v ^\\\\. | grep '/' | sed  -e 's/^[[:space:]]*//' -e 's/.*=> //' -e 's/ (0x[0-9a-f]*)$$//' | grep -v ^[^/] | sort -u > ../../host_deps.txt.tmp\n+\tmv host_deps.txt.tmp host_deps.txt\n+\n+# grab bash from the host\n+bash.done: Makefile systemd.done\n+\tcp -af `which bash` systemd_build/installed/usr/bin/bash\n+\ttouch bash.done\n+\n+# configure, build, and install systemd\n+systemd.done: Makefile systemd.src\n+\t{ [ ! -e systemd_build ] || rm -Rf systemd_build; }\n+\tmkdir systemd_build\n+\tcd systemd_build && ../systemd/configure --disable-python-devel --disable-dbus --disable-kmod --disable-blkid --disable-chkconfig --disable-pam --disable-acl --disable-smack --disable-gcrypt --disable-elfutils --disable-libcryptsetup --disable-qrencode --disable-microhttpd --disable-gnutls --disable-binfmt --disable-vconsole --disable-readahead --disable-bootchart --disable-quotacheck --disable-tmpfiles --disable-sysusers --disable-randomseed --disable-backlight --disable-rfkill --disable-logind --disable-machined --disable-timedated --disable-timesyncd --disable-localed --disable-coredump --disable-polkit --disable-resolved --disable-networkd --disable-efi --disable-multi-seat-x --disable-myhostname --disable-gudev --disable-manpages --disable-tests --disable-blkid --disable-hibernate --disable-terminal --disable-hwdb --disable-importd && $(MAKE) && DESTDIR=$${PWD}/installed make install-strip\n+\ttouch systemd.done\n+\n+# TODO(vc): it may make more sense to have the systemd source be a git submodule?\n+systemd.src: Makefile patches/*\n+\t{ [ ! -e systemd ] || rm -Rf systemd; }\n+\tmkdir systemd\n+\tgit clone --branch v215 --depth 1 git://anongit.freedesktop.org/systemd/systemd\n+\tcd systemd && for p in ../patches/*; do patch -p1 <\"$$p\"; done\n+\tcd systemd && ./autogen.sh\n+\ttouch systemd.src\n+\n+.PHONY: clean distclean\n+clean:\n+\trm -Rf systemd_build systemd.done bash.done host_deps.txt rootfs usr.done install\n+\n+distclean: clean\n+\trm -Rf systemd systemd.src","path":"stage1/rootfs/usr_from_src/Makefile","position":46,"original_position":46,"commit_id":"ca391169f061ad37ac0d3cbdb8d091a0c0125e1c","original_commit_id":"ca391169f061ad37ac0d3cbdb8d091a0c0125e1c","user":{"login":"alban","id":27575,"avatar_url":"https://avatars.githubusercontent.com/u/27575?v=3","gravatar_id":"","url":"https://api.github.com/users/alban","html_url":"https://github.com/alban","followers_url":"https://api.github.com/users/alban/followers","following_url":"https://api.github.com/users/alban/following{/other_user}","gists_url":"https://api.github.com/users/alban/gists{/gist_id}","starred_url":"https://api.github.com/users/alban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alban/subscriptions","organizations_url":"https://api.github.com/users/alban/orgs","repos_url":"https://api.github.com/users/alban/repos","events_url":"https://api.github.com/users/alban/events{/privacy}","received_events_url":"https://api.github.com/users/alban/received_events","type":"User","site_admin":false},"body":"If systemd is a symbolic link to an external repository, it will only delete the symbolic link, right?","created_at":"2015-03-18T09:07:22Z","updated_at":"2015-03-18T09:07:22Z","html_url":"https://github.com/coreos/rocket/pull/634#discussion_r26646891","pull_request_url":"https://api.github.com/repos/coreos/rocket/pulls/634","_links":{"self":{"href":"https://api.github.com/repos/coreos/rocket/pulls/comments/26646891"},"html":{"href":"https://github.com/coreos/rocket/pull/634#discussion_r26646891"},"pull_request":{"href":"https://api.github.com/repos/coreos/rocket/pulls/634"}}},"pull_request":{"url":"https://api.github.com/repos/coreos/rocket/pulls/634","id":31392038,"html_url":"https://github.com/coreos/rocket/pull/634","diff_url":"https://github.com/coreos/rocket/pull/634.diff","patch_url":"https://github.com/coreos/rocket/pull/634.patch","issue_url":"https://api.github.com/repos/coreos/rocket/issues/634","number":634,"state":"open","locked":false,"title":"Flexi stage1","user":{"login":"vcaputo","id":1452963,"avatar_url":"https://avatars.githubusercontent.com/u/1452963?v=3","gravatar_id":"","url":"https://api.github.com/users/vcaputo","html_url":"https://github.com/vcaputo","followers_url":"https://api.github.com/users/vcaputo/followers","following_url":"https://api.github.com/users/vcaputo/following{/other_user}","gists_url":"https://api.github.com/users/vcaputo/gists{/gist_id}","starred_url":"https://api.github.com/users/vcaputo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vcaputo/subscriptions","organizations_url":"https://api.github.com/users/vcaputo/orgs","repos_url":"https://api.github.com/users/vcaputo/repos","events_url":"https://api.github.com/users/vcaputo/events{/privacy}","received_events_url":"https://api.github.com/users/vcaputo/received_events","type":"User","site_admin":false},"body":"This is part of the fix to #572","created_at":"2015-03-18T00:45:28Z","updated_at":"2015-03-18T09:07:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"114e2c0d682c4b178332bbe0acff01be5bb6f185","assignee":null,"milestone":{"url":"https://api.github.com/repos/coreos/rocket/milestones/6","html_url":"https://github.com/coreos/rocket/milestones/v0.5.0","labels_url":"https://api.github.com/repos/coreos/rocket/milestones/6/labels","id":934109,"number":6,"title":"v0.5.0","description":"This milestone captures stabilisation in the on-disk format of rocket","creator":{"login":"jonboulle","id":2601015,"avatar_url":"https://avatars.githubusercontent.com/u/2601015?v=3","gravatar_id":"","url":"https://api.github.com/users/jonboulle","html_url":"https://github.com/jonboulle","followers_url":"https://api.github.com/users/jonboulle/followers","following_url":"https://api.github.com/users/jonboulle/following{/other_user}","gists_url":"https://api.github.com/users/jonboulle/gists{/gist_id}","starred_url":"https://api.github.com/users/jonboulle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonboulle/subscriptions","organizations_url":"https://api.github.com/users/jonboulle/orgs","repos_url":"https://api.github.com/users/jonboulle/repos","events_url":"https://api.github.com/users/jonboulle/events{/privacy}","received_events_url":"https://api.github.com/users/jonboulle/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":12,"state":"open","created_at":"2015-01-13T21:11:48Z","updated_at":"2015-03-18T01:50:41Z","due_on":"2015-03-19T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/coreos/rocket/pulls/634/commits","review_comments_url":"https://api.github.com/repos/coreos/rocket/pulls/634/comments","review_comment_url":"https://api.github.com/repos/coreos/rocket/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coreos/rocket/issues/634/comments","statuses_url":"https://api.github.com/repos/coreos/rocket/statuses/ca391169f061ad37ac0d3cbdb8d091a0c0125e1c","head":{"label":"vcaputo:flexi-stage1","ref":"flexi-stage1","sha":"ca391169f061ad37ac0d3cbdb8d091a0c0125e1c","user":{"login":"vcaputo","id":1452963,"avatar_url":"https://avatars.githubusercontent.com/u/1452963?v=3","gravatar_id":"","url":"https://api.github.com/users/vcaputo","html_url":"https://github.com/vcaputo","followers_url":"https://api.github.com/users/vcaputo/followers","following_url":"https://api.github.com/users/vcaputo/following{/other_user}","gists_url":"https://api.github.com/users/vcaputo/gists{/gist_id}","starred_url":"https://api.github.com/users/vcaputo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vcaputo/subscriptions","organizations_url":"https://api.github.com/users/vcaputo/orgs","repos_url":"https://api.github.com/users/vcaputo/repos","events_url":"https://api.github.com/users/vcaputo/events{/privacy}","received_events_url":"https://api.github.com/users/vcaputo/received_events","type":"User","site_admin":false},"repo":{"id":27401830,"name":"rocket","full_name":"vcaputo/rocket","owner":{"login":"vcaputo","id":1452963,"avatar_url":"https://avatars.githubusercontent.com/u/1452963?v=3","gravatar_id":"","url":"https://api.github.com/users/vcaputo","html_url":"https://github.com/vcaputo","followers_url":"https://api.github.com/users/vcaputo/followers","following_url":"https://api.github.com/users/vcaputo/following{/other_user}","gists_url":"https://api.github.com/users/vcaputo/gists{/gist_id}","starred_url":"https://api.github.com/users/vcaputo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vcaputo/subscriptions","organizations_url":"https://api.github.com/users/vcaputo/orgs","repos_url":"https://api.github.com/users/vcaputo/repos","events_url":"https://api.github.com/users/vcaputo/events{/privacy}","received_events_url":"https://api.github.com/users/vcaputo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vcaputo/rocket","description":"App Container runtime","fork":true,"url":"https://api.github.com/repos/vcaputo/rocket","forks_url":"https://api.github.com/repos/vcaputo/rocket/forks","keys_url":"https://api.github.com/repos/vcaputo/rocket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vcaputo/rocket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vcaputo/rocket/teams","hooks_url":"https://api.github.com/repos/vcaputo/rocket/hooks","issue_events_url":"https://api.github.com/repos/vcaputo/rocket/issues/events{/number}","events_url":"https://api.github.com/repos/vcaputo/rocket/events","assignees_url":"https://api.github.com/repos/vcaputo/rocket/assignees{/user}","branches_url":"https://api.github.com/repos/vcaputo/rocket/branches{/branch}","tags_url":"https://api.github.com/repos/vcaputo/rocket/tags","blobs_url":"https://api.github.com/repos/vcaputo/rocket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vcaputo/rocket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vcaputo/rocket/git/refs{/sha}","trees_url":"https://api.github.com/repos/vcaputo/rocket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vcaputo/rocket/statuses/{sha}","languages_url":"https://api.github.com/repos/vcaputo/rocket/languages","stargazers_url":"https://api.github.com/repos/vcaputo/rocket/stargazers","contributors_url":"https://api.github.com/repos/vcaputo/rocket/contributors","subscribers_url":"https://api.github.com/repos/vcaputo/rocket/subscribers","subscription_url":"https://api.github.com/repos/vcaputo/rocket/subscription","commits_url":"https://api.github.com/repos/vcaputo/rocket/commits{/sha}","git_commits_url":"https://api.github.com/repos/vcaputo/rocket/git/commits{/sha}","comments_url":"https://api.github.com/repos/vcaputo/rocket/comments{/number}","issue_comment_url":"https://api.github.com/repos/vcaputo/rocket/issues/comments{/number}","contents_url":"https://api.github.com/repos/vcaputo/rocket/contents/{+path}","compare_url":"https://api.github.com/repos/vcaputo/rocket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vcaputo/rocket/merges","archive_url":"https://api.github.com/repos/vcaputo/rocket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vcaputo/rocket/downloads","issues_url":"https://api.github.com/repos/vcaputo/rocket/issues{/number}","pulls_url":"https://api.github.com/repos/vcaputo/rocket/pulls{/number}","milestones_url":"https://api.github.com/repos/vcaputo/rocket/milestones{/number}","notifications_url":"https://api.github.com/repos/vcaputo/rocket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vcaputo/rocket/labels{/name}","releases_url":"https://api.github.com/repos/vcaputo/rocket/releases{/id}","created_at":"2014-12-01T21:54:09Z","updated_at":"2014-12-01T21:54:10Z","pushed_at":"2015-03-18T00:44:24Z","git_url":"git://github.com/vcaputo/rocket.git","ssh_url":"git@github.com:vcaputo/rocket.git","clone_url":"https://github.com/vcaputo/rocket.git","svn_url":"https://github.com/vcaputo/rocket","homepage":"","size":5975,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"coreos:master","ref":"master","sha":"a9ced663fdb950770b76be6cc1847993ba3e2ec6","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":26509369,"name":"rocket","full_name":"coreos/rocket","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/rocket","description":"App Container runtime","fork":false,"url":"https://api.github.com/repos/coreos/rocket","forks_url":"https://api.github.com/repos/coreos/rocket/forks","keys_url":"https://api.github.com/repos/coreos/rocket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/rocket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/rocket/teams","hooks_url":"https://api.github.com/repos/coreos/rocket/hooks","issue_events_url":"https://api.github.com/repos/coreos/rocket/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/rocket/events","assignees_url":"https://api.github.com/repos/coreos/rocket/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/rocket/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/rocket/tags","blobs_url":"https://api.github.com/repos/coreos/rocket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/rocket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/rocket/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/rocket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/rocket/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/rocket/languages","stargazers_url":"https://api.github.com/repos/coreos/rocket/stargazers","contributors_url":"https://api.github.com/repos/coreos/rocket/contributors","subscribers_url":"https://api.github.com/repos/coreos/rocket/subscribers","subscription_url":"https://api.github.com/repos/coreos/rocket/subscription","commits_url":"https://api.github.com/repos/coreos/rocket/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/rocket/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/rocket/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/rocket/issues/comments{/number}","contents_url":"https://api.github.com/repos/coreos/rocket/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/rocket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/rocket/merges","archive_url":"https://api.github.com/repos/coreos/rocket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/rocket/downloads","issues_url":"https://api.github.com/repos/coreos/rocket/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/rocket/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/rocket/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/rocket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/rocket/labels{/name}","releases_url":"https://api.github.com/repos/coreos/rocket/releases{/id}","created_at":"2014-11-11T23:13:18Z","updated_at":"2015-03-18T03:47:54Z","pushed_at":"2015-03-17T22:27:40Z","git_url":"git://github.com/coreos/rocket.git","ssh_url":"git@github.com:coreos/rocket.git","clone_url":"https://github.com/coreos/rocket.git","svn_url":"https://github.com/coreos/rocket","homepage":"","size":10898,"stargazers_count":3624,"watchers_count":3624,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":256,"mirror_url":null,"open_issues_count":80,"forks":256,"open_issues":80,"watchers":3624,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/rocket/pulls/634"},"html":{"href":"https://github.com/coreos/rocket/pull/634"},"issue":{"href":"https://api.github.com/repos/coreos/rocket/issues/634"},"comments":{"href":"https://api.github.com/repos/coreos/rocket/issues/634/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/rocket/pulls/634/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/rocket/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coreos/rocket/pulls/634/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/rocket/statuses/ca391169f061ad37ac0d3cbdb8d091a0c0125e1c"}}}}