scripts/update-linux-headers.sh: Remove temporary directory inbetween
authorThomas Huth <thuth@redhat.com>
Mon, 27 May 2024 06:02:43 +0000 (08:02 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 29 May 2024 10:41:56 +0000 (12:41 +0200)
commit3efc75ad9d9317e5709861bbebb2c29390f8e7a2
treeab4d2fd218de785586732c91b340074f4c82b754
parent84aacddd808b87824bca68006da0f73a1d0905f1
scripts/update-linux-headers.sh: Remove temporary directory inbetween

We are reusing the same temporary directory for installing the headers
of all targets, so there could be stale files here when switching from
one target to another. Make sure to delete the folder before installing
a new set of target headers into it.

Message-ID: <20240527060243.12647-1-thuth@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
scripts/update-linux-headers.sh