summaryrefslogtreecommitdiff
path: root/target/initramfs/initramfs.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-04-01 13:02:07 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-04-01 13:02:07 +0000
commit7737b360df816a6af85c1d9ce344402a02e00025 (patch)
treef9698735229b300799b143dfc77053a71b183737 /target/initramfs/initramfs.mk
parentb54bedd60c7e77ef274d272ec5807fce85134ad3 (diff)
makedevs: install into HOST_DIR
Diffstat (limited to 'target/initramfs/initramfs.mk')
-rw-r--r--target/initramfs/initramfs.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/initramfs/initramfs.mk b/target/initramfs/initramfs.mk
index d7a77c17c..09340f09f 100644
--- a/target/initramfs/initramfs.mk
+++ b/target/initramfs/initramfs.mk
@@ -31,7 +31,7 @@ endif
cat $(PROJECT_BUILD_DIR)/.fakeroot* > $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
echo "chown -R 0:0 $(TARGET_DIR)" >> $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
# Use fakeroot to pretend to create all needed device nodes
- echo "$(STAGING_DIR)/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" \
+ echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" \
>> $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
# Use fakeroot so gen_initramfs_list.sh believes the previous fakery
echo "$(SHELL) target/initramfs/gen_initramfs_list.sh -u 0 -g 0 $(TARGET_DIR) > $(INITRAMFS_TARGET)" \