mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
pkg.sh: Filter out system installation directories below /usr
System installation directories should not belong to jw-build-generated packages, so exclude them via regex. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
d9b049e27d
commit
b633e9637c
1 changed files with 8 additions and 1 deletions
|
|
@ -923,7 +923,14 @@ cmd_milk_install_log()
|
||||||
|
|
||||||
cat_log()
|
cat_log()
|
||||||
{
|
{
|
||||||
cat $in | $user_filter
|
cat $in | sed '
|
||||||
|
/\/usr\/bin$/ d
|
||||||
|
/\/usr\/sbin$/ d
|
||||||
|
/\/usr\/lib$/ d
|
||||||
|
/\/usr\/lib64$/ d
|
||||||
|
/\/usr\/lib\/pkgconfig$/ d
|
||||||
|
/\/usr\/lib64\/pkgconfig$/ d
|
||||||
|
' | $user_filter
|
||||||
}
|
}
|
||||||
|
|
||||||
compress()
|
compress()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue