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
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:
10
build-alpine.sh
Executable file → Normal file
10
build-alpine.sh
Executable file → Normal 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user