aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/kbuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/kbuild b/bin/kbuild
index 486e9d2..39f1606 100755
--- a/bin/kbuild
+++ b/bin/kbuild
@@ -259,8 +259,9 @@ if [ ! -f files.txt ]; then
fi
xargs rm -f < files.txt
-rm -r /boot/dtbs/$name
rm -r /usr/lib/modules/$name
+rm -r /boot/dtbs/$name
+rm /boot/initrd.img-$name
if [ -z "\$EDITOR" ]; then
EDITOR=vi