Build Your Own Packeage for Alpine Linux
by cc
I wanna run Alpine Linux in VirtualBox, and port the xf86-video-vboxvideo to Alpine as xf86-video-vboxvideo is simpler than virtualbox-additions.
The following is steps to build the package.
- Install essentail packages:
apk add alpine-sdk abuild-keygen -a
- Create user to build package
adduser va addgroup va abuild echo "va ALL=(ALL) ALL" >> /etc/sudoers
- Fetch aports and build the package
git clone https://github.com/longlene/aports.git ~/aports cd ~/aports/testing/xf86-video-vboxvideo abuild -r
- Add the package to system
apk add --allow-untrusted --repository /home/va/packages/testing xf86-video-vboxvideo
https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package
tags: