pmem / run_qemu

A script to create bootable OS images, and run qemu with a locally built kernel.
Creative Commons Zero v1.0 Universal
58 stars 22 forks source link

/usr/bin/run_qemu.sh: line 847: ((: 15.1: syntax error: invalid arithmetic operator (error token is ".1") #35

Closed yizhanglinux closed 1 year ago

yizhanglinux commented 1 year ago

The error output due to the mkosi version is 15.1 and caused this error:

# mkosi --version
mkosi 15.1

Here is the code:

        if (( mkosi_ver >= 9 )); then
                mkosi_opts+=("--autologin")
        fi