)]}'
{"imagebuild/coreos/iso-image-create":[{"author":{"_account_id":12640,"name":"Arun S A G","email":"sagarun@gmail.com","username":"sagarun"},"change_message_id":"db0dcdd0e07a5f87d50d9caea9d2f603f6a35b15","unresolved":false,"context_lines":[{"line_number":53,"context_line":"    ISSUE_FILE\u003d\"/etc/issue\""},{"line_number":54,"context_line":"    DISTRO_NAME\u003d\"\""},{"line_number":55,"context_line":"    grep -i ubuntu /etc/issue \u0026\u0026 DISTRO_NAME\u003d\"ubuntu\""},{"line_number":56,"context_line":"    grep -i fedora /etc/issue \u0026\u0026 DISTRO_NAME\u003d\"fedora\""},{"line_number":57,"context_line":"    grep -i debian /etc/issue \u0026\u0026 DISTRO_NAME\u003d\"debian\""},{"line_number":58,"context_line":"    v_print \"Working on $DISTRO_NAME\""},{"line_number":59,"context_line":"}"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"5aef4532_0949df31","line":56,"updated":"2016-03-08 01:13:30.000000000","message":"This may not work for fedora 23. Here are the contents of /etc/issue in a Fedora machine \n\n$ cat /etc/issue\n\\S\nKernel \\r on an \\m (\\l)\n\n\nYou are better off using /etc/os-release or /etc/redhat-release for fedora. This doesn\u0027t cover RHEL6 and RHEL7 as well.","commit_id":"94d5e97e1f4f1b9bae3d45181a85e5baec96352d"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0ecb0218a515cfdbd7e9931372a78660e227188d","unresolved":false,"context_lines":[{"line_number":53,"context_line":"    ISSUE_FILE\u003d\"/etc/issue\""},{"line_number":54,"context_line":"    DISTRO_NAME\u003d\"\""},{"line_number":55,"context_line":"    grep -i ubuntu /etc/issue \u0026\u0026 DISTRO_NAME\u003d\"ubuntu\""},{"line_number":56,"context_line":"    grep -i fedora /etc/issue \u0026\u0026 DISTRO_NAME\u003d\"fedora\""},{"line_number":57,"context_line":"    grep -i debian /etc/issue \u0026\u0026 DISTRO_NAME\u003d\"debian\""},{"line_number":58,"context_line":"    v_print \"Working on $DISTRO_NAME\""},{"line_number":59,"context_line":"}"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"5aef4532_ee6f5490","line":56,"in_reply_to":"5aef4532_0949df31","updated":"2016-03-08 03:56:59.000000000","message":"++","commit_id":"94d5e97e1f4f1b9bae3d45181a85e5baec96352d"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"b17a63ed0984027e673a827be879ae046fccdb35","unresolved":false,"context_lines":[{"line_number":53,"context_line":"    ISSUE_FILE\u003d\"/etc/issue\""},{"line_number":54,"context_line":"    DISTRO_NAME\u003d\"\""},{"line_number":55,"context_line":"    grep -i ubuntu /etc/issue \u0026\u0026 DISTRO_NAME\u003d\"ubuntu\""},{"line_number":56,"context_line":"    grep -i fedora /etc/issue \u0026\u0026 DISTRO_NAME\u003d\"fedora\""},{"line_number":57,"context_line":"    grep -i debian /etc/issue \u0026\u0026 DISTRO_NAME\u003d\"debian\""},{"line_number":58,"context_line":"    v_print \"Working on $DISTRO_NAME\""},{"line_number":59,"context_line":"}"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"5aef4532_311ec1ba","line":56,"in_reply_to":"5aef4532_ee6f5490","updated":"2016-03-09 07:48:38.000000000","message":"Ok. I do not have Fedora setup. Checked on net about the content of /etc/issue and had added the code. Have fixed it.","commit_id":"94d5e97e1f4f1b9bae3d45181a85e5baec96352d"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0ecb0218a515cfdbd7e9931372a78660e227188d","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        GRUB_FILE\u003d\"/boot/efi/EFI/fedora/grubx64.efi\""},{"line_number":64,"context_line":"        SHIM_FILE\u003d\"/boot/efi/EFI/fedora/shim.efi\""},{"line_number":65,"context_line":"    else"},{"line_number":66,"context_line":"        GRUB_FILE\u003d\"/usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed\""},{"line_number":67,"context_line":"        SHIM_FILE\u003d\"/usr/lib/shim/shim.efi.signed\""},{"line_number":68,"context_line":"    fi"},{"line_number":69,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"5aef4532_914d1575","line":66,"updated":"2016-03-08 03:56:59.000000000","message":"I\u0027ve looked at this before and I believe these are ubuntu specific, since Debian, as far as I remember, is not signed.  Searched packages.debian.org and had no results for jessie and sid releases.","commit_id":"94d5e97e1f4f1b9bae3d45181a85e5baec96352d"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"b17a63ed0984027e673a827be879ae046fccdb35","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        GRUB_FILE\u003d\"/boot/efi/EFI/fedora/grubx64.efi\""},{"line_number":64,"context_line":"        SHIM_FILE\u003d\"/boot/efi/EFI/fedora/shim.efi\""},{"line_number":65,"context_line":"    else"},{"line_number":66,"context_line":"        GRUB_FILE\u003d\"/usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed\""},{"line_number":67,"context_line":"        SHIM_FILE\u003d\"/usr/lib/shim/shim.efi.signed\""},{"line_number":68,"context_line":"    fi"},{"line_number":69,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"5aef4532_314c01c7","line":66,"in_reply_to":"5aef4532_914d1575","updated":"2016-03-09 07:48:38.000000000","message":"Yes, these are paths from Ubuntu packages. Have updated for Debian appropriately.","commit_id":"94d5e97e1f4f1b9bae3d45181a85e5baec96352d"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0ecb0218a515cfdbd7e9931372a78660e227188d","unresolved":false,"context_lines":[{"line_number":64,"context_line":"        SHIM_FILE\u003d\"/boot/efi/EFI/fedora/shim.efi\""},{"line_number":65,"context_line":"    else"},{"line_number":66,"context_line":"        GRUB_FILE\u003d\"/usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed\""},{"line_number":67,"context_line":"        SHIM_FILE\u003d\"/usr/lib/shim/shim.efi.signed\""},{"line_number":68,"context_line":"    fi"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    cp $SHIM_FILE $TMP_BUILD_DIR/bootx64.efi"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"5aef4532_2eef7ce9","line":67,"updated":"2016-03-08 03:56:59.000000000","message":"What about support for non-signed as a fall-back.  Seems like it would be simple enough to do and would enable support for Centos as a result.\n\nAdditionally, using the host OS\u0027s EFI boot loader seems like a workaround when CoreOS appears to have EFI boot support.  Why are we not using what they supply?","commit_id":"94d5e97e1f4f1b9bae3d45181a85e5baec96352d"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"b17a63ed0984027e673a827be879ae046fccdb35","unresolved":false,"context_lines":[{"line_number":64,"context_line":"        SHIM_FILE\u003d\"/boot/efi/EFI/fedora/shim.efi\""},{"line_number":65,"context_line":"    else"},{"line_number":66,"context_line":"        GRUB_FILE\u003d\"/usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed\""},{"line_number":67,"context_line":"        SHIM_FILE\u003d\"/usr/lib/shim/shim.efi.signed\""},{"line_number":68,"context_line":"    fi"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    cp $SHIM_FILE $TMP_BUILD_DIR/bootx64.efi"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"5aef4532_b1a49157","line":67,"in_reply_to":"5aef4532_2eef7ce9","updated":"2016-03-09 07:48:38.000000000","message":"It will work in unsigned environment as well.\n\nIdea is to use local boot loader files to create ISO as it does not depend on the actual OS (CodeOS) image being used. It is for the initial bootup. Any bootloader shoule be able to bootup the given kernel and ramdisk.\n\nIf we need to use CoreOS then we would need to open the image and extract it.\n\nHave added support for CentOS as well.","commit_id":"94d5e97e1f4f1b9bae3d45181a85e5baec96352d"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"d7bd152d9b2bf7045f547f9b432379cd1aa58d4a","unresolved":false,"context_lines":[{"line_number":52,"context_line":"function get_distro_grub_file() {"},{"line_number":53,"context_line":"    #Fedora"},{"line_number":54,"context_line":"    if [ -f /boot/efi/EFI/fedora/grubx64.efi ]; then"},{"line_number":55,"context_line":"        GRUB_FILE\u003d\"/boot/efi/EFI/fedora/grubx64.efi\""},{"line_number":56,"context_line":"        DISTRO_NAME\u003d\"fedora\""},{"line_number":57,"context_line":"    #Centos"},{"line_number":58,"context_line":"    elif [ -f /boot/efi/EFI/centos/grubx64.efi ]; then"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"ba0121b8_9dedaeb9","line":55,"range":{"start_line":55,"start_character":17,"end_line":55,"end_character":20},"updated":"2016-03-31 14:24:16.000000000","message":"Retrieval from /boot boot basically means I have to be on a system that boots with UEFI to build this.  For perspective in my case, I\u0027m on ubuntu trusty, I have the files installed as part of grub, just my boot partition does not have them since I do not UEFI boot.","commit_id":"66acd4571f58906daddab814f8050f5c6f5c2bb8"},{"author":{"_account_id":7080,"name":"Mathieu Mitchell","email":"mat128@gmail.com","username":"mat128"},"change_message_id":"0b5cd4ea1d5770c2572a48eab61b9eec78cbc17e","unresolved":false,"context_lines":[{"line_number":52,"context_line":"function get_distro_grub_file() {"},{"line_number":53,"context_line":"    #Fedora"},{"line_number":54,"context_line":"    if [ -f /boot/efi/EFI/fedora/grubx64.efi ]; then"},{"line_number":55,"context_line":"        GRUB_FILE\u003d\"/boot/efi/EFI/fedora/grubx64.efi\""},{"line_number":56,"context_line":"        DISTRO_NAME\u003d\"fedora\""},{"line_number":57,"context_line":"    #Centos"},{"line_number":58,"context_line":"    elif [ -f /boot/efi/EFI/centos/grubx64.efi ]; then"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"1a122d0e_2d1d650f","line":55,"range":{"start_line":55,"start_character":17,"end_line":55,"end_character":20},"in_reply_to":"ba0121b8_9dedaeb9","updated":"2016-05-05 13:10:50.000000000","message":"+1, build environment and destination environment could be drastically different. Maybe the grubx64.efi file is somewhere in /usr/share too?","commit_id":"66acd4571f58906daddab814f8050f5c6f5c2bb8"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"d7bd152d9b2bf7045f547f9b432379cd1aa58d4a","unresolved":false,"context_lines":[{"line_number":135,"context_line":"    \"$DISTRO_NAME\" !\u003d \"centos\" \u0026\u0026 \\"},{"line_number":136,"context_line":"    \"$DISTRO_NAME\" !\u003d \"debian\" \u0026\u0026 \\"},{"line_number":137,"context_line":"    \"$DISTRO_NAME\" !\u003d \"ubuntu\" ]]; then"},{"line_number":138,"context_line":"    err_print \"Not a supported linux distribution. Supported distributions are \u0027ubuntu\u0027, \u0027debian\u0027, \u0027fedora\u0027 and \u0027centos\u0027\""},{"line_number":139,"context_line":"    exit 1"},{"line_number":140,"context_line":"fi"},{"line_number":141,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"ba0121b8_9d1beec9","line":138,"updated":"2016-03-31 14:24:16.000000000","message":"What versions are supported?","commit_id":"66acd4571f58906daddab814f8050f5c6f5c2bb8"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"d7bd152d9b2bf7045f547f9b432379cd1aa58d4a","unresolved":false,"context_lines":[{"line_number":139,"context_line":"    exit 1"},{"line_number":140,"context_line":"fi"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"#Fedora:"},{"line_number":143,"context_line":"if [[ $DISTRO_NAME \u003d \"fedora\" || $DISTRO_NAME \u003d \"centos\" ]]; then"},{"line_number":144,"context_line":"    EXTRA_KERNEL_PARAMS\u003d\"usbcore.autosuspend\u003d-1\""},{"line_number":145,"context_line":"fi"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"ba0121b8_3d9d820a","line":142,"range":{"start_line":142,"start_character":7,"end_line":142,"end_character":8},"updated":"2016-03-31 14:24:16.000000000","message":"Can we get a more detailed note here why this block of code is present.  Just thinking that would help prevent anyone from removing it down the road if it is truly necessary.","commit_id":"66acd4571f58906daddab814f8050f5c6f5c2bb8"}]}
