Bug 6014 - Building rootfs stops at copying device table when not using static tables
Summary: Building rootfs stops at copying device table when not using static tables
Status: RESOLVED WORKSFORME
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: Arnout Vandecappelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-02 09:32 UTC by broot
Modified: 2013-05-26 14:28 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description broot 2013-03-02 09:32:46 UTC
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)

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))' >> $$(FULL_DEVICE_TABLE)
Comment 1 Thomas Petazzoni 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!
Comment 2 Arnout Vandecappelle 2013-05-26 14:28:12 UTC
Works for me. Can you give us a failing defconfig? On which filesystem does it fail?