make sure things still work even when fakeroot is not in active use

This commit is contained in:
Eric Andersen 2006-04-07 22:42:15 +00:00
parent ee66f55213
commit 5418a92350
7 changed files with 7 additions and 1 deletions

View File

@ -111,7 +111,7 @@ $(TARGET_DIR):
if [ -d "$(TARGET_SKEL_DIR)" ] ; then \
cp -a $(TARGET_SKEL_DIR)/* $(TARGET_DIR)/; \
fi;
touch $(STAGING_DIR)/fakeroot.env
touch $(STAGING_DIR)/.fakeroot.00000
-find $(TARGET_DIR) -type d -name CVS | xargs rm -rf
-find $(TARGET_DIR) -type d -name .svn | xargs rm -rf

View File

@ -68,6 +68,7 @@ cramfsroot: host-fakeroot makedevs cramfs
-/sbin/ldconfig -r $(TARGET_DIR) 2>/dev/null
# Use fakeroot to pretend all target binaries are owned by root
rm -f $(STAGING_DIR)/_fakeroot.$(CRAMFS_TARGET)
touch $(STAGING_DIR)/.fakeroot.00000
cat $(STAGING_DIR)/.fakeroot* > $(STAGING_DIR)/_fakeroot.$(CRAMFS_TARGET)
-$(STAGING_DIR)/usr/bin/fakeroot \
-i $(STAGING_DIR)/_fakeroot.$(CRAMFS_TARGET) \

View File

@ -73,6 +73,7 @@ $(EXT2_BASE): host-fakeroot makedevs genext2fs
-/sbin/ldconfig -r $(TARGET_DIR) 2>/dev/null
# Use fakeroot to pretend all target binaries are owned by root
rm -f $(STAGING_DIR)/_fakeroot.$(EXT2_TARGET)
touch $(STAGING_DIR)/.fakeroot.00000
cat $(STAGING_DIR)/.fakeroot* > $(STAGING_DIR)/_fakeroot.$(EXT2_TARGET)
-$(STAGING_DIR)/usr/bin/fakeroot \
-i $(STAGING_DIR)/_fakeroot.$(EXT2_TARGET) \

View File

@ -61,6 +61,7 @@ $(ISO9660_TARGET): host-fakeroot $(EXT2_TARGET) grub mkisofs
cp $(EXT2_TARGET) $(ISO9660_TARGET_DIR)/initrd
# Use fakeroot to pretend all target binaries are owned by root
rm -f $(STAGING_DIR)/_fakeroot.$(ISO9660_TARGET)
touch $(STAGING_DIR)/.fakeroot.00000
cat $(STAGING_DIR)/.fakeroot* > $(STAGING_DIR)/_fakeroot.$(ISO9660_TARGET)
-$(STAGING_DIR)/usr/bin/fakeroot \
-i $(STAGING_DIR)/_fakeroot.$(ISO9660_TARGET) \

View File

@ -46,6 +46,7 @@ $(JFFS2_TARGET): host-fakeroot makedevs mtd-host
-/sbin/ldconfig -r $(TARGET_DIR) 2>/dev/null
# Use fakeroot to pretend all target binaries are owned by root
rm -f $(STAGING_DIR)/_fakeroot.$(JFFS2_TARGET)
touch $(STAGING_DIR)/.fakeroot.00000
cat $(STAGING_DIR)/.fakeroot* > $(STAGING_DIR)/_fakeroot.$(JFFS2_TARGET)
-$(STAGING_DIR)/usr/bin/fakeroot \
-i $(STAGING_DIR)/_fakeroot.$(JFFS2_TARGET) \

View File

@ -62,6 +62,7 @@ squashfsroot: host-fakeroot makedevs squashfs
-/sbin/ldconfig -r $(TARGET_DIR) 2>/dev/null
# Use fakeroot to pretend all target binaries are owned by root
rm -f $(STAGING_DIR)/_fakeroot.$(SQUASHFS_TARGET)
touch $(STAGING_DIR)/.fakeroot.00000
cat $(STAGING_DIR)/.fakeroot* > $(STAGING_DIR)/_fakeroot.$(SQUASHFS_TARGET)
-$(STAGING_DIR)/usr/bin/fakeroot \
-i $(STAGING_DIR)/_fakeroot.$(SQUASHFS_TARGET) \

View File

@ -14,6 +14,7 @@ tarroot: host-fakeroot makedevs
-/sbin/ldconfig -r $(TARGET_DIR) 2>/dev/null
# Use fakeroot to pretend all target binaries are owned by root
rm -f $(STAGING_DIR)/_fakeroot.$(TAR_TARGET)
touch $(STAGING_DIR)/.fakeroot.00000
cat $(STAGING_DIR)/.fakeroot* > $(STAGING_DIR)/_fakeroot.$(TAR_TARGET)
-$(STAGING_DIR)/usr/bin/fakeroot \
-i $(STAGING_DIR)/_fakeroot.$(TAR_TARGET) \