scripts/build-kernel: don't raise exception when no previous kernel found
This commit is contained in:
parent
c010e92b85
commit
177dd2f4ed
|
@ -94,8 +94,6 @@ def install_kernel():
|
||||||
os.unlink('/boot/vmlinuz')
|
os.unlink('/boot/vmlinuz')
|
||||||
os.symlink(filename, '/boot/vmlinuz')
|
os.symlink(filename, '/boot/vmlinuz')
|
||||||
break
|
break
|
||||||
else:
|
|
||||||
raise Exception('Could not find installed kernel')
|
|
||||||
|
|
||||||
|
|
||||||
def uninstall_kernel_package():
|
def uninstall_kernel_package():
|
||||||
|
|
Loading…
Reference in New Issue