[OE-core] [PATCH 3/5] scripts/sstate-sysroot-cruft.sh: add simple script to find files in sysroots not tracked by sstate

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Wed Dec 5 22:49:51 UTC 2012


Martin Jansa <martin.jansa at gmail.com> writes:

> .*/var/pseudo
> and
> .*/var/pseudo/somefile$
>
> which matches also /var/pseudosomepath, I can split it in 2 regexps if
> that's likely to show in sysroot, or use "\/var\/pseudo\($\|\/[^\/]*$\)"

A basic regexp '/var/pseudo\(/.*\)\?$' should suffice.  Btw, to avoid
escaping of '/', you can write

  sed -i "\!${var}!d"


Enrico




More information about the Openembedded-core mailing list