From 331bef7ccf2261cc6d1fe2d9b26ac56a48a1a9a0 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 13 Sep 2024 10:21:24 +0200 Subject: kbuild: Remove the initrd image on uninstall.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The initrd image is created and installed dynamically via install.sh. Hence, this is not picked up by the files.txt list and so we need to remove it manually. Signed-off-by: Miquel Sabaté Solà --- bin/kbuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/kbuild') 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 -- cgit v1.2.3