This commit is contained in:
parent
39bae3fd21
commit
ee9110ad0a
1 changed files with 4 additions and 4 deletions
|
@ -13,13 +13,13 @@ chgrp abuild /var/cache/distfiles
|
||||||
chmod 775 /var/cache/distfiles
|
chmod 775 /var/cache/distfiles
|
||||||
mkdir -p "/home/user/.abuild"
|
mkdir -p "/home/user/.abuild"
|
||||||
echo "/home/user/.abuild/user.rsa" | abuild-keygen -i -b 4096
|
echo "/home/user/.abuild/user.rsa" | abuild-keygen -i -b 4096
|
||||||
mkdir /home/user/packages
|
echo 'PACKAGER_PRIVKEY="/home/user/.abuild/user.rsa\"' >/home/user/.abuild/abuild.conf
|
||||||
echo 'REPODEST="/home/user/packages-arm"' >/home/user/.abuild/abuild.conf
|
|
||||||
echo 'PACKAGER_PRIVKEY="/home/user/.abuild/user.rsa\"' >>/home/user/.abuild/abuild.conf
|
|
||||||
chown -R "user:user" /home/user/
|
chown -R "user:user" /home/user/
|
||||||
|
|
||||||
# make sure we own the relevant directory
|
# make sure we own the relevant directory
|
||||||
sudo chown -R user:user alpine packages
|
mkdir packages
|
||||||
|
echo "REPODEST=$PWD/packages" >>/home/user/.abuild/abuild.conf
|
||||||
|
chown -R user:user alpine packages
|
||||||
|
|
||||||
# build the package
|
# build the package
|
||||||
sudo -u user -- APKBUILD=alpine/APKBUILD abuild -r
|
sudo -u user -- APKBUILD=alpine/APKBUILD abuild -r
|
||||||
|
|
Loading…
Reference in a new issue