{"action":"created","issue":{"url":"https://api.github.com/repos/RPi-Distro/pi-gen/issues/223","repository_url":"https://api.github.com/repos/RPi-Distro/pi-gen","labels_url":"https://api.github.com/repos/RPi-Distro/pi-gen/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/RPi-Distro/pi-gen/issues/223/comments","events_url":"https://api.github.com/repos/RPi-Distro/pi-gen/issues/223/events","html_url":"https://github.com/RPi-Distro/pi-gen/issues/223","id":387816252,"node_id":"MDU6SXNzdWUzODc4MTYyNTI=","number":223,"title":"Bad uname -r kernel version","user":{"login":"Yes21","id":33381245,"node_id":"MDQ6VXNlcjMzMzgxMjQ1","avatar_url":"https://avatars3.githubusercontent.com/u/33381245?v=4","gravatar_id":"","url":"https://api.github.com/users/Yes21","html_url":"https://github.com/Yes21","followers_url":"https://api.github.com/users/Yes21/followers","following_url":"https://api.github.com/users/Yes21/following{/other_user}","gists_url":"https://api.github.com/users/Yes21/gists{/gist_id}","starred_url":"https://api.github.com/users/Yes21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yes21/subscriptions","organizations_url":"https://api.github.com/users/Yes21/orgs","repos_url":"https://api.github.com/users/Yes21/repos","events_url":"https://api.github.com/users/Yes21/events{/privacy}","received_events_url":"https://api.github.com/users/Yes21/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-05T15:41:27Z","updated_at":"2018-12-05T15:44:47Z","closed_at":null,"author_association":"NONE","body":"We thank you very much for this nice and very useful script.\r\nWe have modified it to build our specific version of raspbian for our project ([EZ-Wifibroadcast](https://github.com/RespawnDespair/wifibroadcast-image-builder)).\r\n\r\nWe encounter a problem that we can't solve : \r\nWhen we are in CHROOT stages, the `uname -r` command returns the kernel number of the host, but not those of the raspbian we have installed !\r\n\r\nDid you ever had this problem, and do you know how to solve it ?\r\n\r\nMany thanks for help."},"comment":{"url":"https://api.github.com/repos/RPi-Distro/pi-gen/issues/comments/444531888","html_url":"https://github.com/RPi-Distro/pi-gen/issues/223#issuecomment-444531888","issue_url":"https://api.github.com/repos/RPi-Distro/pi-gen/issues/223","id":444531888,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDUzMTg4OA==","user":{"login":"XECDesign","id":1716509,"node_id":"MDQ6VXNlcjE3MTY1MDk=","avatar_url":"https://avatars0.githubusercontent.com/u/1716509?v=4","gravatar_id":"","url":"https://api.github.com/users/XECDesign","html_url":"https://github.com/XECDesign","followers_url":"https://api.github.com/users/XECDesign/followers","following_url":"https://api.github.com/users/XECDesign/following{/other_user}","gists_url":"https://api.github.com/users/XECDesign/gists{/gist_id}","starred_url":"https://api.github.com/users/XECDesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XECDesign/subscriptions","organizations_url":"https://api.github.com/users/XECDesign/orgs","repos_url":"https://api.github.com/users/XECDesign/repos","events_url":"https://api.github.com/users/XECDesign/events{/privacy}","received_events_url":"https://api.github.com/users/XECDesign/received_events","type":"User","site_admin":false},"created_at":"2018-12-05T15:44:47Z","updated_at":"2018-12-05T15:44:47Z","author_association":"CONTRIBUTOR","body":"Since uname prints system information for the currently running kernel, that's working as intended.\r\n\r\nHere's how we're working around that:\r\nhttps://github.com/RPi-Distro/pi-gen/blob/master/export-image/04-finalise/01-run.sh#L61\r\n\r\nI'm sure you could also extract the string from the actual kernel image."}}
{"actor":{"display_login":"XECDesign"}}