Difference between revisions of "SPArch"

From ArchWiki
Jump to: navigation, search
(Getting Arch Linux to run on sparc)
Line 2: Line 2:
 
{{Article summary start}}{{Article summary text|A guide to getting Arch Linux to run on a sparc machine.}}
 
{{Article summary start}}{{Article summary text|A guide to getting Arch Linux to run on a sparc machine.}}
 
{{Article summary end}}
 
{{Article summary end}}
 +
 +
{{note| Currently there is no SPArch installation media so you must follow steps along the lines of https://wiki.archlinux.org/index.php/Install_from_Existing_Linux. Note also that there are not many repositories currently, and they don't have many packages.}}
  
 
== Installing pacman on your host system ==
 
== Installing pacman on your host system ==
 
You can get the pacman package for sparc64 from http://dcampbell.info/archlinux
 
You can get the pacman package for sparc64 from http://dcampbell.info/archlinux
 
  $ wget http://dcampbell.info/archlinux/core/os/sparc64/pacman-3.4.1-1-sparc64.pkg.tar.gz
 
  $ wget http://dcampbell.info/archlinux/core/os/sparc64/pacman-3.4.1-1-sparc64.pkg.tar.gz
 +
 +
Once you have pacman on your host system, you will need to edit pacman.conf. Tell pacman to use one of the SPArch package repositories.
  
 
== Setting up a chroot ==
 
== Setting up a chroot ==
 +
Once you have installed what packages you want with pacman into your chroot, you will need to edit the makepkg.conf file you use to build packages. At a minimal for a sparc64 machine, modify the appropriate lines to match what is below:
 +
need to fill this in
 +
  
 
== Building a bootable base system ==
 
== Building a bootable base system ==
Line 94: Line 101:
 
* patch
 
* patch
 
* pkg-config
 
* pkg-config
 
With these packages built, someone should be able to grab pacman, then install these packages into a new root, install SILO and boot along the lines of https://wiki.archlinux.org/index.php/Install_from_Existing_Linux. In the future, there should be an install image and more packages in the repository.
 

Revision as of 07:01, 8 November 2010

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:SPArch#)
Template:Article summary startTemplate:Article summary text

Template:Article summary end

Note: Currently there is no SPArch installation media so you must follow steps along the lines of https://wiki.archlinux.org/index.php/Install_from_Existing_Linux. Note also that there are not many repositories currently, and they don't have many packages.

Installing pacman on your host system

You can get the pacman package for sparc64 from http://dcampbell.info/archlinux

$ wget http://dcampbell.info/archlinux/core/os/sparc64/pacman-3.4.1-1-sparc64.pkg.tar.gz

Once you have pacman on your host system, you will need to edit pacman.conf. Tell pacman to use one of the SPArch package repositories.

Setting up a chroot

Once you have installed what packages you want with pacman into your chroot, you will need to edit the makepkg.conf file you use to build packages. At a minimal for a sparc64 machine, modify the appropriate lines to match what is below:

need to fill this in

Building a bootable base system

Sharing your packages with others

We need to figure out how to maintain the sparc repositories so that we can spread out the work of keeping a working set packages available to others. --DaveKong 01:47, 8 November 2010 (EST)

Packages needed for a base system (sparc64)

Below are packages that have not been added to a SPArch repository yet:

base:

  • attr
  • bash
  • binutils
  • bzip2
  • coreutils
  • cryptsetup
  • dash
  • dcron
  • device-mapper
  • dhcpcd
  • diffutils
  • e2fsprogs
  • file
  • filesystem
  • findutils
  • gawk
  • gcc-libs
  • gen-init-cpio
  • gettext
  • glibc
  • grep
  • grub
  • gzip
  • initscripts
  • iputils
  • jfsutils
  • kernel26
  • less
  • libusb
  • licenses
  • logrotate
  • lzo2
  • mailx
  • man-db
  • man-pages
  • mdadm
  • net
  • pacman
  • pam
  • pciutils
  • pcmciautils
  • perl
  • ppp
  • procps
  • psmisc
  • reiserfsprogs
  • rp-pppoe
  • sed
  • shadow
  • sysfsutils
  • syslog-ng
  • sysvinit
  • tar
  • tcp_wrappers
  • texinfo
  • udev
  • usbutils
  • util-linux-ng
  • vi
  • wget
  • which
  • wpa_supplicant
  • xfsprogs

base-devel:

  • autoconf
  • automake
  • bison
  • fakeroot
  • flex
  • gcc
  • libtool
  • m4
  • make
  • patch
  • pkg-config