Developer Documentation: Difference between revisions

From Alpine Linux
(20 intermediate revisions by 6 users not shown)
Line 6: Line 6:
   [[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]]
** [[Comparison with other distros]]
** [[apk spec]]
* [[Edge|Upgrading to Edge]]
* [[Edge|Upgrading to Edge]]
* [[Alpine local backup|Alpine local backup (lbu)]] ''(Permanently store your modifications in case your box needs reboot)''
* [[Alpine local backup|Alpine local backup (lbu)]] ''(Permanently store your modifications in case your box needs reboot)''
Line 17: Line 18:


== Init system ==
== Init system ==
* [[Alpine Linux Init System|Init System (OpenRC)]] ''(Configure a service to automatically boot at next reboot)''
* [[initramfs init]]
* [[Alpine Linux Init System|Init System (OpenRC)]] ''(Configure a service to automatically launch at next reboot)''
** [[Multiple Instances of Services]]
** [[Multiple Instances of Services]]
* [[Writing Init Scripts]]
* [[Writing Init Scripts]]


== Development ==
== Development ==
=== Configuring your system ===
=== Configuring your system ===
* [[Edge|Upgrading to Edge]] <!-- Pkg and Dev and Installation -->
* [[Edge|Upgrading to Edge]] <!-- Pkg and Dev and Installation -->
* [[Setup your system and account for building packages]] <!-- included in [[Creating an Alpine package]] -->


<!-- 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]] <!-- Dev and Installation -->
* [[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]]
** [[Abuild_and_Helpers#abuild-keygen|Abuild-keygen]]


* [[Installing Alpine Linux in a chroot]] <!-- only Installation -->
* [[Installing Alpine Linux in a chroot]] <!-- only Installation -->
 
** [[Buildlab]] ''(Tool for creating and managing chroots)''
* [[Install Alpine on LXC]]
* Install Alpine on [[Install Alpine on VirtualBox|VirtualBox]], [[Install Alpine on VMware|VMware]], [[Install Alpine on coLinux|coLinux]], [[Qemu]], <!-- includes [[Install Alpine in Qemu]], [[Running Alpine in Qemu Live mode]], [[Running Alpine Linux As a QEMU networked Guest]] --> or [[Install Alpine on Amazon EC2|Amazon EC2]]
* Install Alpine on [[Install Alpine on VirtualBox|VirtualBox]], [[Install Alpine on VMware|VMware]], [[Install Alpine on coLinux|coLinux]], [[Qemu]], <!-- includes [[Install Alpine in Qemu]], [[Running Alpine in Qemu Live mode]], [[Running Alpine Linux As a QEMU networked Guest]] --> or [[Install Alpine on Amazon EC2|Amazon EC2]]


Line 47: Line 50:


* [[Aports tree]] <!-- <== APKBUILD -->
* [[Aports tree]] <!-- <== APKBUILD -->
* [[Abuild]]
* [[Abuild and Helpers]] ''(Scripts for packaging)''
* [[Abuild helpers|Abuild helpers - scripts for packaging]]
   <!-- includes [[Abuild_and_Helpers#apkbuild-cpan|Apkbuild-cpan]] -->
   <!-- includes [[Abuild_helpers#apkbuild-cpan|Apkbuild-cpan]] -->
   <!-- includes [[Abuild_and_Helpers#apkbuild-pypi|Apkbuild-pypi]] -->
   <!-- includes [[Abuild_helpers#apkbuild-pypi|Apkbuild-pypi]] -->
  <!--
  [[Abuild_and_Helpers#buildrepo|Buildrepo]]
  [[Abuild_and_Helpers#abuild-sign|Abuild-sign]]
  [[Abuild_and_Helpers#abuild-tar|Abuild-tar]]
  [[Abuild_and_Helpers#abump|Abump]]
  [[Abuild_helpers#apkgrel|Apkgrel]]
  -->
* [[Creating an Alpine package]]
* [[Creating an Alpine package]]
   <!-- includes [[Setup your system and account for building packages]] -->
   <!-- includes [[Setup your system and account for building packages]] -->
   <!-- includes [[Newapkbuild]]
   <!-- includes [[Newapkbuild]]
       To create the actual APKBUILD file newapkbuild can serve you a template to start with.
       To create the actual APKBUILD file, newapkbuild can give you a template to start with.
       It will create a directory with the given package name, place an example/template APKBUILD  
       It will create a directory with the given package name, place an example/template APKBUILD  
       file to the given directory, and fill some variables if those are provided. -->
       file to the given directory, and fill some variables if those are provided. -->
 
  <!-- includes [[Local_APK_cache]] -->
* [[Package policies]]
** [[Package policies]]
** [[Package Maintainers]]
* [[Custom Kernel]]
* [[APKBUILD Reference]]
* [[APKBUILD Reference]]
* [[APKBUILD examples]]
* [[APKBUILD examples]]
Line 75: Line 86:
=== Misc ===
=== Misc ===


* [[Buildlab]] ''dummy''
* [[Alpine Package Testing Suite]] ''work in progress''
* [[Alpine Package Testing Suite]] ''work in progress''
* [[Alpine Release Testing Checklist]]
* [[Alpine Release Testing Checklist]]
* [[Running glibc programs]]
* [[Running glibc programs]]
* [[Alpine Source Map by boot sequence]]


== Alpine Configuration Framework ==
== Alpine Configuration Framework ==
Line 111: Line 122:
* [[Alpine Wall]] - [[How-To Alpine Wall]] - [[Alpine Wall User's Guide]] ''(a new firewall management framework)''
* [[Alpine Wall]] - [[How-To Alpine Wall]] - [[Alpine Wall User's Guide]] ''(a new firewall management framework)''


== Alpine Design Docs ==
* [[Architecture]]
* [[File Formats]]


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

Revision as of 17:53, 12 June 2019

Package management

Init system

Development

Configuring your system

Building from source and creating packages


Misc

Alpine Configuration Framework

This material is work-in-progress ...

Needs to be organized/consolidated.
(Last edited by Jjott on 12 Jun 2019.)


Alpine-developed Utilities

Alpine Design Docs