{"action":"created","issue":{"url":"https://api.github.com/repos/johnramsden/zedenv-grub/issues/15","repository_url":"https://api.github.com/repos/johnramsden/zedenv-grub","labels_url":"https://api.github.com/repos/johnramsden/zedenv-grub/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/johnramsden/zedenv-grub/issues/15/comments","events_url":"https://api.github.com/repos/johnramsden/zedenv-grub/issues/15/events","html_url":"https://github.com/johnramsden/zedenv-grub/issues/15","id":382856594,"node_id":"MDU6SXNzdWUzODI4NTY1OTQ=","number":15,"title":"initrd is not being added to grub.cfg on gentoo with a genkernel configuration","user":{"login":"a-schaefers","id":26800291,"node_id":"MDQ6VXNlcjI2ODAwMjkx","avatar_url":"https://avatars1.githubusercontent.com/u/26800291?v=4","gravatar_id":"","url":"https://api.github.com/users/a-schaefers","html_url":"https://github.com/a-schaefers","followers_url":"https://api.github.com/users/a-schaefers/followers","following_url":"https://api.github.com/users/a-schaefers/following{/other_user}","gists_url":"https://api.github.com/users/a-schaefers/gists{/gist_id}","starred_url":"https://api.github.com/users/a-schaefers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-schaefers/subscriptions","organizations_url":"https://api.github.com/users/a-schaefers/orgs","repos_url":"https://api.github.com/users/a-schaefers/repos","events_url":"https://api.github.com/users/a-schaefers/events{/privacy}","received_events_url":"https://api.github.com/users/a-schaefers/received_events","type":"User","site_admin":false},"labels":[{"id":953426353,"node_id":"MDU6TGFiZWw5NTM0MjYzNTM=","url":"https://api.github.com/repos/johnramsden/zedenv-grub/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":{"login":"johnramsden","id":8735102,"node_id":"MDQ6VXNlcjg3MzUxMDI=","avatar_url":"https://avatars2.githubusercontent.com/u/8735102?v=4","gravatar_id":"","url":"https://api.github.com/users/johnramsden","html_url":"https://github.com/johnramsden","followers_url":"https://api.github.com/users/johnramsden/followers","following_url":"https://api.github.com/users/johnramsden/following{/other_user}","gists_url":"https://api.github.com/users/johnramsden/gists{/gist_id}","starred_url":"https://api.github.com/users/johnramsden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnramsden/subscriptions","organizations_url":"https://api.github.com/users/johnramsden/orgs","repos_url":"https://api.github.com/users/johnramsden/repos","events_url":"https://api.github.com/users/johnramsden/events{/privacy}","received_events_url":"https://api.github.com/users/johnramsden/received_events","type":"User","site_admin":false},"assignees":[{"login":"johnramsden","id":8735102,"node_id":"MDQ6VXNlcjg3MzUxMDI=","avatar_url":"https://avatars2.githubusercontent.com/u/8735102?v=4","gravatar_id":"","url":"https://api.github.com/users/johnramsden","html_url":"https://github.com/johnramsden","followers_url":"https://api.github.com/users/johnramsden/followers","following_url":"https://api.github.com/users/johnramsden/following{/other_user}","gists_url":"https://api.github.com/users/johnramsden/gists{/gist_id}","starred_url":"https://api.github.com/users/johnramsden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnramsden/subscriptions","organizations_url":"https://api.github.com/users/johnramsden/orgs","repos_url":"https://api.github.com/users/johnramsden/repos","events_url":"https://api.github.com/users/johnramsden/events{/privacy}","received_events_url":"https://api.github.com/users/johnramsden/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-11-20T21:32:42Z","updated_at":"2018-11-21T00:31:39Z","closed_at":null,"author_association":"NONE","body":"After update-grub in gentoo with a genkernel configuration, the resulting grub.cfg contains no initrd in the gentoo stanza.\r\n\r\nThe line I need zedenv to add is formatted by the grub-mkconfig scripts as:\r\n\r\ninitrd\t/root/gentoo@/boot/initramfs-genkernel-x86_64-4.18.19-gentoo\r\n\r\nbut the initrd section of grub.cfg generated by 00_header and 05_zfs_linux.py is empty. There is no initrd in the stanza at all.\r\n\r\nThis results in kernel panic on next boot.\r\n\r\nI took a look at /etc/grub.d/05_zfs_linux.py and n[oticed lines around 416](https://github.com/johnramsden/zedenv-grub/blob/master/grub.d/05_zfs_linux.py#L416)  It appears you have already accounted for the genkernel formatting in the codebase, so I think this may be a bug?"},"comment":{"url":"https://api.github.com/repos/johnramsden/zedenv-grub/issues/comments/440480803","html_url":"https://github.com/johnramsden/zedenv-grub/issues/15#issuecomment-440480803","issue_url":"https://api.github.com/repos/johnramsden/zedenv-grub/issues/15","id":440480803,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDQ4MDgwMw==","user":{"login":"johnramsden","id":8735102,"node_id":"MDQ6VXNlcjg3MzUxMDI=","avatar_url":"https://avatars2.githubusercontent.com/u/8735102?v=4","gravatar_id":"","url":"https://api.github.com/users/johnramsden","html_url":"https://github.com/johnramsden","followers_url":"https://api.github.com/users/johnramsden/followers","following_url":"https://api.github.com/users/johnramsden/following{/other_user}","gists_url":"https://api.github.com/users/johnramsden/gists{/gist_id}","starred_url":"https://api.github.com/users/johnramsden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnramsden/subscriptions","organizations_url":"https://api.github.com/users/johnramsden/orgs","repos_url":"https://api.github.com/users/johnramsden/repos","events_url":"https://api.github.com/users/johnramsden/events{/privacy}","received_events_url":"https://api.github.com/users/johnramsden/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T00:31:39Z","updated_at":"2018-11-21T00:31:39Z","author_association":"OWNER","body":"@a-schaefers so it doesn't have an `.img` extension?"}}
{"actor":{"display_login":"johnramsden"}}