pkg install wireguard-mod (how to fake it is installed)

I have a jail with read only base filesystem.

Within jail the pkg install wireguard-mod fails, as obvious /boot/modules is read only, but I have fixed that by moving if_wg.ko to base system.

Since I dont want manually to check if there is update, I would like to "register" wireguard-mod as installed to get info that there is a new version.

I wasnt able to find a command (pkg register?) or use it to get desired effect, may I ask for some help?
 
Back
Top