Developer Documentation: Difference between revisions
Dubiousjim (talk | contribs) (→Building from source and creating packages: reorganize and update) |
m (Zcrayfish moved page Category talk:Developer Documentation to Developer Documentation over redirect: The original move didn't make sense at all; it is resulting in excessive redirects.) |
||
(30 intermediate revisions by 13 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]] | ||
* [[Repositories#Upgrading_to_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)'' | ||
** [[Back Up a Flash Memory Installation]] | ** [[Back Up a Flash Memory Installation]] | ||
** [[Manually editing a existing apkovl]] | ** [[Manually editing a existing apkovl]] | ||
* [[How to setup a Alpine Linux mirror]] | * [[How to setup a Alpine Linux mirror]] | ||
* [[How to make a custom ISO image]] | * [[How to make a custom ISO image]] | ||
** [[Burning ISOs]] | ** [[Burning ISOs]] | ||
== Init system == | == Init system == | ||
* [[Alpine Linux Init System|Init System (OpenRC)]] ''(Configure a service to automatically | * [[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 === | ||
* [[ | * [[Repositories#Upgrading_to_edge|Upgrading to Edge]] <!-- Pkg and Dev and Installation --> | ||
<!-- 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 VMware|VMware]], [[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]] | |||
* [[Xen Dom0]] ''(Setting up Alpine as a dom0 for Xen hypervisor)'' | * [[Xen Dom0]] ''(Setting up Alpine as a dom0 for Xen hypervisor)'' | ||
Line 47: | Line 48: | ||
* [[Aports tree]] <!-- <== APKBUILD --> | * [[Aports tree]] <!-- <== APKBUILD --> | ||
* [[Abuild]] | * [[Abuild and Helpers]] ''(Scripts for packaging)'' | ||
<!-- includes [[Abuild_and_Helpers#apkbuild-cpan|Apkbuild-cpan]] --> | |||
<!-- includes [[ | <!-- includes [[Abuild_and_Helpers#apkbuild-pypi|Apkbuild-pypi]] --> | ||
<!-- includes [[ | <!-- | ||
[[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 | 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 84: | ||
=== Misc === | === Misc === | ||
* [[Alpine Release Testing Checklist]] | * [[Alpine Release Testing Checklist]] | ||
* [[Running glibc programs]] | * [[Running glibc programs]] | ||
* [[Alpine Source Map by boot sequence]] | |||
* [[Testing modified install images and packages]] | |||
== Alpine Configuration Framework == | == Alpine Configuration Framework == | ||
Line 109: | Line 118: | ||
== Alpine-developed Utilities == | == Alpine-developed Utilities == | ||
* [[Alpine Wall]] - [[How-To Alpine Wall]] - [ | * [[Alpine Wall]] - [[How-To Alpine Wall]] - [https://git.alpinelinux.org/awall/about/ Alpine Wall User's Guide] ''(a firewall management framework)'' | ||
== Alpine Design Docs == | |||
* [[Architecture]] | |||
* [[Apk spec]] | |||
[[Category:Development]] | [[Category:Development]] |
Latest revision as of 19:13, 22 December 2023
Package management
- Package Management (apk) (How to add/remove packages on your Alpine)
- Upgrading to Edge
- Alpine local backup (lbu) (Permanently store your modifications in case your box needs reboot)
- How to setup a Alpine Linux mirror
- How to make a custom ISO image
Init system
- initramfs init
- Init System (OpenRC) (Configure a service to automatically launch at next reboot)
- Writing Init Scripts
Development
Configuring your system
- Installing Alpine Linux in a chroot
- Buildlab (Tool for creating and managing chroots)
- Install Alpine on LXC
- VMware, Qemu, or Amazon EC2
- Xen Dom0 (Setting up Alpine as a dom0 for Xen hypervisor)
- Setting up a basic vserver
- Setting up a compile vserver for official or for third party packages
Building from source and creating packages
- Aports tree
- Abuild and Helpers (Scripts for packaging)
- Creating an Alpine package
- Custom Kernel
- APKBUILD Reference
- APKBUILD examples
- Alpine package format
- Apkindex format
Misc
- Alpine Release Testing Checklist
- Running glibc programs
- Alpine Source Map by boot sequence
- Testing modified install images and packages
Alpine Configuration Framework
This material is work-in-progress ... Needs to be organized/consolidated. |
- Alpine Configuration Framework Design (Why ACF is the way it is)
- Writing User Documentation for ACF
- mvc.lua reference - mvc.lua is the core of ACF
- mvc.lua example - build a simple (command-line) application
- acf www-controller reference - ACF www application functions
- acf www-controller example - webify the above examples
- ACF how to write - Step by step howto for writing acfs
- ACF core principles - Things that are standard across the application
- LuaPosix - Documentation for the Lua Posix functions
- ACF Libraries - Document the libraries and common functions
- Writing ACF Views - Guide for writing a view
- Writing ACF Controllers - Guide for writing a controller
- Writing ACF Models - Guide for writing a model
- ACF css
- ACF packages
- APKBUILD examples:ACF
- Apk.lua
- Changing passwords for ACF
- Generating SSL certs with ACF
- Generating SSL certs with ACF 1.9
- Getting started with ACF development
- Managing ACF
Alpine-developed Utilities
- Alpine Wall - How-To Alpine Wall - Alpine Wall User's Guide (a firewall management framework)