)]}'
{"magnum/drivers/common/templates/kubernetes/fragments/write-heat-params-master.sh":[{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"2a1f611e69e946045d7e4e33f100fdbe2f1c633d","unresolved":false,"context_lines":[{"line_number":2,"context_line":""},{"line_number":3,"context_line":"echo \"START: write-heat-params\""},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"arch\u003d$(uname -m)"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"case \"$arch\" in"},{"line_number":8,"context_line":"    aarch64)"}],"source_content_type":"text/x-sh","patch_set":3,"id":"3fa7e38b_e7da23e5","line":5,"updated":"2020-02-11 22:49:46.000000000","message":"By checking the uname command help, should we use -i instead of -m?\n\n\nfeilong@feilong-ThinkPad-X1-Carbon-2nd:~$ uname --help\nUsage: uname [OPTION]...\nPrint certain system information.  With no OPTION, same as -s.\n\n  -a, --all                print all information, in the following order,\n                             except omit -p and -i if unknown:\n  -s, --kernel-name        print the kernel name\n  -n, --nodename           print the network node hostname\n  -r, --kernel-release     print the kernel release\n  -v, --kernel-version     print the kernel version\n  -m, --machine            print the machine hardware name\n  -p, --processor          print the processor type (non-portable)\n  -i, --hardware-platform  print the hardware platform (non-portable)\n  -o, --operating-system   print the operating system\n      --help     display this help and exit\n      --version  output version information and exit","commit_id":"5d4a0b5a600065ae7f91506100e61407bb768717"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"95e1937e1252106755922600e1d20d2696759aca","unresolved":false,"context_lines":[{"line_number":2,"context_line":""},{"line_number":3,"context_line":"echo \"START: write-heat-params\""},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"arch\u003d$(uname -m)"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"case \"$arch\" in"},{"line_number":8,"context_line":"    aarch64)"}],"source_content_type":"text/x-sh","patch_set":3,"id":"3fa7e38b_5b042e6c","line":5,"in_reply_to":"3fa7e38b_a546637d","updated":"2020-02-12 05:14:54.000000000","message":"Thanks for the clarification. Then I\u0027m ok with -m. Thanks.","commit_id":"5d4a0b5a600065ae7f91506100e61407bb768717"},{"author":{"_account_id":22997,"name":"xinliang","email":"xinliang.liu@linaro.org","username":"xinliang.liu"},"change_message_id":"f4633ca6e806aa67fb39369ba7dd905f5e7d585c","unresolved":false,"context_lines":[{"line_number":2,"context_line":""},{"line_number":3,"context_line":"echo \"START: write-heat-params\""},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"arch\u003d$(uname -m)"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"case \"$arch\" in"},{"line_number":8,"context_line":"    aarch64)"}],"source_content_type":"text/x-sh","patch_set":3,"id":"3fa7e38b_a546637d","line":5,"in_reply_to":"3fa7e38b_e7da23e5","updated":"2020-02-12 02:15:26.000000000","message":"\"-i\" says \"unkown\" on my aarch64 debian machine and says the same as \"-m\" on my ubuntu amd64 machine. It seems it is unavailable on some systems. \n\nAnd often we use \"-m\" to distinguish different arch, which will call uname linux system call[1] and each arch will define UTS_MACHINE.\n\nSee [2][3] for more \"-i\" explains.\n[1] http://man7.org/linux/man-pages/man2/uname.2.html\n[2] https://www.gnu.org/software/coreutils/manual/html_node/uname-invocation.html\n[3]  https://unix.stackexchange.com/questions/307955/uname-p-i-are-unknown","commit_id":"5d4a0b5a600065ae7f91506100e61407bb768717"}]}
