drtyhlpr / rpi23-gen-image

Advanced Debian "stretch" and "buster" bootstrap script for RPi 0/1/2/3 and QEMU
GNU General Public License v2.0
307 stars 123 forks source link

Permission problems with rpi23genimage #203

Open ljones0 opened 5 years ago

ljones0 commented 5 years ago

Hello,

Getting a new problem generating any image with rpi23genimage now unfortunatly. Wanted to give this script a go on my pi zero and pi 3b+ but tried on both and also both distros (configured in the build script) but I am getting the same error every time now --

warning: unable to access '/root/.config/git/attributes': Permission denied

/media/aaaaa/ramdisk/rpi23-gen-image-master/images/stretch/build/chroot/tmp/pi-bluetooth/LICENCE.broadcom_bcm43xx: Permission denied

More complete version here

BTW had to use a link like that as every bit of code I post here seems to get messed up. Guess that's what becomes of M$ taking over github.....x.x

But maybe this script/compile problem is with the bluetooth driver prehaps?

ljones

tyborall commented 5 years ago

I have exact the same issue and are not able to build the image therefore. I build on a Debian 10 Buster as host system. These are the last lines of build log before it ends:

grafik

burnbabyburn commented 5 years ago

Thx for reporting your problems.

  1. imho code looks fine. should be fixed since january https://github.com/drtyhlpr/rpi23-gen-image/commit/c0630e37f6c3fa8ca1502372f9c09992c9382581
  2. Licence file is still up

I guess this could be a config problem in chroot?

warning: unable to access '/root/.config/git/attributes': Permission denied https://stackoverflow.com/questions/27150926/unable-to-access-git-attributes

or this

sudo -E -u nobody LANG=C LC_ALL=C wget -q -O /media/aaaaa/ramdisk/rpi23-gen-image-master/images/stretch/build/chroot/tmp/pi-bluetooth/LICENCE.broadcom_bcm43xx https://aur.archlinux.org/cgit/aur.git/plain/LICENCE.broadcom_bcm43xx?h=pi-bluetooth
sudo: unable to resolve host debian

https://askubuntu.com/questions/59458/error-message-sudo-unable-to-resolve-host-none

burnbabyburn commented 4 years ago

@drtyhlpr since its fixed i suggest close?