Skip to contentSkip to conversation

oeqa/selftest/containerimage: update for improved cleanup

PATCH In review Ross Burton 2 participants 3 messages Dec 3, 2020 – Dec 4, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 oeqa/selftest/containerimage: update for improved cleanup

ldconfig/aux-cache isn't generated anymore, and the opkg directories are correctly removed now.

---
 meta/lib/oeqa/selftest/cases/containerimage.py | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
meta/lib/oeqa/selftest/cases/containerimage.py +1 -7
index 4ad7f0e654..5d498f5bf2 100644
@@ -58,13 +58,7 @@ IMAGE_INSTALL_remove = "ssh-pregen-hostkeys"
                     '.{sysconfdir}/ld.so.cache',
                     '.{sysconfdir}/timestamp',
                     '.{sysconfdir}/version',
-                    './run/',
-                    '.{localstatedir}/cache/',
-                    '.{localstatedir}/cache/ldconfig/',
-                    '.{localstatedir}/cache/ldconfig/aux-cache',
-                    '.{localstatedir}/cache/opkg/',
-                    '.{localstatedir}/lib/',
-                    '.{localstatedir}/lib/opkg/'
+                    './run/'
                 ]
 
         expected_files = [ x.format(bindir=bbvars['bindir'],
Signature · 1 line
2.25.1
#1 lore raw
Quoted 17 lines · Ross Burton

ldconfig/aux-cache isn't generated anymore, and the opkg directories are correctly removed now.

---
 meta/lib/oeqa/selftest/cases/containerimage.py | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
meta/lib/oeqa/selftest/cases/containerimage.py +0 -0
index 4ad7f0e654..5d498f5bf2 100644
@@ -58,13 +58,7 @@ IMAGE_INSTALL_remove = "ssh-pregen-hostkeys"
                     '.{sysconfdir}/ld.so.cache',
                     '.{sysconfdir}/timestamp',
                     '.{sysconfdir}/version',

meta/lib/oeqa/selftest/cases/containerimage.py IMAGE_INSTALL_remove = "ssh-pregen-hostkeys" · line 63

Quoted 10 lines
meta/lib/oeqa/selftest/cases/containerimage.py +1 -7
-                    './run/',
-                    '.{localstatedir}/cache/',
-                    '.{localstatedir}/cache/ldconfig/',
-                    '.{localstatedir}/cache/ldconfig/aux-cache',
-                    '.{localstatedir}/cache/opkg/',
-                    '.{localstatedir}/lib/',
-                    '.{localstatedir}/lib/opkg/'
+                    './run/'
                 ]
 

Nearly, but:

https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/1602/steps/15/logs/stdio

I've a fixup I'll test and squash in -next.

Cheers,

Richard

#2 lore raw

Argh, sorry. Meant to run it through a selftest before posting, but forgot.

Ross

Quoted 40 lines · Richard Purdie
Quoted 17 lines · Ross Burton

ldconfig/aux-cache isn't generated anymore, and the opkg directories are correctly removed now.

---
 meta/lib/oeqa/selftest/cases/containerimage.py | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
meta/lib/oeqa/selftest/cases/containerimage.py +0 -0
index 4ad7f0e654..5d498f5bf2 100644
@@ -58,13 +58,7 @@ IMAGE_INSTALL_remove = "ssh-pregen-hostkeys"
                     '.{sysconfdir}/ld.so.cache',
                     '.{sysconfdir}/timestamp',
                     '.{sysconfdir}/version',

meta/lib/oeqa/selftest/cases/containerimage.py IMAGE_INSTALL_remove = "ssh-pregen-hostkeys" · line 63

Quoted 10 lines
meta/lib/oeqa/selftest/cases/containerimage.py +1 -7
-                    './run/',
-                    '.{localstatedir}/cache/',
-                    '.{localstatedir}/cache/ldconfig/',
-                    '.{localstatedir}/cache/ldconfig/aux-cache',
-                    '.{localstatedir}/cache/opkg/',
-                    '.{localstatedir}/lib/',
-                    '.{localstatedir}/lib/opkg/'
+                    './run/'
                 ]
 

Nearly, but:

https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/1602/steps/15/logs/stdio

I've a fixup I'll test and squash in -next.

Cheers,

Richard