Re: List of Files Created by makepkg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 12/7/18 10:13 AM, Jayesh Badwaik via arch-general wrote:
> Hi,
> 
> I am trying to write an automated script which takes in packages and package 
> files created by makepkg and uploads it somewhere.
> 
> For this, I would need the list of files created by the `makepkg` command. Is 
> there a way to get that?
> 

you mean files *in* the .pkg.tar.xz? that get installed to the
filesystem during installation?

they're.. just tar files.

you can either tar -tvf file.pkg.tar.xz or just use whatever library
(e.g.g tarfile on python) to do this. the entire tree is there

alternatively, you can just extract the .MTREE file inside the package
tarball.


if you mean you want a list of .pkg.tar.xz files that would be CREATED
by makepkg you could just read the man page for makepkg:


       --packagelist
           List the package filenames that would be produced without
building. Listed package filenames include PKGDEST and PKGEXT.


-- 
brent saner
https://square-r00t.net/
GPG info: https://square-r00t.net/gpg-info

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux