Changeset 106


Ignore:
Timestamp:
Sep 5, 2010, 2:06:04 PM (8 years ago)
Author:
amain
Message:

rootfs: fix mkfifo: cannot create fifo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debwrt/trunk/debian/rootfs/debian.mk

    r105 r106  
    3636        fi
    3737        sudo bash -c "tar cf - --exclude=".svn" -C $(DEBWRT_EXTRA_ROOTFS_FILES_DIR) . | tar -xovf - -C $(ROOTFS_BUILD_DIR)"
    38         if [ ! -f $(ROOTFS_BUILD_DIR)/dev/initctl ]; then \
    39                 sudo mkfifo $(ROOTFS_BUILD_DIR)/dev/initctl; \
     38        if [ ! -f $(ROOTFS_BUILD_DIR)/dev/initctl ]; then  \
     39                sudo mkdir -p $(ROOTFS_BUILD_DIR)/dev;         \
     40                sudo mkfifo   $(ROOTFS_BUILD_DIR)/dev/initctl; \
    4041        fi
    4142        chmod 600 $(DEBWRT_EXTRA_ROOTFS_FILES_DIR)/etc/ssh/ssh_host_rsa_key
Note: See TracChangeset for help on using the changeset viewer.