{"action":"opened","issue":{"url":"https://api.github.com/repos/RPi-Distro/python-sense-hat/issues/7","labels_url":"https://api.github.com/repos/RPi-Distro/python-sense-hat/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/RPi-Distro/python-sense-hat/issues/7/comments","events_url":"https://api.github.com/repos/RPi-Distro/python-sense-hat/issues/7/events","html_url":"https://github.com/RPi-Distro/python-sense-hat/issues/7","id":104447069,"number":7,"title":"Apt package issue","user":{"login":"gbaman","id":833193,"avatar_url":"https://avatars.githubusercontent.com/u/833193?v=3","gravatar_id":"","url":"https://api.github.com/users/gbaman","html_url":"https://github.com/gbaman","followers_url":"https://api.github.com/users/gbaman/followers","following_url":"https://api.github.com/users/gbaman/following{/other_user}","gists_url":"https://api.github.com/users/gbaman/gists{/gist_id}","starred_url":"https://api.github.com/users/gbaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbaman/subscriptions","organizations_url":"https://api.github.com/users/gbaman/orgs","repos_url":"https://api.github.com/users/gbaman/repos","events_url":"https://api.github.com/users/gbaman/events{/privacy}","received_events_url":"https://api.github.com/users/gbaman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-02T10:15:17Z","updated_at":"2015-09-02T10:15:17Z","closed_at":null,"body":"Just a heads up, there is an issue with the apt sense-hat package where if you don't have a /boot/config.txt file, it will fail to install.\r\nThe Pi doesn't actually need a config.txt to boot so the install script doesn't need to assume there is one.\r\nA simple\r\n```touch /boot/config.txt```\r\nBefore ```sed /boot/config.txt -i -r -e \"s/^((device_tree_param|dtparam)=([^,]*,)*i2c(_arm)?)(=[^,]*)?/\\1=on/\"``` in ```postinst``` would sort it.\r\nWas a problem with https://github.com/PiNet/PiNet as the Raspbian chroot doesn't actually have the config file given the boot files are stored in a different location than the root OS (given root OS is on a server). It does though have a dummy /boot folder."}}