I want to download the source code of Alpine linux and do some modifications. Is there a way to do this without using abuild? Also can someone explain to me the fastest way to test the modification
I tried the following steps
- clones the git repository using git clone https://github.com/alpinelinux/aports.git
- Moved to the package I want to clone and ran “abuild -r download”
This returns the following message
/APKBUILD: line 37: syntax error: unexpected word (expecting “do”)
Following is the content of the APKBUILD file from line number 37 to 48
for _i in $source; do
case $_i in
*.$CARCH.config)
_f=${_i%.”$CARCH”.config}
_flavors=”$_flavors $_f”
if [ “linux-$_f” != “$pkgname” ]; then
subpackages=”$subpackages linux-$_f::$CBUILD_ARCH linux-$_f-dev:_dev:$CBUILD_ARCH”
fi
;;
esac
done
builddir=”$srcdir”/linux-$_kernver