You are not logged in.

#1 2011-03-20 14:30:20

mikeym
Member
Registered: 2009-01-30
Posts: 56

Building packages for another Arch system?

Hi,

I was wondering whether it would be possible to build Arch packages for one system on  second system. In my case I have a Asus EeePC 900 Notebook which is literally unable to compile a kernel on. So I was hoping to be able to compile it into a package on my x86_64 Arch desktop.

The relative processors are:

Model: 6.13.8 "Intel(R) Celeron(R) M processor          900MHz"
Model: 15.67.3 "AMD Athlon(tm) 64 X2 Dual Core Processor 6000+"

I guess it should be possible by setting up an appropriate chroot environment???

Anyway, I would appreciate any links to decent guides.

Offline

#2 2011-03-20 16:31:29

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: Building packages for another Arch system?

Generally yes, that's what happens when you install binaries that someone else compiled, after all.

If they're the same Arch you may not even need a chroot.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2011-03-20 17:26:34

mikeym
Member
Registered: 2009-01-30
Posts: 56

Re: Building packages for another Arch system?

Thanks for the reply. As posted they aren't the same Arch which is really the issue I was looking for clarification on.

However I have found a guide that looks like it might help me build packages in a chroot environment. What I've done in my case is copy across the /etc/makepkg.conf and /etc/pacman.conf as well as /etc/pacman.d/mirrorlist to use making the chroot. I haven't made any real modifications to these so it should be safe. The mirror list just has my choice of servers (quicker downloads), pacman.conf is unchanged and makepkg.conf has the default setting for compiling on my Notebook which should mean that anything compiled in the new chroot environment is compatible with my Netbook.

That is as far as I've got for now.

Offline

#4 2011-03-20 23:07:30

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: Building packages for another Arch system?

Just make sure your chroot is 32-bit and you'd be all-set.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2011-03-21 10:25:02

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Building packages for another Arch system?

I used the wiki page you linked to months ago to set up my own chroot. Since my laptop is running [Testing], but my desktop, server and AppleTV are not, I would often end up breaking things by building on my laptop. With the chroot, all those problems are gone, and you always have a clean system. Two invaluable advantages if you can spare the disk space.

Edit: why is this stickied?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2011-03-21 10:55:43

mikeym
Member
Registered: 2009-01-30
Posts: 56

Re: Building packages for another Arch system?

I have absolutely no idea why this is sticky. I assume one of the mods did it by mistake when they fell asleep with their head on the keyboard. smile

Offline

#7 2011-03-21 14:57:08

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: Building packages for another Arch system?

mikeym wrote:

I have absolutely no idea why this is sticky. I assume one of the mods did it by mistake when they fell asleep with their head on the keyboard. smile

That would most likely be me.... pentadactyl is unforgiving if you're in a room with no light, must have pressed something wrong smile


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB