Bug 751

Summary: Kernel 2.6 snapshot fetch fail
Product: buildroot Reporter: Jerry Jacobs <xor.gate.engineering>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: blocker CC: buildroot
Priority: P5 Keywords: FIXME
Version: 2009.11   
Target Milestone: 2009.11   
Hardware: PC   
OS: Linux   
Host: i686 Target: arm
Build:

Description Jerry Jacobs 2009-11-30 21:34:07 UTC
Dear Developers,
There is a bug while fetch snapshot kernel(headers). The correct string is not appended to the tar.bz2 filename. See below for the verbose output of the error.
This happens with Buildroot 2009.11-rc2.

Kind Regards,
Jerry Jacobs


----- SNIPPED PREVIOUS VERBOSE OUTPUT
/home/jerry/embedded/buildroot/buildroot-2009.11-rc2/output/build/buildroot-config
mkdir -p /home/jerry/embedded/buildroot/buildroot-2009.11-rc2/output/build
cp -dpRf package/config/buildroot-config
/home/jerry/embedded/buildroot/buildroot-2009.11-rc2/output/build/buildroot-config
--2009-11-30 22:16:01--
http://www.kernel.org/pub//linux/kernel/v2.6//linux-2.6..tar.bz2
Resolving www.kernel.org... 199.6.1.164
Connecting to www.kernel.org|199.6.1.164|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2009-11-30 22:16:01 ERROR 404: Not Found.

--2009-11-30 22:16:01--
http://buildroot.net/downloads/sources//linux-2.6..tar.bz2
Resolving buildroot.net... 140.211.167.224
Connecting to buildroot.net|140.211.167.224|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2009-11-30 22:16:02 ERROR 404: Not Found.

make: *** [dl/linux-2.6..tar.bz2] Error 1
Comment 1 Peter Korsgaard 2009-12-06 14:43:32 UTC
The SNAPSHOT option is for using a local kernel snapshot rather than E.G. downloading the latest git snapshot as a tarball and using that (something that currently isn't even available on kernel.org).

The help text does hint about this, but I've tweaked a few things to make it more user friendly (+ fixed the bug that caused it to use linux-2.6..tar.bz2 and not linux-2.6.tar.bz2) in git (ce64e350111b).