You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

52 lines
1.4 KiB

  1. #!/bin/sh
  2. set -e
  3. . $(readlink -f $(dirname $0))/framework
  4. setupenvironment
  5. configarchitecture "i386" "armel"
  6. pkglibc6="Package: libc6
  7. Architecture: armel
  8. Version: 2.11.2-2~0.3
  9. Description: Embedded GNU C Library: Shared libraries
  10. Filename: pool/main/e/eglibc/libc6_2.11.2-2_armel.deb
  11. Installed-Size: 9740
  12. MD5sum: f5b878ce5fb8aa01a7927fa1460df537
  13. Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
  14. Priority: required
  15. SHA1: 0464d597dfbf949e8c17a42325b1f93fb4914afd
  16. SHA256: faca4a3d9ccff57568abf41f6cb81ddd835be7b5d8b0161e2d5f9a7f26aae3c0
  17. Section: libs
  18. Size: 4178958
  19. "
  20. pkglibdb1="Package: libdb1
  21. Architecture: i386
  22. Version: 2.1.3-13~0.3
  23. Replaces: libc6 (<< 2.2.5-13~0.3)
  24. Description: The Berkeley database routines [glibc 2.0/2.1 compatibility]
  25. Filename: pool/main/d/db1-compat/libdb1-compat_2.1.3-13_armel.deb
  26. Installed-Size: 136
  27. MD5sum: 4043f176ab2b40b0c01bc1211b8c103c
  28. Maintainer: Colin Watson <cjwatson@debian.org>
  29. Priority: extra
  30. SHA1: b9396fdd2e3e8d1d4ba9e74e7346075852d85666
  31. SHA256: f17decaa28d1db3eeb9eb17bebe50d437d293a509bcdd7cdfd3ebb56f5de3cea
  32. Section: oldlibs
  33. Size: 44168
  34. "
  35. cat <<-EOF >aptarchive/Packages
  36. $pkglibc6
  37. $pkglibdb1
  38. EOF
  39. setupaptarchive
  40. testshowvirtual libc6:i386
  41. testequal "$pkglibc6" aptcache show libc6:armel
  42. testequal "$pkglibc6" aptcache show libc6
  43. testequal "$pkglibdb1" aptcache show libdb1:i386
  44. testnopackage libdb1:armel
  45. testequal "$pkglibdb1" aptcache show libdb1