Skip to content

Commit

Permalink
chg: Conflicting Packages
Browse files Browse the repository at this point in the history
Updated the APK build to list libc6-compat as a conflicting package.

resolves sgerrand#179.
  • Loading branch information
b01 committed Jun 4, 2024
1 parent 00157b0 commit bd2e242
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ subpackages="$pkgname-bin $pkgname-utils $pkgname-dev $pkgname-i18n"
triggers="$pkgname-bin.trigger=/lib:/usr/lib:/usr/glibc-compat/lib"

package() {
provides="libc6-compat"
provides="gnu-c-lib"
conflicts="libc6-compat"
mkdir -p "$pkgdir/lib" "$pkgdir/lib64" "$pkgdir/usr/glibc-compat/lib/locale" "$pkgdir"/usr/glibc-compat/lib64 "$pkgdir"/etc
cp -a "$srcdir"/usr "$pkgdir"
Expand All @@ -39,6 +39,7 @@ bin() {
depends="$pkgname libgcc"
depends="$depends bash" # shebang for ldd, sotrus, tzselect, xtrace
depends="$depends perl" # shebang for mtrace
depends="$depends !libc6-compat" # conflicts with this package
mkdir -p "$subpkgdir"/usr/glibc-compat
cp -a "$srcdir"/usr/glibc-compat/bin "$subpkgdir"/usr/glibc-compat
cp -a "$srcdir"/usr/glibc-compat/sbin "$subpkgdir"/usr/glibc-compat
Expand Down

0 comments on commit bd2e242

Please sign in to comment.