[arch-dev-public] [Patch] makechrootpkg: fixed support for splitted package

Eric Bélanger snowmaniscool at gmail.com
Thu Aug 13 16:10:35 EDT 2009


On Thu, Aug 13, 2009 at 3:10 PM, Andreas Radke<a.radke at arcor.de> wrote:
> Am Thu, 13 Aug 2009 03:34:29 -0400
> schrieb Eric Bélanger <snowmaniscool at gmail.com>:
>
>> On Wed, Aug 12, 2009 at 4:53 PM, Aaron
>> Griffin<aaronmgriffin at gmail.com> wrote:
>> > I merged and pushed the split package support for makechrootpkg.
>> >
>> > Regarding the namcap issue, I did it a little differently.
>> > For some reason I always forget the order:
>> >    >/dev/null 2>&1 #works fine
>> >    2>&1 >/dev/null #does not
>> >
>> > However, I just looked up your change in man bash...
>> >   &>/dev/null is equal to >/dev/null 2>&1
>> > So I fixed that in the next patch
>> >
>>
>> Thanks. Another small patch to remove a superfluous parenthesis:
>>
>>  --- makechrootpkg       2009-08-13 03:28:12.000000000 -0400
>> +++ /usr/sbin/makechrootpkg     2009-08-13 03:29:03.000000000 -0400
>> @@ -254,10 +254,10 @@
>>      for f in ${chrootdir}/union/srcdest/*; do
>>          [ -e "$f" ] || continue
>>          if [ -n "$SRCDEST" ]; then
>> -            echo "Moving downloaded source file ($(basename $f) to
>> ${SRCDEST}"
>> +            echo "Moving downloaded source file $(basename $f) to
>> ${SRCDEST}" mv "$f" "${SRCDEST}"
>>          else
>> -            echo "Moving downloaded source file ($(basename $f) to
>> ${WORKDIR}"
>> +            echo "Moving downloaded source file $(basename $f) to
>> ${WORKDIR}" mv "$f" "${WORKDIR}"
>>          fi
>>      done
>
>
> Moving stuff from SRCDEST made on my system always
> copying several GBs to builddir and afair back. No idea why it pulls all
> stuff from SRCDEST into the builddir and later back. At least this
> happened on my system.
>
> Anybody else using a SRCDEST?

Use the makechrootpkg from git. I only copies the files in the
PKGBUILD source array.

>
> And support for scp'ing all splitted packages via testingpkg/extrapkg
> in one step would be nice.

Yes. If no one does it, I might check what still needs to be done to
the devtools for the splitted/any support as doing these things
manually is starting be tedious.  I have a splitted package update
coming up so it might be a good test.

Eric

>
> -Andy
>


More information about the arch-dev-public mailing list