[Aboriginal] Build from version control system repos instead of from tarballs

Alessio Igor Bogani alessioigorbogani at gmail.com
Fri Oct 5 07:47:26 PDT 2012


Hi Rob,

On 09/09/2012 03:55, Rob Landley wrote:
> On 09/04/2012 03:49 AM, Alessio Igor Bogani wrote:
>> Hi All,
>>
>> Can Aboriginal grabs sources from git(Linux, musl, uclibc, busybox)
>> and hg(toybox) repos instead of from tarballs?
>> Thanks!
[...]
> I'm thinking about ways to simplify the package cache dance I mentioned
> earlier. Possibly the package cache should be packages/cache and then
> the procedure should be:
>
> 1) comment out the tarball URL in download.sh
> 2) remove the patches you don't want applied from sources/patches
> 3) git clone packages/cache/thingy

Unfortunately it doesn't work.

I have tried with the linux kernel so I commented out download.sh lines 
in this way:
#URL=http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.5.tar.bz2 \
#SHA1=d80e85147417605e125fc3fb263af85d7ffd1ad5 \
#ALT=http://kernel.org/pub/linux/kernel/v3.0/testing/linux-3.0-rc1.tar.bz2 \
#maybe_fork "download || dienow"

Left sources/patches untouched.

Cloned linux git tree into packages/cache/linux

./build.sh $ARCH results in:

make[1]: Leaving directory 
`/home/alessio/Downloads/aboriginal-git-1.2.0/build/temp-i686-virtio/build-gcc/gcc'
cleanup build-gcc
cleanup gcc-core
=== ccwrap (i686-virtio simple-cross-compiler)
=== linux-headers (i686-virtio simple-cross-compiler)
=== linux (i686-virtio simple-cross-compiler)
No tarball for linux

Exiting due to errors (i686-virtio simple-cross-compiler linux)

real	2m30.463s
user	0m48.571s
sys	0m19.117s

Do you have any suggestions?

Ciao,
Alessio



More information about the Aboriginal mailing list