From: Jan Kiszka <[email protected]>

Use a pattern that allows to find the installed kernel version even when
run on the build host.

Signed-off-by: Jan Kiszka <[email protected]>
---
 recipes-jailhouse/jailhouse/files/debian/postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-jailhouse/jailhouse/files/debian/postinst 
b/recipes-jailhouse/jailhouse/files/debian/postinst
index 4f695a9..9e685fb 100755
--- a/recipes-jailhouse/jailhouse/files/debian/postinst
+++ b/recipes-jailhouse/jailhouse/files/debian/postinst
@@ -10,6 +10,6 @@
 # SPDX-License-Identifier: GPL-2.0
 #
 
-depmod -a
+depmod -a $(ls /lib/modules)
 
 echo jailhouse >> /etc/modules
-- 
2.16.4

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to