Setting up the build environment on HDD: Difference between revisions
(→Introduction: Clarification on HDD-installation) |
m (cmd macro added) |
||
Line 9: | Line 9: | ||
== Basic setup == | == Basic setup == | ||
Set basic environment settings. | Set basic environment settings. | ||
{{Cmd|setup-alpine}} | |||
== Change repository == | == Change repository == | ||
Change repository to use 'edge' | Change repository to use 'edge' | ||
{{Cmd|vi /etc/apk/repositories}} | |||
The file should look like this | The file should look like this | ||
<PRE> | <PRE> | ||
Line 23: | Line 25: | ||
Update/upgrade your system | Update/upgrade your system | ||
{{Cmd|apk update}} | |||
{{Cmd|apk upgrade}} | |||
== Prepare HDD == | == Prepare HDD == | ||
Install your system on HDD | Install your system on HDD | ||
{{Cmd|setup-disk}} | |||
Reboot your system | Reboot your system | ||
== Update repository == | == Update repository == | ||
Refresh the repository | Refresh the repository | ||
{{Cmd|apk update}} | |||
== 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 08:08, 17 June 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 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.