projects
/
hvutilities.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f1c6f8
)
hvk: clean old modules directory before installing new modules
author
Hugo Villeneuve
<hugo@hugovil.com>
Wed, 6 Nov 2024 17:28:55 +0000
(12:28 -0500)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Wed, 6 Nov 2024 17:28:55 +0000
(12:28 -0500)
scripts/hvk-compile.sh
patch
|
blob
|
history
diff --git
a/scripts/hvk-compile.sh
b/scripts/hvk-compile.sh
index
0662b8a
..
036b2fe
100755
(executable)
--- a/
scripts/hvk-compile.sh
+++ b/
scripts/hvk-compile.sh
@@
-108,6
+108,9
@@
fi
function rootfs_install() {
mkdir -p ${deploydir}
+ # Clean old modules directory:
+ rm -rf ${deploydir}/lib/modules
+
if [ x"${CONFIG_MODULES}" = x"1" ]; then
${KMAKE} INSTALL_MOD_PATH=${deploydir} modules_install
fi