File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -100,9 +100,13 @@ qemukernel() {
100100 # arguments: qemukernel <qcow2 file> <kernel commandline opts>
101101
102102 # ensure we have a kernel
103- if [ ! -f shells-kernel/guest-linux-x86_64/release.txt ]; then
104- getfile shells-kernel-5.10.23-4128a20.tar.bz2 4128a20d14e8522894c78c8372eed113e620cf95678b2f993baaee37dd5587a5
105- tar xjf shells-kernel-5.10.23-4128a20.tar.bz2
103+ KVER=" "
104+ if [ -f shells-kernel/guest-linux-x86_64/release.txt ]; then
105+ KVER=" $( cat shells-kernel/guest-linux-x86_64/release.txt) "
106+ fi
107+ if [ x" $KVER " != x" 5.10.25-shells" ]; then
108+ getfile shells-kernel-5.10.25-b75417c.tar.bz2 b75417c74293081149eb3b7c145a18b6201c6f14b35024062484570701abe86c
109+ tar xjf shells-kernel-5.10.25-b75417c.tar.bz2
106110 fi
107111
108112 if [ x" $ARCH " = x ]; then
You can’t perform that action at this time.
0 commit comments