Skip to contentSkip to conversation

package/kmod: fix host install

PATCH New Yann E. MORIN 3 participants 3 messages Apr 8, 2018 – Apr 9, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/kmod: fix host install

The host directory no longer uses /usr.

This currently works because we still have the legacy /usr symlink, but for correctness it is better that we just fix it.

Cc Yegor Yefremov <[email protected]>
Cc Arnout Vandecappelle <[email protected]>
Cc Thomas Petazzoni <[email protected]>
Cc Peter Korsgaard <[email protected]>
---
 package/kmod/kmod.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/kmod/kmod.mk +1 -1
index bd676108aa..e1149b7b65 100644
@@ -74,7 +74,7 @@ endif
 # host.
 define HOST_KMOD_INSTALL_TOOLS
 	mkdir -p $(HOST_DIR)/sbin/
-	ln -sf ../usr/bin/kmod $(HOST_DIR)/sbin/depmod
+	ln -sf ../bin/kmod $(HOST_DIR)/sbin/depmod
 endef
 
 HOST_KMOD_POST_INSTALL_HOOKS += HOST_KMOD_INSTALL_TOOLS
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 package/kmod: fix host install

Hello,

Quoted 5 lines · Yann E. MORIN

The host directory no longer uses /usr.

This currently works because we still have the legacy /usr symlink, but for correctness it is better that we just fix it.

Quoted 8 lines
Cc Yegor Yefremov <[email protected]>
Cc Arnout Vandecappelle <[email protected]>
Cc Thomas Petazzoni <[email protected]>
Cc Peter Korsgaard <[email protected]>
---
 package/kmod/kmod.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/kmod: fix host install

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

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

The host directory no longer uses /usr.
This currently works because we still have the legacy /usr symlink, but for correctness it is better that we just fix it.

Cc Yegor Yefremov <[email protected]>
Cc Arnout Vandecappelle <[email protected]>
Cc Thomas Petazzoni <[email protected]>
Cc Peter Korsgaard <[email protected]>

Committed to 2018.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard