Developer Documentation: Difference between revisions

From Alpine Linux
(renamed headings and moved to make navigation better)
m (fixed words and moved option so easier to follow)
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
== Configuring your development system ==
== Configuring your development system ==
<!-- If you edit the following, please coordinate with Installation#Advanced.  Note that these two sections are not exact duplicates. -->
<!-- If you edit the following, please coordinate with Installation#Advanced.  Note that these two sections are not exact duplicates. -->
* [[Setting up the build environment on HDD|Setting up the build environment]] <!-- Dev and Installation -->
* [[Setting up the build environment on HDD|Setting up the build environment on HDD]] <!-- Dev and Installation -->
<!-- [[Setting up the build environment 1.7]] Obsolete, only Dev  
<!-- [[Setting up the build environment 1.7]] Obsolete, only Dev  
** [[Creating_an_Alpine_package#Setup_your_system_and_account|Setup your system and account for building packages]]
** [[Creating_an_Alpine_package#Setup_your_system_and_account|Setup your system and account for building packages]]
** [[Abuild_and_Helpers#abuild-keygen|Abuild-keygen]]-->
** [[Abuild_and_Helpers#abuild-keygen|Abuild-keygen]]
* [[Repositories#Upgrading_to_edge|Upgrading to Edge]] <!-- Pkg and Dev and Installation -->
<!-- Pkg and Dev and Installation -->
* [[Installing Alpine Linux in a chroot]]  
* [[Installing Alpine Linux in a chroot]]  
<!-- ** [[Buildlab]] ''(Tool for creating and managing chroots)''-->
<!-- ** [[Buildlab]] ''(Tool for creating and managing chroots)''-->
Line 17: Line 17:
** [[Create Alpine Linux PV DomU]]
** [[Create Alpine Linux PV DomU]]
** [[Xen LiveCD]]
** [[Xen LiveCD]]
Use [[Repositories#Upgrading_to_edge|Edge version]] for all build environment options listed above.
*
<!--  
<!--  
* [[Setting up a basic vserver]]   
* [[Setting up a basic vserver]]   
Line 47: Line 50:
** [[APKBUILD Reference]]
** [[APKBUILD Reference]]
** [[APKBUILD examples]]
** [[APKBUILD examples]]
** [[Alpine package format]]
** [[Apkindex format]]
* [[Creating patches|Creating and submitting patches]]
* [[Creating patches|Creating and submitting patches]]


Line 57: Line 58:
** [[Development using git:Cgit|Cgit Basics]]
** [[Development using git:Cgit|Cgit Basics]]


== Alpine Configuration Framework ==
== Alpine configuration framework ==
{{Draft|Needs to be organized/consolidated.}}
{{Draft|Needs to be organized/consolidated.}}


Line 88: Line 89:
* [https://git.alpinelinux.org/awall/about/ Alpine Wall User's Guide] ''(a firewall management framework)''
* [https://git.alpinelinux.org/awall/about/ Alpine Wall User's Guide] ''(a firewall management framework)''


== Alpine Design Docs ==
== Design documents ==
* [[Architecture]]
* [[Architecture]]
* [[Apk spec]]
* [[Apk spec|APK specification]] - includes Apkindex format and Alpine package format
* [[Alpine Configuration Framework Design]]


== Misc ==  
== Misc ==  
Line 97: Line 99:
* [[Testing modified install images and packages]]
* [[Testing modified install images and packages]]
* [[Custom Kernel]]
* [[Custom Kernel]]
* [[Comparison with other distros]]


== Package management ==
== Package management ==
Line 103: Line 106:
* [[Alpine Linux package management|Package Management (apk)]] ''(How to add/remove packages on your Alpine)'' <!--  
* [[Alpine Linux package management|Package Management (apk)]] ''(How to add/remove packages on your Alpine)'' <!--  
   [[Alpine Linux package management#Local_Cache|How to enable APK caching]] -->  <!-- includes [[Local APK cache]] -->
   [[Alpine Linux package management#Local_Cache|How to enable APK caching]] -->  <!-- includes [[Local APK cache]] -->
** [[Comparison with other distros]]
* [[Alpine local backup|Alpine local backup (lbu)]] ''(Permanently store your modifications in case your Diskless box needs reboot)''
** [[apk spec]]
* [[Repositories#Upgrading_to_edge|Upgrading to Edge]]
* [[Alpine local backup|Alpine local backup (lbu)]] ''(Permanently store your modifications in case your box needs reboot)''
** [[Back Up a Flash Memory Installation]]
** [[Manually editing a existing apkovl]]
* [[How to setup a Alpine Linux mirror]]
* [[How to make a custom ISO image]]
** [[Burning ISOs]]


== Init system ==
== Init system ==
Line 117: Line 112:
* [[initramfs init]]
* [[initramfs init]]
* [[Alpine Linux Init System|Init System (OpenRC)]] ''(Configure a service to automatically launch at next reboot)''
* [[Alpine Linux Init System|Init System (OpenRC)]] ''(Configure a service to automatically launch at next reboot)''
* [[Writing Init Scripts]]
** [[Writing Init Scripts]]




[[Category:Development]]
[[Category:Development]]

Latest revision as of 10:33, 16 June 2025

This page has pointers to various resources about Alpine Linux from a developer perspective. Set up the build environment and start contributing to Alpine Linux by either creating packages or by submitting patches.

Configuring your development system

Use Edge version for all build environment options listed above.

Creating packages and patches

Development tools

Alpine configuration framework

This material is work-in-progress ...

Needs to be organized/consolidated.
(Last edited by Prabuanand on 16 Jun 2025.)

Alpine Wall

Design documents

Misc

Package management

Init system