image/env is a better place for this.
I moved it in image/env like you suggested and changed the name from ptx_repo_dist_dir to image_repo_dist_dir. I will retest once other changes are ready.
if ptxd_get_path "${ptxd_reply%.ipk}.perms" 
"${ptxd_reply%/*/*}/state/${1}.perms"; then
        ptxd_reply_perm_files[${#ptxd_reply_perm_files[@]}]="${ptxd_reply}"
fi

maybe "else ptxd_bailout" if it must exist. I'm actually not sure.
I don't think it bailed out if the .perms file was missing before, I was trying to avoid tinkering with the existing behavior. This seems like something that would be appropriate to do as a separate patch later if desired. I don't want this alone to hold you from applying this patch so if you still want me to do something about this just say.

Regards,
George

--
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to