You are not logged in.

#1 2012-02-16 20:27:49

Gendalph
Member
Registered: 2011-10-15
Posts: 14

Local repository compiled for Intel Atom processors

I have a netbook (Asus EEE w/Atom N270, running Arch) and a desktop (Core i5, running Win7)

Currently the idea is to get list of installed packages via pacman

pacman -Qq

Then, using yaourt build them with deps on a VM (VBox on desktop)

yaourt -Sbb $package

Then all compiled packages are thrown to FTP.

Is there a better way to do this?

Forseeing your answer why didn't I install Gentoo and why am I doing all this:
1. I had Gentoo installed on my netbook, but OpenOffice compiling full day made me migrate to Arch.
2. Compiling packages for native arch will boost performance. Not that I lack it, but would be nice to experiment.

Offline

#2 2012-02-17 20:35:28

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,849

Re: Local repository compiled for Intel Atom processors

Usually VMs emulate a generic x86/x86_64 processor, are you sure the proc in build VM is seen as an Atom ?

Apart from that, you may want to look into cross-compiling .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

#3 2012-02-24 22:27:23

Gendalph
Member
Registered: 2011-10-15
Posts: 14

Re: Local repository compiled for Intel Atom processors

Of course I'm cross-compiling - gcc supports atom as architecture, so setting march/mtune to atom works fine.
I'm also generating mirror.tar.gz file via packman, but I don't really know how to handle upgrades...

Offline

Board footer

Powered by FluxBB