]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - IMG/cpio/ventoy/hook/ventoy-hook-lib.sh
Fix a bug when booting nitrux-release-amd64_2021.05.28.iso (#953)
[Ventoy.git] / IMG / cpio / ventoy / hook / ventoy-hook-lib.sh
index 7a3a982ef7139a60075942be4fc7f14c7600b49c..dde05a0d1938848611f382367a029991701e4e30 100644 (file)
@@ -610,3 +610,10 @@ ventoy_extract_vtloopex() {
     
     cd $vtCurPwd
 }
+
+ventoy_check_install_module_xz() {
+    if [ -f "${1}.xz" ]; then
+        $BUSYBOX_PATH/xz -d  "${1}.xz"
+        $BUSYBOX_PATH/insmod "$1"
+    fi
+}