{"action":"created","issue":{"url":"https://api.github.com/repos/Fourdee/DietPi/issues/341","repository_url":"https://api.github.com/repos/Fourdee/DietPi","labels_url":"https://api.github.com/repos/Fourdee/DietPi/issues/341/labels{/name}","comments_url":"https://api.github.com/repos/Fourdee/DietPi/issues/341/comments","events_url":"https://api.github.com/repos/Fourdee/DietPi/issues/341/events","html_url":"https://github.com/Fourdee/DietPi/issues/341","id":155255794,"number":341,"title":"Add HW_ARCH to dietpi-obtain_hw_model and .hw_model","user":{"login":"rhkean","id":15089796,"avatar_url":"https://avatars.githubusercontent.com/u/15089796?v=3","gravatar_id":"","url":"https://api.github.com/users/rhkean","html_url":"https://github.com/rhkean","followers_url":"https://api.github.com/users/rhkean/followers","following_url":"https://api.github.com/users/rhkean/following{/other_user}","gists_url":"https://api.github.com/users/rhkean/gists{/gist_id}","starred_url":"https://api.github.com/users/rhkean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhkean/subscriptions","organizations_url":"https://api.github.com/users/rhkean/orgs","repos_url":"https://api.github.com/users/rhkean/repos","events_url":"https://api.github.com/users/rhkean/events{/privacy}","received_events_url":"https://api.github.com/users/rhkean/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Fourdee/DietPi/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Fourdee/DietPi/milestones/19","html_url":"https://github.com/Fourdee/DietPi/milestones/v119","labels_url":"https://api.github.com/repos/Fourdee/DietPi/milestones/19/labels","id":1757557,"number":19,"title":"v119","description":"","creator":{"login":"Fourdee","id":7077026,"avatar_url":"https://avatars.githubusercontent.com/u/7077026?v=3","gravatar_id":"","url":"https://api.github.com/users/Fourdee","html_url":"https://github.com/Fourdee","followers_url":"https://api.github.com/users/Fourdee/followers","following_url":"https://api.github.com/users/Fourdee/following{/other_user}","gists_url":"https://api.github.com/users/Fourdee/gists{/gist_id}","starred_url":"https://api.github.com/users/Fourdee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fourdee/subscriptions","organizations_url":"https://api.github.com/users/Fourdee/orgs","repos_url":"https://api.github.com/users/Fourdee/repos","events_url":"https://api.github.com/users/Fourdee/events{/privacy}","received_events_url":"https://api.github.com/users/Fourdee/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":8,"state":"open","created_at":"2016-05-10T11:13:57Z","updated_at":"2016-05-26T12:26:40Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2016-05-17T13:11:22Z","updated_at":"2016-05-26T17:03:59Z","closed_at":"2016-05-26T11:36:18Z","body":"We are starting to see more arm64 vs armhf installation situations.\r\n\r\nby adding a line 6:  HW_ARCH to the dietpi-obtain_hw_model script, we can change the lines that look like this:\r\n`    if (( ( $HW_MODEL == 12 ) || ( $HW_MODEL >= 40 && $HW_MODEL < 50 ) )); then\r\n`\r\nto this:\r\n`    if (( $HW_ARCH == 3 )); then\r\n`\r\n\r\nproposed:\r\n```\r\n# - Line 6 -\r\n# HW_ARCH 4    i386 (or VM)??\r\n# HW_ARCH 3    arm64\r\n# HW_ARCH 2    armhf\r\n# HW_ARCH 1    armel\r\n# HW_ARCH 0    unknown\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/Fourdee/DietPi/issues/comments/221932456","html_url":"https://github.com/Fourdee/DietPi/issues/341#issuecomment-221932456","issue_url":"https://api.github.com/repos/Fourdee/DietPi/issues/341","id":221932456,"user":{"login":"Fourdee","id":7077026,"avatar_url":"https://avatars.githubusercontent.com/u/7077026?v=3","gravatar_id":"","url":"https://api.github.com/users/Fourdee","html_url":"https://github.com/Fourdee","followers_url":"https://api.github.com/users/Fourdee/followers","following_url":"https://api.github.com/users/Fourdee/following{/other_user}","gists_url":"https://api.github.com/users/Fourdee/gists{/gist_id}","starred_url":"https://api.github.com/users/Fourdee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fourdee/subscriptions","organizations_url":"https://api.github.com/users/Fourdee/orgs","repos_url":"https://api.github.com/users/Fourdee/repos","events_url":"https://api.github.com/users/Fourdee/events{/privacy}","received_events_url":"https://api.github.com/users/Fourdee/received_events","type":"User","site_admin":false},"created_at":"2016-05-26T17:03:58Z","updated_at":"2016-05-26T17:03:58Z","body":"@rhkean \r\nYep, ```HW_ARCH``` should help clean up the code, and, make it easier in the long run, so was a good idea :+1: \r\n\r\nNo worries Rob :+1:  Do what we can, when we can :)"}}
{"actor":{"display_login":"Fourdee"}}