Delete leftover kernel update hooks
This commit is contained in:
1 parent
89181c4e8e
commit
12c76188c0
2 files changed
-21
No files matched your search
@@ -1,11 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
version=$1
|
|
||||||
|
|
||||||
if [ -z "$version" ]; then
|
|
||||||
echo "$0: kernel version required"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm -fR "/ostree/modules/${version}"
|
|
||||||
rm -fR "/boot/initramfs-ostree-${version}.img"
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
version=$1
|
|
||||||
|
|
||||||
if [ -z "$version" ]; then
|
|
||||||
echo "$0: kernel version required"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
ostree admin update-kernel /ostree/current/ ${version}
|
|
||||||
Reference in new issue
Block a user