You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
415 B
44 lines
415 B
# APKBUILD
|
|
|
|
## Prepare
|
|
|
|
```
|
|
# apk add alpine-sdk sudo atools
|
|
# visudo
|
|
```
|
|
|
|
```
|
|
# addgroup <yourusername> abuild
|
|
```
|
|
|
|
```
|
|
# mkdir -p /var/cache/distfiles
|
|
# chmod a+w /var/cache/distfiles
|
|
```
|
|
|
|
```
|
|
vi /etc/abuild.conf
|
|
```
|
|
|
|
|
|
```
|
|
abuild-keygen -a -i
|
|
```
|
|
|
|
```
|
|
apk add shadow
|
|
```
|
|
```
|
|
useradd -m -g cloud -c "OpenNebula administrator account" -s /bin/ash oneadmin
|
|
```
|
|
|
|
|
|
## Build
|
|
|
|
```
|
|
abuild checksum
|
|
```
|
|
|
|
```
|
|
abuild -r
|
|
```
|
|
|