Bug 2119 - Tries to build kernel, although disabled in config
Summary: Tries to build kernel, although disabled in config
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-25 15:22 UTC by jsteckli
Modified: 2010-06-28 17:06 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Configuration (24.03 KB, text/plain)
2010-06-25 15:23 UTC, jsteckli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jsteckli 2010-06-25 15:22:58 UTC
My config contains:

#
# Kernel
#
# BR2_LINUX_KERNEL is not set

Yet, I get:

[... build output ...]
>>>   Downloading kernel
--2010-06-25 17:15:26--  http://www.kernel.org/pub//linux/kernel/v2.6//linux-.tar.bz2
Resolving www.kernel.org... 130.239.17.4, 199.6.1.164
Connecting to www.kernel.org|130.239.17.4|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-06-25 17:15:27 ERROR 404: Not Found.

--2010-06-25 17:15:27--  http://buildroot.net/downloads/sources//linux-.tar.bz2
Resolving buildroot.net... 140.211.167.224
Connecting to buildroot.net|140.211.167.224|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://sources.buildroot.net//linux-.tar.bz2 [following]
--2010-06-25 17:15:27--  http://sources.buildroot.net//linux-.tar.bz2
Resolving sources.buildroot.net... 88.198.64.109
Connecting to sources.buildroot.net|88.198.64.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-06-25 17:15:27 ERROR 404: Not Found.

make: *** [/home/julian/src/linux-dev/buildroot/output/build/linux-/.stamp_downloaded] Error 8


This is with the current version from git. Config is attached.
Comment 1 jsteckli 2010-06-25 15:23:27 UTC
Created attachment 2113 [details]
Configuration
Comment 2 Thomas Petazzoni 2010-06-25 21:15:40 UTC
It's because you have BR2_TARGET_ROOTFS_INITRAMFS enabled and that depends on building the kernel. But, granted, there is a bug: we shouldn't allow the selection of initramfs if Linux kernel isn't enabled. I'll cook a patch to fix this.

Thanks for the report!
Comment 3 Thomas Petazzoni 2010-06-25 22:07:27 UTC
See http://lists.busybox.net/pipermail/buildroot/2010-June/035737.html for the proposed fix.
Comment 4 Peter Korsgaard 2010-06-26 05:44:53 UTC
Committed Thomas' fix, thanks
Comment 5 jsteckli 2010-06-28 16:54:17 UTC
Actually that (building initramfs without kernel) was working fine for a while and I was using it. So the fix destroys a feature for me. Is this by design?
Comment 6 jsteckli 2010-06-28 17:06:57 UTC
Ok, I can use the cpio built by buildroot. Ignore me. :)