Private
Public Access
1
0

fix: Create directory structure in APKBUILD package() function
Some checks failed
CI/CD Pipeline / Build Debian Package (push) Has been cancelled
CI/CD Pipeline / Build RPM Package (push) Has been cancelled
CI/CD Pipeline / Build Alpine Package (push) Has been cancelled
CI/CD Pipeline / Build Arch Package (push) Has been cancelled
CI/CD Pipeline / Code Format (push) Has been cancelled

This commit is contained in:
2026-04-14 11:48:39 +00:00
parent 86aa549db8
commit 64f60044ec

10
build-alpine.sh Executable file → Normal file
View File

@ -73,8 +73,14 @@ depends="openrc"
source=""
package() {
# Copy from workspace path (not srcdir - apk-package is created dynamically)
cp -r /workspace/echo/linux_patch_api/apk-package/* "$pkgdir"/
# Create directory structure in pkgdir
install -d "$pkgdir"/usr/bin
install -d "$pkgdir"/etc/linux_patch_api
install -d "$pkgdir"/etc/init.d
# Copy from pre-built apk-package directory
cp -r /workspace/echo/linux_patch_api/apk-package/usr/bin/* "$pkgdir"/usr/bin/
cp -r /workspace/echo/linux_patch_api/apk-package/etc/linux_patch_api/* "$pkgdir"/etc/linux_patch_api/
cp -r /workspace/echo/linux_patch_api/apk-package/etc/init.d/* "$pkgdir"/etc/init.d/
}
EOF