Patchwork [Bug,6014] New: Building rootfs stops at copying device table when not using static tables

login
register
mail settings
Submitter bugzilla@busybox.net
Date March 2, 2013, 9:32 a.m.
Message ID <bug-6014-163@https.bugs.busybox.net/>
Download mbox | patch
Permalink /patch/224477/
State Rejected
Headers show

Comments

bugzilla@busybox.net - March 2, 2013, 9:32 a.m.
https://bugs.busybox.net/show_bug.cgi?id=6014

           Summary: Building rootfs stops at copying device table when not
                    using static tables
           Product: buildroot
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned@buildroot.uclibc.org
        ReportedBy: broot@monkster.hopto.org
                CC: buildroot@uclibc.org
   Estimated Hours: 0.0


2013.02 (works OK in 2012.11)

Using dynamic dev management (e.g. BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV) 
stops rootfs building waiting for keyboard:

cat   > /home/user/panda/buildroot-2013.02/output/build/_device_table.txt

Notice extra space following cat.

Following fixes issue (but probabably not solution, I don't know what is the
purpose of those double $ that appeared in 2013.02)

$$(FULL_DEVICE_TABLE)
bugzilla@busybox.net - May 26, 2013, 1:31 p.m.
https://bugs.busybox.net/show_bug.cgi?id=6014

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned@buildroot.uclibc |arnout@mind.be
                   |.org                        |

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2013-05-26 13:29:56 UTC ---
Arnout, since you're the author of 847895d29524d81b64afb059b8649a77802a469b,
could you have a look at the below bug? Thanks!
bugzilla@busybox.net - May 26, 2013, 2:29 p.m.
https://bugs.busybox.net/show_bug.cgi?id=6014

Arnout Vandecappelle <arnout@mind.be> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #2 from Arnout Vandecappelle <arnout@mind.be> 2013-05-26 14:28:12 UTC ---
Works for me. Can you give us a failing defconfig? On which filesystem does it
fail?

Patch

diff --git a/fs/common.mk b/fs/common.mk
index 8b5b2f2..eb8a648 100644
--- a/fs/common.mk
+++ b/fs/common.mk
@@ -47,7 +47,7 @@  $$(BINARIES_DIR)/rootfs.$(1): $$(ROOTFS_$(2)_DEPENDENCIES)
        rm -f $$(FAKEROOT_SCRIPT)
        rm -f $$(TARGET_DIR_WARNING_FILE)
        echo "chown -R 0:0 $$(TARGET_DIR)" >> $$(FAKEROOT_SCRIPT)
-ifneq ($$(ROOTFS_DEVICE_TABLES),)
+ifneq ($(ROOTFS_DEVICE_TABLES),)
        cat $$(ROOTFS_DEVICE_TABLES) > $$(FULL_DEVICE_TABLE)
 ifeq ($$(BR2_ROOTFS_DEVICE_CREATION_STATIC),y)
        printf '$$(subst $$(sep),\n,$$(PACKAGES_DEVICES_TABLE))' >>