{"action":"opened","number":46,"pull_request":{"url":"https://api.github.com/repos/systemd/mkosi/pulls/46","id":97338774,"html_url":"https://github.com/systemd/mkosi/pull/46","diff_url":"https://github.com/systemd/mkosi/pull/46.diff","patch_url":"https://github.com/systemd/mkosi/pull/46.patch","issue_url":"https://api.github.com/repos/systemd/mkosi/issues/46","number":46,"state":"open","locked":false,"title":"mkosit: add support for running postinst scripts and other fixes","user":{"login":"poettering","id":2130732,"avatar_url":"https://avatars.githubusercontent.com/u/2130732?v=3","gravatar_id":"","url":"https://api.github.com/users/poettering","html_url":"https://github.com/poettering","followers_url":"https://api.github.com/users/poettering/followers","following_url":"https://api.github.com/users/poettering/following{/other_user}","gists_url":"https://api.github.com/users/poettering/gists{/gist_id}","starred_url":"https://api.github.com/users/poettering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poettering/subscriptions","organizations_url":"https://api.github.com/users/poettering/orgs","repos_url":"https://api.github.com/users/poettering/repos","events_url":"https://api.github.com/users/poettering/events{/privacy}","received_events_url":"https://api.github.com/users/poettering/received_events","type":"User","site_admin":false},"body":"This allows running a script \"mkosi.postinst\" as last step before considering the image built final, inside the environment. This is useful to do arbitrary final adjustments. In particular, when working on systemd it's useful to regenerate the initrd after dropping in the systemd built artifacts, so that they also are updated in the initrd.","created_at":"2016-12-09T16:31:20Z","updated_at":"2016-12-09T16:31:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/systemd/mkosi/pulls/46/commits","review_comments_url":"https://api.github.com/repos/systemd/mkosi/pulls/46/comments","review_comment_url":"https://api.github.com/repos/systemd/mkosi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/systemd/mkosi/issues/46/comments","statuses_url":"https://api.github.com/repos/systemd/mkosi/statuses/87433cafd7c214413cbf298ff9bad38ed161f0a0","head":{"label":"poettering:postinst","ref":"postinst","sha":"87433cafd7c214413cbf298ff9bad38ed161f0a0","user":{"login":"poettering","id":2130732,"avatar_url":"https://avatars.githubusercontent.com/u/2130732?v=3","gravatar_id":"","url":"https://api.github.com/users/poettering","html_url":"https://github.com/poettering","followers_url":"https://api.github.com/users/poettering/followers","following_url":"https://api.github.com/users/poettering/following{/other_user}","gists_url":"https://api.github.com/users/poettering/gists{/gist_id}","starred_url":"https://api.github.com/users/poettering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poettering/subscriptions","organizations_url":"https://api.github.com/users/poettering/orgs","repos_url":"https://api.github.com/users/poettering/repos","events_url":"https://api.github.com/users/poettering/events{/privacy}","received_events_url":"https://api.github.com/users/poettering/received_events","type":"User","site_admin":false},"repo":{"id":74476026,"name":"mkosi","full_name":"poettering/mkosi","owner":{"login":"poettering","id":2130732,"avatar_url":"https://avatars.githubusercontent.com/u/2130732?v=3","gravatar_id":"","url":"https://api.github.com/users/poettering","html_url":"https://github.com/poettering","followers_url":"https://api.github.com/users/poettering/followers","following_url":"https://api.github.com/users/poettering/following{/other_user}","gists_url":"https://api.github.com/users/poettering/gists{/gist_id}","starred_url":"https://api.github.com/users/poettering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poettering/subscriptions","organizations_url":"https://api.github.com/users/poettering/orgs","repos_url":"https://api.github.com/users/poettering/repos","events_url":"https://api.github.com/users/poettering/events{/privacy}","received_events_url":"https://api.github.com/users/poettering/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/poettering/mkosi","description":"Build Legacy-Free OS Images","fork":true,"url":"https://api.github.com/repos/poettering/mkosi","forks_url":"https://api.github.com/repos/poettering/mkosi/forks","keys_url":"https://api.github.com/repos/poettering/mkosi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poettering/mkosi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poettering/mkosi/teams","hooks_url":"https://api.github.com/repos/poettering/mkosi/hooks","issue_events_url":"https://api.github.com/repos/poettering/mkosi/issues/events{/number}","events_url":"https://api.github.com/repos/poettering/mkosi/events","assignees_url":"https://api.github.com/repos/poettering/mkosi/assignees{/user}","branches_url":"https://api.github.com/repos/poettering/mkosi/branches{/branch}","tags_url":"https://api.github.com/repos/poettering/mkosi/tags","blobs_url":"https://api.github.com/repos/poettering/mkosi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poettering/mkosi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poettering/mkosi/git/refs{/sha}","trees_url":"https://api.github.com/repos/poettering/mkosi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poettering/mkosi/statuses/{sha}","languages_url":"https://api.github.com/repos/poettering/mkosi/languages","stargazers_url":"https://api.github.com/repos/poettering/mkosi/stargazers","contributors_url":"https://api.github.com/repos/poettering/mkosi/contributors","subscribers_url":"https://api.github.com/repos/poettering/mkosi/subscribers","subscription_url":"https://api.github.com/repos/poettering/mkosi/subscription","commits_url":"https://api.github.com/repos/poettering/mkosi/commits{/sha}","git_commits_url":"https://api.github.com/repos/poettering/mkosi/git/commits{/sha}","comments_url":"https://api.github.com/repos/poettering/mkosi/comments{/number}","issue_comment_url":"https://api.github.com/repos/poettering/mkosi/issues/comments{/number}","contents_url":"https://api.github.com/repos/poettering/mkosi/contents/{+path}","compare_url":"https://api.github.com/repos/poettering/mkosi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poettering/mkosi/merges","archive_url":"https://api.github.com/repos/poettering/mkosi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poettering/mkosi/downloads","issues_url":"https://api.github.com/repos/poettering/mkosi/issues{/number}","pulls_url":"https://api.github.com/repos/poettering/mkosi/pulls{/number}","milestones_url":"https://api.github.com/repos/poettering/mkosi/milestones{/number}","notifications_url":"https://api.github.com/repos/poettering/mkosi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poettering/mkosi/labels{/name}","releases_url":"https://api.github.com/repos/poettering/mkosi/releases{/id}","deployments_url":"https://api.github.com/repos/poettering/mkosi/deployments","created_at":"2016-11-22T13:39:45Z","updated_at":"2016-11-22T13:39:46Z","pushed_at":"2016-12-09T16:29:34Z","git_url":"git://github.com/poettering/mkosi.git","ssh_url":"git@github.com:poettering/mkosi.git","clone_url":"https://github.com/poettering/mkosi.git","svn_url":"https://github.com/poettering/mkosi","homepage":null,"size":140,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"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":"systemd:master","ref":"master","sha":"1263a870f06429211486c0a2f1b9d27a1a92ccd8","user":{"login":"systemd","id":1918868,"avatar_url":"https://avatars.githubusercontent.com/u/1918868?v=3","gravatar_id":"","url":"https://api.github.com/users/systemd","html_url":"https://github.com/systemd","followers_url":"https://api.github.com/users/systemd/followers","following_url":"https://api.github.com/users/systemd/following{/other_user}","gists_url":"https://api.github.com/users/systemd/gists{/gist_id}","starred_url":"https://api.github.com/users/systemd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemd/subscriptions","organizations_url":"https://api.github.com/users/systemd/orgs","repos_url":"https://api.github.com/users/systemd/repos","events_url":"https://api.github.com/users/systemd/events{/privacy}","received_events_url":"https://api.github.com/users/systemd/received_events","type":"Organization","site_admin":false},"repo":{"id":63237385,"name":"mkosi","full_name":"systemd/mkosi","owner":{"login":"systemd","id":1918868,"avatar_url":"https://avatars.githubusercontent.com/u/1918868?v=3","gravatar_id":"","url":"https://api.github.com/users/systemd","html_url":"https://github.com/systemd","followers_url":"https://api.github.com/users/systemd/followers","following_url":"https://api.github.com/users/systemd/following{/other_user}","gists_url":"https://api.github.com/users/systemd/gists{/gist_id}","starred_url":"https://api.github.com/users/systemd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemd/subscriptions","organizations_url":"https://api.github.com/users/systemd/orgs","repos_url":"https://api.github.com/users/systemd/repos","events_url":"https://api.github.com/users/systemd/events{/privacy}","received_events_url":"https://api.github.com/users/systemd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/systemd/mkosi","description":"Build Legacy-Free OS Images","fork":false,"url":"https://api.github.com/repos/systemd/mkosi","forks_url":"https://api.github.com/repos/systemd/mkosi/forks","keys_url":"https://api.github.com/repos/systemd/mkosi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/systemd/mkosi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/systemd/mkosi/teams","hooks_url":"https://api.github.com/repos/systemd/mkosi/hooks","issue_events_url":"https://api.github.com/repos/systemd/mkosi/issues/events{/number}","events_url":"https://api.github.com/repos/systemd/mkosi/events","assignees_url":"https://api.github.com/repos/systemd/mkosi/assignees{/user}","branches_url":"https://api.github.com/repos/systemd/mkosi/branches{/branch}","tags_url":"https://api.github.com/repos/systemd/mkosi/tags","blobs_url":"https://api.github.com/repos/systemd/mkosi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/systemd/mkosi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/systemd/mkosi/git/refs{/sha}","trees_url":"https://api.github.com/repos/systemd/mkosi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/systemd/mkosi/statuses/{sha}","languages_url":"https://api.github.com/repos/systemd/mkosi/languages","stargazers_url":"https://api.github.com/repos/systemd/mkosi/stargazers","contributors_url":"https://api.github.com/repos/systemd/mkosi/contributors","subscribers_url":"https://api.github.com/repos/systemd/mkosi/subscribers","subscription_url":"https://api.github.com/repos/systemd/mkosi/subscription","commits_url":"https://api.github.com/repos/systemd/mkosi/commits{/sha}","git_commits_url":"https://api.github.com/repos/systemd/mkosi/git/commits{/sha}","comments_url":"https://api.github.com/repos/systemd/mkosi/comments{/number}","issue_comment_url":"https://api.github.com/repos/systemd/mkosi/issues/comments{/number}","contents_url":"https://api.github.com/repos/systemd/mkosi/contents/{+path}","compare_url":"https://api.github.com/repos/systemd/mkosi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/systemd/mkosi/merges","archive_url":"https://api.github.com/repos/systemd/mkosi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/systemd/mkosi/downloads","issues_url":"https://api.github.com/repos/systemd/mkosi/issues{/number}","pulls_url":"https://api.github.com/repos/systemd/mkosi/pulls{/number}","milestones_url":"https://api.github.com/repos/systemd/mkosi/milestones{/number}","notifications_url":"https://api.github.com/repos/systemd/mkosi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/systemd/mkosi/labels{/name}","releases_url":"https://api.github.com/repos/systemd/mkosi/releases{/id}","deployments_url":"https://api.github.com/repos/systemd/mkosi/deployments","created_at":"2016-07-13T10:31:19Z","updated_at":"2016-12-06T07:41:17Z","pushed_at":"2016-12-09T11:05:03Z","git_url":"git://github.com/systemd/mkosi.git","ssh_url":"git@github.com:systemd/mkosi.git","clone_url":"https://github.com/systemd/mkosi.git","svn_url":"https://github.com/systemd/mkosi","homepage":null,"size":190,"stargazers_count":44,"watchers_count":44,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":4,"forks":21,"open_issues":4,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/systemd/mkosi/pulls/46"},"html":{"href":"https://github.com/systemd/mkosi/pull/46"},"issue":{"href":"https://api.github.com/repos/systemd/mkosi/issues/46"},"comments":{"href":"https://api.github.com/repos/systemd/mkosi/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/systemd/mkosi/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/systemd/mkosi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/systemd/mkosi/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/systemd/mkosi/statuses/87433cafd7c214413cbf298ff9bad38ed161f0a0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":8,"additions":101,"deletions":52,"changed_files":1}}
{"actor":{"display_login":"poettering"}}