pmb.aportgen.binutils: fix for new binutils file conflict (MR 2116)
Newly generated binutils package has file conflicsts with non-cross binutils. ERROR: binutils-2.37-r3: trying to overwrite usr/lib/bfd-plugins/libdep.so owned by binutils-aarch64-2.37-r3. Fix the generator to produce package that does not include these plugins.
This commit is contained in:
parent
2d23849aa3
commit
5761a29f07
|
@ -45,6 +45,9 @@ def generate(args, pkgname):
|
|||
|
||||
# remove man, info folders
|
||||
rm -rf "$pkgdir"/usr/share
|
||||
|
||||
# remove files that conflict with non-cross binutils
|
||||
rm -rf "$pkgdir"/usr/lib/bfd-plugins
|
||||
""",
|
||||
"libs": None,
|
||||
"gold": None,
|
||||
|
|
|
@ -63,6 +63,9 @@ package() {
|
|||
|
||||
# remove man, info folders
|
||||
rm -rf "$pkgdir"/usr/share
|
||||
|
||||
# remove files that conflict with non-cross binutils
|
||||
rm -rf "$pkgdir"/usr/lib/bfd-plugins
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue