Setting up the build environment on HDD: Difference between revisions

From Alpine Linux
(→‎Change repository: update to proper path)
Line 18: Line 18:
The file should look like this
The file should look like this
<PRE>
<PRE>
http://dl-4.alpinelinux.org/alpine/edge/packages/main/
http://dl-4.alpinelinux.org/alpine/edge/main/
http://dl-4.alpinelinux.org/alpine/edge/packages/testing/
http://dl-4.alpinelinux.org/alpine/edge/testing/
http://dl-4.alpinelinux.org/alpine/edge/packages/x11/
</PRE>
</PRE>
'''''Note:''' You can replace 'dl-4' with some other available [[Downloads|mirror]].''
'''''Note:''' You can replace 'dl-4' with some other available [[Downloads|mirror]].''

Revision as of 21:48, 7 September 2011

Setting up a 'edge' build environment on HDD

Introduction

We will host this build environment on a HDD installed Alpine.

Boot you build environment

Boot the latest Alpine Linux image 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/main/
http://dl-4.alpinelinux.org/alpine/edge/testing/

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.