Skip to contentSkip to conversation

fs: use our own tools when calling the fakerooted script

PATCH New Yann E. MORIN 3 participants 3 messages May 10, 2014 – May 11, 2014 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs: use our own tools when calling the fakerooted script

From: "Yann E. MORIN" <[email protected]>

export PATH=$(BR_PATH) so that the fakerooted script uses our own tools before any of the host-system ones.

---
 fs/common.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/common.mk +1 -1
index 47199c7..919db25 100644
@@ -86,7 +86,7 @@ endif
 	PATH=$(BR_PATH) $(TOPDIR)/support/scripts/mkusers $(USERS_TABLE) $(TARGET_DIR) >> $(FAKEROOT_SCRIPT)
 	echo "$$(ROOTFS_$(2)_CMD)" >> $$(FAKEROOT_SCRIPT)
 	chmod a+x $$(FAKEROOT_SCRIPT)
-	$$(HOST_DIR)/usr/bin/fakeroot -- $$(FAKEROOT_SCRIPT)
+	PATH=$(BR_PATH) $$(HOST_DIR)/usr/bin/fakeroot -- $$(FAKEROOT_SCRIPT)
 	$(INSTALL) -m 0644 support/misc/target-dir-warning.txt $$(TARGET_DIR_WARNING_FILE)
 	- at rm -f $$(FAKEROOT_SCRIPT) $$(FULL_DEVICE_TABLE)
 ifneq ($$(ROOTFS_$(2)_COMPRESS_CMD),)
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 fs: use our own tools when calling the fakerooted script

Hi,

Le 10/05/2014 15:52, Yann E. MORIN a ?crit :

Quoted 18 lines

From: "Yann E. MORIN" <[email protected]>

export PATH=$(BR_PATH) so that the fakerooted script uses our own tools before any of the host-system ones.

---
 fs/common.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/common.mk +0 -0
index 47199c7..919db25 100644

fs/common.mk endif · line 92

Quoted 8 lines
fs/common.mk +1 -1
@@ -86,7 +86,7 @@ endif
 	PATH=$(BR_PATH) $(TOPDIR)/support/scripts/mkusers $(USERS_TABLE) $(TARGET_DIR) >> $(FAKEROOT_SCRIPT)
 	echo "$$(ROOTFS_$(2)_CMD)" >> $$(FAKEROOT_SCRIPT)
 	chmod a+x $$(FAKEROOT_SCRIPT)
-	$$(HOST_DIR)/usr/bin/fakeroot -- $$(FAKEROOT_SCRIPT)
+	PATH=$(BR_PATH) $$(HOST_DIR)/usr/bin/fakeroot -- $$(FAKEROOT_SCRIPT)
 	$(INSTALL) -m 0644 support/misc/target-dir-warning.txt $$(TARGET_DIR_WARNING_FILE)
 	- at rm -f $$(FAKEROOT_SCRIPT) $$(FULL_DEVICE_TABLE)
 ifneq ($$(ROOTFS_$(2)_COMPRESS_CMD),)

Best regards,
Romain Naour

#2 lore raw

PATCH 1/1 fs: use our own tools when calling the fakerooted script

In reply to Yann E. MORIN
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

From: "Yann E. MORIN" <[email protected]> export PATH=$(BR_PATH) so that the fakerooted script uses our own tools before any of the host-system ones.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard