call apk_pkg_install() and hlist_tail_ptr() only once. the latter is O(n) and can get very slow.
Attach a file by drag & drop or click to upload