[arch-ports] [archlinux ppc] Scripts

N4 n4rc0s at gmail.com
Mon Nov 6 13:03:17 EST 2006


Hi everyone,

  I decided to try archlinux on ppc even if it's still on his early
stages 'cos I really like the x86 flavour of this distro :)

  The installation went _almost_ smooth: there are still a few typos in
the installation guide wiki and I had to build my own kernel to have it
running. Still don't understand why, more on this later if it's of
general interest.

  I'm trying to set up a full gnome desktop development environment and
there are a few quirks I stumbled upon I'd like to ask you about:

  1) why isn't abs the same script as in x86 archlinux ?
  2) why isn't /etc/rc.d/fam the script as in the x86 archlinux ?
  3) is there any particular reason for changing the scripts ?

I copied abs from my x86 archlinux machine, ran it and it went smooth.
Most of the PKGBUILDS work out of the box (e.g. glade-3), a few don't
but that's no surprise, due to the different architecture, right ?

I copied /etc/rc.d/fam from the x86 box and it replaced perfectly the
wrong script from current/fam-2.7.0-8.

bash-3.1$ !diff
diff fam fam.old 
9,10d8
<     #Check for running portmap, start when not running
<     ck_daemon portmap && /etc/rc.d/portmap start
12,15c10,13
<     if [ ! -f /var/run/daemons/portmap ]; then
<       stat_fail
<       echo "ERROR: PORTMAP is not running"
<       exit 1
---
>     if [ ! -f /var/run/daemons/fam ]; then
>        stat_fail
>        echo "ERROR: fam is not running"
>        exit 1

see? It looks for a running fam before starting fam, that makes no sense
to me ;)

Keep up the good work everybody, I really love this distro :)

	N4 





More information about the arch-ports mailing list