Hello,
I'm creating a custom package and have run into an issue with the package installation process.
My package directory is:
/usr/plugins/devel/my_package
The directory contains the following:
+POST_INSTALL.post
Makefile
pkg-descr
src/ — containing the required application files, including the MVC structure, etc, and other directories.
From the /usr/plugins/devel/my_package directory, I run:
make package
The package is created successfully, and I then upload it to a private package repository.
I have also added the repository configuration under pkg/repos/myConf, allowing me to install the package using:
pkg install my_package
The problem is that when I install the package from the repository, the +POST_INSTALL.post script does not appear to be executed. The package is installed and extracted successfully, but the post-installation script is not run.
Additionally, after installation, I find files with names similar to the following throughout the ../conf/action.d directory:
.pkgtemp.actions_xxx.conf.nLalueg1gdd2
Has anyone encountered this issue before?
Could this be related to how the package is being built, specifically the location or naming of the +POST_INSTALL.post script? Or is there something additional that needs to be configured in the Makefile for the post-install script to be included and executed when the package is installed from a repository?
Any guidance would be appreciated.