Setting up the build environment on HDD: Difference between revisions

From Alpine Linux
(Some new notes (still not done))
(Don't need useful apps. Just point to next doc that describes how to create packages)
Line 31: Line 31:
Reboot your system
Reboot your system


== Useful apps ==
== Update repository ==
You might find the following apps useful in your system
Refresh the repository
  apk add openssh && /etc/init.d/sshd start && rc-update sshd
  apk update
apk add screen
 
apk add git
== Start building packages ==
Now you can move on to [[Creating_an_Alpine_package|creating packages for Alpine.]]

Revision as of 14:30, 19 October 2009

Setting up a 'edge' build environment for Alpine

Introduction

We will host this build environment on Alpine.

Boot you build environment

Boot alpine-1.9.0 on a box with a HDD.

Basic setup

Set basic environment settings.

setup-alpine

Change repository

Change repository to use 'edge'

vi /etc/apk/repositories

The file should look like this

http://dl-4.alpinelinux.org/alpine/edge/packages/main/
http://dl-4.alpinelinux.org/alpine/edge/packages/testing/
http://dl-4.alpinelinux.org/alpine/edge/packages/x11/

Note: You can replace 'dl-4' with some other available mirror.

Update/upgrade your system

apk update
apk upgrade

Prepare HDD

Install your system on HDD

setup-disk

Reboot your system

Update repository

Refresh the repository

apk update

Start building packages

Now you can move on to creating packages for Alpine.