{"action":"created","comment":{"url":"https://api.github.com/repos/siemens/meta-iot2000/pulls/comments/240141650","pull_request_review_id":183100231,"id":240141650,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDE0MTY1MA==","diff_hunk":"@@ -1,31 +1,29 @@\n #!/bin/sh\n \n-set -eu\n+THIS_SCRIPT=\"$(basename $0)\"\n \n-PART_NUMBER=3\n+log () {\n+\techo \"${THIS_SCRIPT}: $1\" > /dev/kmsg\n+}\n \n-case $(mount | grep \"on / \") in\n-/dev/mmcblk0*)\n-\tROOT_DEVICE=\"/dev/mmcblk0\"\n-\tROOT_PARTITION=\"/dev/mmcblk0p$PART_NUMBER\"\n-\t;;\n-/dev/sda*)\n-\tROOT_DEVICE=\"/dev/sda\"\n-\tROOT_PARTITION=\"/dev/sda$PART_NUMBER\"\n-\t;;\n-*)\n-\techo \"Cannot determine boot device.\"\n-\texit 1\n-\t;;\n-esac\n+disable () {\n+\tlog \"Deactivating this automatic resizer\"\n+\tupdate-rc.d -f expandfs.sh remove\n+}\n \n-START_BLOCK=$(parted $ROOT_DEVICE -ms unit s p | grep \"^$PART_NUMBER\" | cut -f 2 -d: | sed \"s/s$//\")\n+ROOT_DEVICE=$(findmnt / -o source -n | sed 's/p\\?[0-9]*$//')\n+LAST_PART=$(sfdisk -d ${ROOT_DEVICE} | tail -1 | awk '{print $1}')\n \n-parted -ms $ROOT_DEVICE rm $PART_NUMBER\n+log \"Resizing last partition\"\n+sfdisk -d ${ROOT_DEVICE} 2>/dev/null | grep -v last-lba | \\","path":"meta-iot2000-example/recipes-example/iot2000setup/files/expandfs.sh","position":36,"original_position":36,"commit_id":"b4ef3f868eac899ad17dfa5de57904149daded3f","original_commit_id":"f6a7e476f038ec09b8241e1f68e005afee72ab5a","user":{"login":"stormc","id":1706854,"node_id":"MDQ6VXNlcjE3MDY4NTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1706854?v=4","gravatar_id":"","url":"https://api.github.com/users/stormc","html_url":"https://github.com/stormc","followers_url":"https://api.github.com/users/stormc/followers","following_url":"https://api.github.com/users/stormc/following{/other_user}","gists_url":"https://api.github.com/users/stormc/gists{/gist_id}","starred_url":"https://api.github.com/users/stormc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormc/subscriptions","organizations_url":"https://api.github.com/users/stormc/orgs","repos_url":"https://api.github.com/users/stormc/repos","events_url":"https://api.github.com/users/stormc/events{/privacy}","received_events_url":"https://api.github.com/users/stormc/received_events","type":"User","site_admin":false},"body":"Are you sure the locale is actually EN or is, e.g., the DE variant also printing \"last-lba\"?","created_at":"2018-12-10T09:46:49Z","updated_at":"2018-12-10T09:46:50Z","html_url":"https://github.com/siemens/meta-iot2000/pull/110#discussion_r240141650","pull_request_url":"https://api.github.com/repos/siemens/meta-iot2000/pulls/110","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/siemens/meta-iot2000/pulls/comments/240141650"},"html":{"href":"https://github.com/siemens/meta-iot2000/pull/110#discussion_r240141650"},"pull_request":{"href":"https://api.github.com/repos/siemens/meta-iot2000/pulls/110"}}},"pull_request":{"url":"https://api.github.com/repos/siemens/meta-iot2000/pulls/110","id":235013873,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1MDEzODcz","html_url":"https://github.com/siemens/meta-iot2000/pull/110","diff_url":"https://github.com/siemens/meta-iot2000/pull/110.diff","patch_url":"https://github.com/siemens/meta-iot2000/pull/110.patch","issue_url":"https://api.github.com/repos/siemens/meta-iot2000/issues/110","number":110,"state":"open","locked":false,"title":"Iot2000 ebg swu","user":{"login":"andi8086","id":15651823,"node_id":"MDQ6VXNlcjE1NjUxODIz","avatar_url":"https://avatars3.githubusercontent.com/u/15651823?v=4","gravatar_id":"","url":"https://api.github.com/users/andi8086","html_url":"https://github.com/andi8086","followers_url":"https://api.github.com/users/andi8086/followers","following_url":"https://api.github.com/users/andi8086/following{/other_user}","gists_url":"https://api.github.com/users/andi8086/gists{/gist_id}","starred_url":"https://api.github.com/users/andi8086/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andi8086/subscriptions","organizations_url":"https://api.github.com/users/andi8086/orgs","repos_url":"https://api.github.com/users/andi8086/repos","events_url":"https://api.github.com/users/andi8086/events{/privacy}","received_events_url":"https://api.github.com/users/andi8086/received_events","type":"User","site_admin":false},"body":"# EFIBootGuard and SWUpdate #\r\n\r\nThese commits update the existing `meta-iot2000` layer to use integrated `wic` and `kas` build tools.\r\nThe boot loader is changed to `EFI Boot Guard` and some fixes are applied. The 2nd half of the commits integrate `SWUpdate` to support system updates.","created_at":"2018-11-30T14:57:04Z","updated_at":"2018-12-10T09:46:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"758f5713b07762bc5a2ca12d3821e6e6affacfd1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/siemens/meta-iot2000/pulls/110/commits","review_comments_url":"https://api.github.com/repos/siemens/meta-iot2000/pulls/110/comments","review_comment_url":"https://api.github.com/repos/siemens/meta-iot2000/pulls/comments{/number}","comments_url":"https://api.github.com/repos/siemens/meta-iot2000/issues/110/comments","statuses_url":"https://api.github.com/repos/siemens/meta-iot2000/statuses/b4ef3f868eac899ad17dfa5de57904149daded3f","head":{"label":"andi8086:iot2000-ebg-swu","ref":"iot2000-ebg-swu","sha":"b4ef3f868eac899ad17dfa5de57904149daded3f","user":{"login":"andi8086","id":15651823,"node_id":"MDQ6VXNlcjE1NjUxODIz","avatar_url":"https://avatars3.githubusercontent.com/u/15651823?v=4","gravatar_id":"","url":"https://api.github.com/users/andi8086","html_url":"https://github.com/andi8086","followers_url":"https://api.github.com/users/andi8086/followers","following_url":"https://api.github.com/users/andi8086/following{/other_user}","gists_url":"https://api.github.com/users/andi8086/gists{/gist_id}","starred_url":"https://api.github.com/users/andi8086/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andi8086/subscriptions","organizations_url":"https://api.github.com/users/andi8086/orgs","repos_url":"https://api.github.com/users/andi8086/repos","events_url":"https://api.github.com/users/andi8086/events{/privacy}","received_events_url":"https://api.github.com/users/andi8086/received_events","type":"User","site_admin":false},"repo":{"id":113464425,"node_id":"MDEwOlJlcG9zaXRvcnkxMTM0NjQ0MjU=","name":"meta-iot2000","full_name":"andi8086/meta-iot2000","private":false,"owner":{"login":"andi8086","id":15651823,"node_id":"MDQ6VXNlcjE1NjUxODIz","avatar_url":"https://avatars3.githubusercontent.com/u/15651823?v=4","gravatar_id":"","url":"https://api.github.com/users/andi8086","html_url":"https://github.com/andi8086","followers_url":"https://api.github.com/users/andi8086/followers","following_url":"https://api.github.com/users/andi8086/following{/other_user}","gists_url":"https://api.github.com/users/andi8086/gists{/gist_id}","starred_url":"https://api.github.com/users/andi8086/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andi8086/subscriptions","organizations_url":"https://api.github.com/users/andi8086/orgs","repos_url":"https://api.github.com/users/andi8086/repos","events_url":"https://api.github.com/users/andi8086/events{/privacy}","received_events_url":"https://api.github.com/users/andi8086/received_events","type":"User","site_admin":false},"html_url":"https://github.com/andi8086/meta-iot2000","description":"SIMATIC IOT2000 Yocto Board Support Package","fork":true,"url":"https://api.github.com/repos/andi8086/meta-iot2000","forks_url":"https://api.github.com/repos/andi8086/meta-iot2000/forks","keys_url":"https://api.github.com/repos/andi8086/meta-iot2000/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andi8086/meta-iot2000/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andi8086/meta-iot2000/teams","hooks_url":"https://api.github.com/repos/andi8086/meta-iot2000/hooks","issue_events_url":"https://api.github.com/repos/andi8086/meta-iot2000/issues/events{/number}","events_url":"https://api.github.com/repos/andi8086/meta-iot2000/events","assignees_url":"https://api.github.com/repos/andi8086/meta-iot2000/assignees{/user}","branches_url":"https://api.github.com/repos/andi8086/meta-iot2000/branches{/branch}","tags_url":"https://api.github.com/repos/andi8086/meta-iot2000/tags","blobs_url":"https://api.github.com/repos/andi8086/meta-iot2000/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andi8086/meta-iot2000/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andi8086/meta-iot2000/git/refs{/sha}","trees_url":"https://api.github.com/repos/andi8086/meta-iot2000/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andi8086/meta-iot2000/statuses/{sha}","languages_url":"https://api.github.com/repos/andi8086/meta-iot2000/languages","stargazers_url":"https://api.github.com/repos/andi8086/meta-iot2000/stargazers","contributors_url":"https://api.github.com/repos/andi8086/meta-iot2000/contributors","subscribers_url":"https://api.github.com/repos/andi8086/meta-iot2000/subscribers","subscription_url":"https://api.github.com/repos/andi8086/meta-iot2000/subscription","commits_url":"https://api.github.com/repos/andi8086/meta-iot2000/commits{/sha}","git_commits_url":"https://api.github.com/repos/andi8086/meta-iot2000/git/commits{/sha}","comments_url":"https://api.github.com/repos/andi8086/meta-iot2000/comments{/number}","issue_comment_url":"https://api.github.com/repos/andi8086/meta-iot2000/issues/comments{/number}","contents_url":"https://api.github.com/repos/andi8086/meta-iot2000/contents/{+path}","compare_url":"https://api.github.com/repos/andi8086/meta-iot2000/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andi8086/meta-iot2000/merges","archive_url":"https://api.github.com/repos/andi8086/meta-iot2000/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andi8086/meta-iot2000/downloads","issues_url":"https://api.github.com/repos/andi8086/meta-iot2000/issues{/number}","pulls_url":"https://api.github.com/repos/andi8086/meta-iot2000/pulls{/number}","milestones_url":"https://api.github.com/repos/andi8086/meta-iot2000/milestones{/number}","notifications_url":"https://api.github.com/repos/andi8086/meta-iot2000/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andi8086/meta-iot2000/labels{/name}","releases_url":"https://api.github.com/repos/andi8086/meta-iot2000/releases{/id}","deployments_url":"https://api.github.com/repos/andi8086/meta-iot2000/deployments","created_at":"2017-12-07T15:01:12Z","updated_at":"2018-10-17T12:53:46Z","pushed_at":"2018-11-30T14:52:22Z","git_url":"git://github.com/andi8086/meta-iot2000.git","ssh_url":"git@github.com:andi8086/meta-iot2000.git","clone_url":"https://github.com/andi8086/meta-iot2000.git","svn_url":"https://github.com/andi8086/meta-iot2000","homepage":null,"size":1125,"stargazers_count":0,"watchers_count":0,"language":"BitBake","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":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"siemens:master","ref":"master","sha":"1276e31be5563f624544e7c7a9323b8dcda858d5","user":{"login":"siemens","id":624020,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNDAyMA==","avatar_url":"https://avatars3.githubusercontent.com/u/624020?v=4","gravatar_id":"","url":"https://api.github.com/users/siemens","html_url":"https://github.com/siemens","followers_url":"https://api.github.com/users/siemens/followers","following_url":"https://api.github.com/users/siemens/following{/other_user}","gists_url":"https://api.github.com/users/siemens/gists{/gist_id}","starred_url":"https://api.github.com/users/siemens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siemens/subscriptions","organizations_url":"https://api.github.com/users/siemens/orgs","repos_url":"https://api.github.com/users/siemens/repos","events_url":"https://api.github.com/users/siemens/events{/privacy}","received_events_url":"https://api.github.com/users/siemens/received_events","type":"Organization","site_admin":false},"repo":{"id":69577263,"node_id":"MDEwOlJlcG9zaXRvcnk2OTU3NzI2Mw==","name":"meta-iot2000","full_name":"siemens/meta-iot2000","private":false,"owner":{"login":"siemens","id":624020,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNDAyMA==","avatar_url":"https://avatars3.githubusercontent.com/u/624020?v=4","gravatar_id":"","url":"https://api.github.com/users/siemens","html_url":"https://github.com/siemens","followers_url":"https://api.github.com/users/siemens/followers","following_url":"https://api.github.com/users/siemens/following{/other_user}","gists_url":"https://api.github.com/users/siemens/gists{/gist_id}","starred_url":"https://api.github.com/users/siemens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siemens/subscriptions","organizations_url":"https://api.github.com/users/siemens/orgs","repos_url":"https://api.github.com/users/siemens/repos","events_url":"https://api.github.com/users/siemens/events{/privacy}","received_events_url":"https://api.github.com/users/siemens/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/siemens/meta-iot2000","description":"SIMATIC IOT2000 Yocto Board Support Package","fork":false,"url":"https://api.github.com/repos/siemens/meta-iot2000","forks_url":"https://api.github.com/repos/siemens/meta-iot2000/forks","keys_url":"https://api.github.com/repos/siemens/meta-iot2000/keys{/key_id}","collaborators_url":"https://api.github.com/repos/siemens/meta-iot2000/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/siemens/meta-iot2000/teams","hooks_url":"https://api.github.com/repos/siemens/meta-iot2000/hooks","issue_events_url":"https://api.github.com/repos/siemens/meta-iot2000/issues/events{/number}","events_url":"https://api.github.com/repos/siemens/meta-iot2000/events","assignees_url":"https://api.github.com/repos/siemens/meta-iot2000/assignees{/user}","branches_url":"https://api.github.com/repos/siemens/meta-iot2000/branches{/branch}","tags_url":"https://api.github.com/repos/siemens/meta-iot2000/tags","blobs_url":"https://api.github.com/repos/siemens/meta-iot2000/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/siemens/meta-iot2000/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/siemens/meta-iot2000/git/refs{/sha}","trees_url":"https://api.github.com/repos/siemens/meta-iot2000/git/trees{/sha}","statuses_url":"https://api.github.com/repos/siemens/meta-iot2000/statuses/{sha}","languages_url":"https://api.github.com/repos/siemens/meta-iot2000/languages","stargazers_url":"https://api.github.com/repos/siemens/meta-iot2000/stargazers","contributors_url":"https://api.github.com/repos/siemens/meta-iot2000/contributors","subscribers_url":"https://api.github.com/repos/siemens/meta-iot2000/subscribers","subscription_url":"https://api.github.com/repos/siemens/meta-iot2000/subscription","commits_url":"https://api.github.com/repos/siemens/meta-iot2000/commits{/sha}","git_commits_url":"https://api.github.com/repos/siemens/meta-iot2000/git/commits{/sha}","comments_url":"https://api.github.com/repos/siemens/meta-iot2000/comments{/number}","issue_comment_url":"https://api.github.com/repos/siemens/meta-iot2000/issues/comments{/number}","contents_url":"https://api.github.com/repos/siemens/meta-iot2000/contents/{+path}","compare_url":"https://api.github.com/repos/siemens/meta-iot2000/compare/{base}...{head}","merges_url":"https://api.github.com/repos/siemens/meta-iot2000/merges","archive_url":"https://api.github.com/repos/siemens/meta-iot2000/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/siemens/meta-iot2000/downloads","issues_url":"https://api.github.com/repos/siemens/meta-iot2000/issues{/number}","pulls_url":"https://api.github.com/repos/siemens/meta-iot2000/pulls{/number}","milestones_url":"https://api.github.com/repos/siemens/meta-iot2000/milestones{/number}","notifications_url":"https://api.github.com/repos/siemens/meta-iot2000/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/siemens/meta-iot2000/labels{/name}","releases_url":"https://api.github.com/repos/siemens/meta-iot2000/releases{/id}","deployments_url":"https://api.github.com/repos/siemens/meta-iot2000/deployments","created_at":"2016-09-29T14:47:14Z","updated_at":"2018-12-08T17:49:21Z","pushed_at":"2018-11-30T14:57:04Z","git_url":"git://github.com/siemens/meta-iot2000.git","ssh_url":"git@github.com:siemens/meta-iot2000.git","clone_url":"https://github.com/siemens/meta-iot2000.git","svn_url":"https://github.com/siemens/meta-iot2000","homepage":null,"size":1057,"stargazers_count":57,"watchers_count":57,"language":"BitBake","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":45,"open_issues":15,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/siemens/meta-iot2000/pulls/110"},"html":{"href":"https://github.com/siemens/meta-iot2000/pull/110"},"issue":{"href":"https://api.github.com/repos/siemens/meta-iot2000/issues/110"},"comments":{"href":"https://api.github.com/repos/siemens/meta-iot2000/issues/110/comments"},"review_comments":{"href":"https://api.github.com/repos/siemens/meta-iot2000/pulls/110/comments"},"review_comment":{"href":"https://api.github.com/repos/siemens/meta-iot2000/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/siemens/meta-iot2000/pulls/110/commits"},"statuses":{"href":"https://api.github.com/repos/siemens/meta-iot2000/statuses/b4ef3f868eac899ad17dfa5de57904149daded3f"}},"author_association":"NONE"}}
{"actor":{"display_login":"stormc"}}