Setting up the build environment on HDD: Difference between revisions
(→Change repository: update to proper path) |
(update to current edge upgrade process) |
||
Line 8: | Line 8: | ||
== Basic setup == | == Basic setup == | ||
Set basic environment settings. | Set basic environment settings (when prompted for disk, select the disk(s) that you wish to use, and use them in sys mode. Note that if you specify two disks, soft raid will be setup on them automatically) | ||
{{Cmd|setup-alpine}} | {{Cmd|setup-alpine}} | ||
Line 27: | Line 27: | ||
{{Cmd|apk upgrade}} | {{Cmd|apk upgrade}} | ||
Reboot your system. | |||
Reboot your system | |||
== Start building packages == | == Start building packages == | ||
Now you can move on to [[Creating_an_Alpine_package|creating packages for Alpine.]] | Now you can move on to [[Creating_an_Alpine_package|creating packages for Alpine.]] |
Revision as of 21:49, 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 (when prompted for disk, select the disk(s) that you wish to use, and use them in sys mode. Note that if you specify two disks, soft raid will be setup on them automatically)
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
Reboot your system.
Start building packages
Now you can move on to creating packages for Alpine.