Re: custom repo guide?

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



On Wed, Dec 2, 2009 at 12:01 PM, Arvid Picciani <aep@xxxxxxxx> wrote:
> Allan McRae wrote:
>>
>> Arvid Picciani wrote:
>>>
>>> Hey,
>>>
>>> can you link me to a manual on custom repositories?
>>> I couldn't find anything on the wiki.
>>> Specifically what needs to be done on the server side to maintain the
>>> package index.
>>>
>>> Looks like that is all that's needed for a repo, is it?
>>>
>>> thanks.
>>>
>>
>>
>> http://wiki.archlinux.org/index.php/Custom_local_repository_with_ABS_and_gensync#Custom_local_repository
>>
>
>
> cake!  thanks.
>
> any idea how to build packages for a repo in bulk though?  preferable even
> with more generic make options then my workstation would have.

You know, I tried making a script to do this and it ended up going no
where. The intent was to use makechrootpkg (from devtools) to build
packages in a chroot and consequently install the package to the
chroot when completed. The only stipulation was that you needed to
manually specify the build order and do the dep stuff manually.

I'd suggest making a dumb script to just call makechrootpkg
repeatedly. If you're doing deps, then order matters, if not, then a
simple loop like so would work:
for pkg in pkgbuilds/*; do
   pushd "$pkg"
   makechrootpkg -c /path/to/chroot #or whatever
   popd
done


[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