Hi,
I've been trying to create my own custom image with buildroot, using the new raspberrypi2_defconfig I just discovered. I have added a few packages to the config (iptables, samba and iptools) and started a build. Everything goes fine right up to point where it starts to clone your repository. In particular the revision with the signature 23c76b7 . When it does the whole repository gets downloaded neatly in a tar.gz ball and subsequently unpacked. However, as soon as the whole cloning process is finished I get the error 'fatal: not a tree object'. After which the repo is deleted and buildroot tries to download an alternative from its own site and fails of course, thus ending the build process.
Here's what gets put onto the console:
>>> linux 23c76b7f608e51258c6fca02aebeb5d588583149 Downloading
Doing full clone
Cloning into bare repository 'linux-23c76b7f608e51258c6fca02aebeb5d588583149'...
POST git-upload-pack (gzip 1090 to 585 bytes)
remote: Counting objects: 4088791, done.
remote: Total 4088791 (delta 0), reused 0 (delta 0), pack-reused 4088791
Receiving objects: 100% (4088791/4088791), 1.14 GiB | 4.90 MiB/s, done.
Resolving deltas: 100% (3371132/3371132), done.
Checking connectivity... done.
fatal: not a tree object
--2015-03-15 21:20:57-- http://sources.buildroot.net/linux-23c76b7f608e51258c6fca02aebeb5d588583149.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 176.9.16.109
Connecting to sources.buildroot.net (sources.buildroot.net)|176.9.16.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-03-15 21:20:58 ERROR 404: Not Found.
I tried to overcome this by manually downloading the repository to an identically named directory in the 'output/build/' directory and then switching back to the revision indicated by that hash. This trick usually works when sources fail to download (due to proxies, dead links, etc.) so I was hopeful it would work this time as well. For this I used the following commands:
git clone https://github.com/raspberrypi/linux.git linux-23c76b7f608e51258c6fca02aebeb5d588583149
cd linux-23c76b7f608e51258c6fca02aebeb5d588583149/
git reset --hard 23c76b7f608e51258c6fca02aebeb5d588583149
The last command failed with the following error:
fatal: Could not parse object '23c76b7f608e51258c6fca02aebeb5d588583149'.
Trying a checkout also fails but with the error:
fatal: reference is not a tree
This pretty much sums up everything I tried. The particular Buildroot revision is c95c8c928e2d822c155984e84b4c22f2d0388cc9 (March 10th).
Hi,
I've been trying to create my own custom image with buildroot, using the new raspberrypi2_defconfig I just discovered. I have added a few packages to the config (iptables, samba and iptools) and started a build. Everything goes fine right up to point where it starts to clone your repository. In particular the revision with the signature 23c76b7 . When it does the whole repository gets downloaded neatly in a tar.gz ball and subsequently unpacked. However, as soon as the whole cloning process is finished I get the error 'fatal: not a tree object'. After which the repo is deleted and buildroot tries to download an alternative from its own site and fails of course, thus ending the build process.
Here's what gets put onto the console:
I tried to overcome this by manually downloading the repository to an identically named directory in the 'output/build/' directory and then switching back to the revision indicated by that hash. This trick usually works when sources fail to download (due to proxies, dead links, etc.) so I was hopeful it would work this time as well. For this I used the following commands:
The last command failed with the following error:
Trying a checkout also fails but with the error:
This pretty much sums up everything I tried. The particular Buildroot revision is c95c8c928e2d822c155984e84b4c22f2d0388cc9 (March 10th).