Modify

Opened 9 years ago

Closed 9 years ago

#54 closed defect (fixed)

cannot create fifo `build/rootfs-mipsel-angel-2.0-1/dev/initctl': File exists

Reported by: Geert Stappers <stappers@…> Owned by: stappers@…
Priority: major Milestone: milestone:
Component: debian/rootfs Version: 2.0
Severity: Keywords:
Cc:

Description

A first build was fine.
During a second build:

$ LANG=C make debian/rootfs
if [ ! -f /usr/src/debwrt/build/rootfs-mipsel-angel-2.0-1/etc/init.d/rcS.debian -a -e /usr/src/debwrt/build/rootfs-mipsel-angel-2.0-1/etc/init.d/rcS ]; then \
                sudo mv -v /usr/src/debwrt/build/rootfs-mipsel-angel-2.0-1/etc/init.d/rcS /usr/src/debwrt/build/rootfs-mipsel-angel-2.0-1/etc/init.d/rcS.debian; \
        fi
if [ ! -f /usr/src/debwrt/build/rootfs-mipsel-angel-2.0-1/dev/initctl ]; then  \
                sudo mkdir -p /usr/src/debwrt/build/rootfs-mipsel-angel-2.0-1/dev;         \
                sudo mkfifo   /usr/src/debwrt/build/rootfs-mipsel-angel-2.0-1/dev/initctl; \
        fi
mkfifo: cannot create fifo `/usr/src/debwrt/build/rootfs-mipsel-angel-2.0-1/dev/initctl': File exists
make: *** [debian/rootfs/files-install] Error 1

The pipe allready exists

Attachments (0)

Change History (4)

comment:1 Changed 9 years ago by Geert Stappers <stappers@…>

Patch:

--- debian/rootfs/debian.mk     (revision 140)
+++ debian/rootfs/debian.mk     (working copy)
@@ -39,7 +39,7 @@
        if [ ! -f $(ROOTFS_BUILD_DIR)/etc/init.d/rcS.debian -a -e $(ROOTFS_BUILD_DIR)/etc/init.d/rcS ]; then \
                sudo mv -v $(ROOTFS_BUILD_DIR)/etc/init.d/rcS $(ROOTFS_BUILD_DIR)/etc/init.d/rcS.debian; \
        fi
-       if [ ! -f $(ROOTFS_BUILD_DIR)/dev/initctl ]; then  \
+       if [ ! -p $(ROOTFS_BUILD_DIR)/dev/initctl ]; then  \
                sudo mkdir -p $(ROOTFS_BUILD_DIR)/dev;         \
                sudo mkfifo   $(ROOTFS_BUILD_DIR)/dev/initctl; \
        fi

Enjoy!

comment:2 Changed 9 years ago by amain

  • Owner changed from amain to stappers@…
  • Status changed from new to assigned

Again a nice fix! Thanks. Please commit to SVN.

comment:3 Changed 9 years ago by stappers

Committed to the staging SVN.

comment:4 Changed 9 years ago by stappers

  • Resolution set to fixed
  • Status changed from assigned to closed

svn commit r147 has the patch

Add Comment

Modify Ticket

Action
as closed The owner will remain stappers@….
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.