)]}'
{"diskimage_builder/elements/rpm-distro/pre-install.d/01-override-yum-arch":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"0bebc5a412860da89c199589e8fe97c39372a450","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    exit 1"},{"line_number":29,"context_line":"fi"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"if [[ $DISTRO_NAME \u003d\u003d \"fedora\" \u0026\u0026 $DIB_RELEASE -ge 22 ]]; then"},{"line_number":32,"context_line":"    mkdir -p /etc/dnf/vars"},{"line_number":33,"context_line":"    echo $basearch \u003e /etc/dnf/vars/basearch"},{"line_number":34,"context_line":"    echo $arch \u003e /etc/dnf/vars/arch"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"5f7c97a3_e0fa1d41","line":31,"updated":"2018-05-14 05:21:07.000000000","message":"i wouldn\u0027t be upset if we simplified this to drop the $DIB_RELEASE check too :)  we\u0027re not supporting fedora\u0027s without dnf","commit_id":"67616829c673988b5061a51f651b3917b3e25372"},{"author":{"_account_id":9311,"name":"Tristan Cacqueray","email":"tdecacqu@redhat.com","username":"tristanC"},"change_message_id":"037e9845f3bca6d6d1d36b973218a5c32aee590e","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    exit 1"},{"line_number":29,"context_line":"fi"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"if [[ $DISTRO_NAME \u003d\u003d \"fedora\" \u0026\u0026 $DIB_RELEASE -ge 22 ]]; then"},{"line_number":32,"context_line":"    mkdir -p /etc/dnf/vars"},{"line_number":33,"context_line":"    echo $basearch \u003e /etc/dnf/vars/basearch"},{"line_number":34,"context_line":"    echo $arch \u003e /etc/dnf/vars/arch"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"5f7c97a3_60436d6d","line":31,"in_reply_to":"5f7c97a3_e0fa1d41","updated":"2018-05-14 05:46:42.000000000","message":"Done","commit_id":"67616829c673988b5061a51f651b3917b3e25372"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"0bebc5a412860da89c199589e8fe97c39372a450","unresolved":false,"context_lines":[{"line_number":38,"context_line":"fi"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"if [[ ${DISTRO_NAME} \u003d~ centos ]]; then"},{"line_number":41,"context_line":"    uname -m | grep -q \u0027x86_64\u0027  \u0026\u0026 echo \u0027centos\u0027 \u003e/etc/yum/vars/contentdir || echo \u0027altarch\u0027 \u003e/etc/yum/vars/contentdir"},{"line_number":42,"context_line":"fi"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"5f7c97a3_a0c8a521","line":41,"updated":"2018-05-14 05:21:07.000000000","message":"hmm, we should use the $arch variables from above; which is  in keeping with the idea that we *could* in theory cross-build.\n\nso i think it would roughly work out to\n\n if [[ ${arch} \u003d\u003d \u0027x86_64\u0027 ]]; then\n   echo \u0027centos\u0027 ...\n else\n   echo \u0027altarch\u0027 ...\n fi\n\nalso, I\u0027d like to see a comment on this; commit message is fine for git blame, but things to move around and list archives go missing etc.\n\n[1] http://logs.openstack.org/80/568180/1/check/nodepool-functional-py35-redhat-src/d24b8b8/controller/logs/builds/centos-7-0000000001_log.txt.gz#_2018-05-14_03_54_44_327","commit_id":"67616829c673988b5061a51f651b3917b3e25372"},{"author":{"_account_id":9311,"name":"Tristan Cacqueray","email":"tdecacqu@redhat.com","username":"tristanC"},"change_message_id":"037e9845f3bca6d6d1d36b973218a5c32aee590e","unresolved":false,"context_lines":[{"line_number":38,"context_line":"fi"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"if [[ ${DISTRO_NAME} \u003d~ centos ]]; then"},{"line_number":41,"context_line":"    uname -m | grep -q \u0027x86_64\u0027  \u0026\u0026 echo \u0027centos\u0027 \u003e/etc/yum/vars/contentdir || echo \u0027altarch\u0027 \u003e/etc/yum/vars/contentdir"},{"line_number":42,"context_line":"fi"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"5f7c97a3_80480987","line":41,"in_reply_to":"5f7c97a3_a0c8a521","updated":"2018-05-14 05:46:42.000000000","message":"Done","commit_id":"67616829c673988b5061a51f651b3917b3e25372"}]}
