* [Buildroot] [Bug 10786] New: Linux fails to build unless make linux-menuconfig is run first
@ 2018-02-20 20:01 bugzilla at busybox.net
2018-02-20 20:13 ` [Buildroot] [Bug 10786] " bugzilla at busybox.net
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2018-02-20 20:01 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10786
Bug ID: 10786
Summary: Linux fails to build unless make linux-menuconfig is
run first
Product: buildroot
Version: 2017.08
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: adyke at harris.com
CC: buildroot at uclibc.org
Target Milestone: ---
Created attachment 7476
--> https://bugs.busybox.net/attachment.cgi?id=7476&action=edit
defconfig
When selecting BR2_TARGET_ROOTFS_ISO9660 and BR2_TARGET_SYSLINUX_ISOLINUX,
Linux fails to build until "make linux-menuconfig" is run. It would seem that
the kernel is expecting output/images/rootfs.cpio to exist, but it does not
unless linux-menuconfig is run.
Once linux-menuconfig has been run once, the problem disappears until I rm -rf
everything in output/images. Then running linux-menuconfig again solves the
issue.
Obviously the workaround is to run linux-menuconfig, but trying to build in a
freshly checked out copy of our repo always fails.
A branch of our repo that is identical except it does not have
BR2_TARGET_ROOTFS_ISO9660 and BR2_TARGET_SYSLINUX_ISOLINUX set does not see
this issue.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Bug 10786] Linux fails to build unless make linux-menuconfig is run first
2018-02-20 20:01 [Buildroot] [Bug 10786] New: Linux fails to build unless make linux-menuconfig is run first bugzilla at busybox.net
@ 2018-02-20 20:13 ` bugzilla at busybox.net
2018-02-21 22:56 ` bugzilla at busybox.net
2018-02-25 21:38 ` bugzilla at busybox.net
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2018-02-20 20:13 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10786
--- Comment #1 from adyke at harris.com ---
Created attachment 7481
--> https://bugs.busybox.net/attachment.cgi?id=7481&action=edit
linux_defconfig
linux_defconfig used when bug was discovered
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Bug 10786] Linux fails to build unless make linux-menuconfig is run first
2018-02-20 20:01 [Buildroot] [Bug 10786] New: Linux fails to build unless make linux-menuconfig is run first bugzilla at busybox.net
2018-02-20 20:13 ` [Buildroot] [Bug 10786] " bugzilla at busybox.net
@ 2018-02-21 22:56 ` bugzilla at busybox.net
2018-02-25 21:38 ` bugzilla at busybox.net
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2018-02-21 22:56 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10786
--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
I'm indeed able to reproduce, I'll try to have a look. Thanks for the bug
report.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Bug 10786] Linux fails to build unless make linux-menuconfig is run first
2018-02-20 20:01 [Buildroot] [Bug 10786] New: Linux fails to build unless make linux-menuconfig is run first bugzilla at busybox.net
2018-02-20 20:13 ` [Buildroot] [Bug 10786] " bugzilla at busybox.net
2018-02-21 22:56 ` bugzilla at busybox.net
@ 2018-02-25 21:38 ` bugzilla at busybox.net
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2018-02-25 21:38 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10786
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WORKSFORME
Status|NEW |RESOLVED
--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
You have CONFIG_INITRAMFS_SOURCE defined in your linux_defconfig, but you have
not enabled initramfs support in Buildroot. So obviously this cannot work.
If you enable initramfs support in Buildroot, then Buildroot will make sure to
have a dummy rootfs.cpio when the kernel is first built, will make sure to set
CONFIG_INITRAMFS_SOURCE to the correct value, and will rebuild the kernel image
at the end of the build with the final rootfs.cpio.
Therefore, there is no bug per se: there is just a mis-use of the initramfs
support.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-02-25 21:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-20 20:01 [Buildroot] [Bug 10786] New: Linux fails to build unless make linux-menuconfig is run first bugzilla at busybox.net
2018-02-20 20:13 ` [Buildroot] [Bug 10786] " bugzilla at busybox.net
2018-02-21 22:56 ` bugzilla at busybox.net
2018-02-25 21:38 ` bugzilla at busybox.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox