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.
40 lines
379 B
40 lines
379 B
# APKBUILD
|
|
|
|
## Prepare
|
|
|
|
```
|
|
# apk add alpine-sdk sudo
|
|
# visudo
|
|
```
|
|
|
|
```
|
|
# addgroup <yourusername> abuild
|
|
```
|
|
|
|
```
|
|
# mkdir -p /var/cache/distfiles
|
|
# chmod a+w /var/cache/distfiles
|
|
```
|
|
|
|
|
|
```
|
|
abuild-keygen -a -i
|
|
```
|
|
|
|
```
|
|
apk add shadow
|
|
```
|
|
```
|
|
useradd -m -g cloud -c "OpenNebula administrator account" -s /bin/ash oneadmin
|
|
```
|
|
|
|
|
|
## Build
|
|
|
|
```
|
|
abuild checksum
|
|
```
|
|
|
|
```
|
|
abuild -r
|
|
```
|
|
|