Include:Abuild-configure: Difference between revisions

From Alpine Linux
(created new Include page)
 
(moved out the include page Include:Abuild-keygen to main page)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
The {{pkg|abuild}} package provides scripts necessary for creating packages for Alpine Linux. It also implements functionality for building packages as well as additional commands and options for package maintenance.  Abuild needs to be configured for both the system and user.  
Abuild needs to be configured for both the system and user.  


Edit the file {{Path|/etc/abuild.conf}} as per requirements. Most of the defaults can be left alone, unless you are developing for a custom platform, in which case the comments in the file should guide you. The one field to edit is PACKAGER, so that you can get credit (or blame) for packages you create.
Edit the file {{Path|/etc/abuild.conf}} as per requirements. Most of the defaults can be left alone, unless you are developing for a custom platform, in which case the comments in the file should guide you. The one field to edit is PACKAGER, so that you can get credit (or blame) for packages you create.
Line 5: Line 5:
In order to use <code>abuild</code> command The user executing <code>abuild</code> must be a member of the <code>abuild</code> group:{{Cmd|# addgroup <yourusername> abuild}}
In order to use <code>abuild</code> command The user executing <code>abuild</code> must be a member of the <code>abuild</code> group:{{Cmd|# addgroup <yourusername> abuild}}
{{Note|Remember to logout and login again for the group change to have effect.}}
{{Note|Remember to logout and login again for the group change to have effect.}}
{{:Include:Abuild-keygen}}

Latest revision as of 09:55, 14 March 2025

Abuild needs to be configured for both the system and user.

Edit the file /etc/abuild.conf as per requirements. Most of the defaults can be left alone, unless you are developing for a custom platform, in which case the comments in the file should guide you. The one field to edit is PACKAGER, so that you can get credit (or blame) for packages you create.

In order to use abuild command The user executing abuild must be a member of the abuild group:

# addgroup <yourusername> abuild

Note: Remember to logout and login again for the group change to have effect.