Message ID | de89dc125758f828a7886012bd9b1c8a1017ef48.1646406001.git.steve@sakoman.com |
---|---|
State | Accepted, archived |
Commit | de89dc125758f828a7886012bd9b1c8a1017ef48 |
Headers | show |
Series | [dunfell,01/18] libarchive: Fix for CVE-2021-36976 | expand |
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index 2746996cbb..6a1a20653a 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass @@ -865,6 +865,7 @@ python buildhistory_eventhandler() { if os.path.isdir(olddir): shutil.rmtree(olddir) rootdir = e.data.getVar("BUILDHISTORY_DIR") + bb.utils.mkdirhier(rootdir) entries = [ x for x in os.listdir(rootdir) if not x.startswith('.') ] bb.utils.mkdirhier(olddir) for entry in entries: