From: Jan Kiszka <[email protected]>

This ensures the jailhouse.ko module can also be found when the package
is installed on its own.

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

diff --git a/recipes-jailhouse/jailhouse/files/debian/postinst 
b/recipes-jailhouse/jailhouse/files/debian/postinst
index 9590dce..4f695a9 100755
--- a/recipes-jailhouse/jailhouse/files/debian/postinst
+++ b/recipes-jailhouse/jailhouse/files/debian/postinst
@@ -10,5 +10,6 @@
 # SPDX-License-Identifier: GPL-2.0
 #
 
-echo jailhouse >> /etc/modules
+depmod -a
 
+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