xref: /aosp_15_r20/external/elfutils/tests/debuginfod-tars/pacman-sources/README.md (revision 7304104da70ce23c86437a01be71edd1a2d7f37e)
1*7304104dSAndroid Build Coastguard Worker# Creating sample pacman packages
2*7304104dSAndroid Build Coastguard Worker
3*7304104dSAndroid Build Coastguard WorkerYou will need:
4*7304104dSAndroid Build Coastguard Worker- an archlinux installation
5*7304104dSAndroid Build Coastguard Worker- `pacman -S base-devel` for basic build requirements (like debian "build-essential")
6*7304104dSAndroid Build Coastguard Worker
7*7304104dSAndroid Build Coastguard WorkerRun `makepkg` inside this directory to produce *.pkg.tar.* archives. This may
8*7304104dSAndroid Build Coastguard Workerbe .xz, .zst, .gz etc. depending on the current defaults, see makepkg.conf(5)
9*7304104dSAndroid Build Coastguard Worker"PKGEXT" for details. The archives will appear in the current directory, or the
10*7304104dSAndroid Build Coastguard Worker"PKGDEST" defined by makepkg.conf(5).
11*7304104dSAndroid Build Coastguard Worker
12*7304104dSAndroid Build Coastguard Worker# Byte-for-byte reproduction
13*7304104dSAndroid Build Coastguard Worker
14*7304104dSAndroid Build Coastguard WorkerYou will need:
15*7304104dSAndroid Build Coastguard Worker- an archlinux installation
16*7304104dSAndroid Build Coastguard Worker- `pacman -S devtools` for the clean chroot builder/reproducer
17*7304104dSAndroid Build Coastguard Worker
18*7304104dSAndroid Build Coastguard WorkerRun `makerepropkg /path/to/hello-debug-1-1-x86_64.pkg.tar.xz` (or whichever the
19*7304104dSAndroid Build Coastguard Workerarchive filename is) inside this directory.
20