Hi,
The patch to add intercept_scripts to PSEUDO_IGNORE_PATHS breaks all my builds. This is commit edc8051bc09648433ec16a5b6a8ae0b87f50d9d6 on the gatesgarth branch.
I get a large number of warnings:
WARNING: og-image-consoleserver-1.0-r0 do_rootfs: copyfile: failed to chown/chmod /home/build/work/build/ogpuma/tmp-glibc/work/ogpuma-og-linux/og-image-consoleserver/1.0-r0/intercept_scripts-5ec94d6f75025284385558de3938c138bea2e7e9d09944e9dd41e4719d513fc8/update_udev_hwdb ([Errno 1] Operation not permitted: '/home/build/work/build/ogpuma/tmp-glibc/work/ogpuma-og-linux/og-image-consoleserver/1.0-r0/intercept_scripts-5ec94d6f75025284385558de3938c138bea2e7e9d09944e9dd41e4719d513fc8/update_udev_hwdb')
More significantly, the copy of intercept_scripts are not executable so I get an error.
ERROR: og-image-consoleserver-1.0-r0 do_rootfs: Postinstall scriptlets of ['libglib-2.0-0', 'udev-hwdb'] have failed. If the intention is to defer them to first boot, then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
The actual failing command looks like this:
+ /home/build/work/build/ogpuma/tmp-glibc/work/ogpuma-og-linux/og-image-consoleserver/1.0-r0/intercept_scripts-5ec94d6f75025284385558de3938c138bea2e7e9d09944e9dd41e4719d513fc8/postinst_intercept update_udev_hwdb udev-hwdb mlprefix= binprefix= rootlibexecdir=/lib PREFERRED_PROVIDER_udev=systemd
/var/tmp/rpm-tmp.k3LlRZ: line 5: /home/build/work/build/ogpuma/tmp-glibc/work/ogpuma-og-linux/og-image-consoleserver/1.0-r0/intercept_scripts-5ec94d6f75025284385558de3938c138bea2e7e9d09944e9dd41e4719d513fc8/postinst_intercept: Permission denied
If I update PSEUDO_IGNORE_PATHS in image.bbclass, I can once again build.
-PSEUDO_IGNORE_PATHS .= ",${WORKDIR}/intercept_scripts,${WORKDIR}/oe-rootfs-repo"
+PSEUDO_IGNORE_PATHS .= ",${WORKDIR}/oe-rootfs-repo"
I am not sure if it's possible to work around this using a local.conf mod... I tried
PSEUDO_IGNORE_PATHS_remove = ",${WORKDIR}/intercept_scripts"
but it didn't work, so the only options I have right now are changing poky (ew) or not updating past this commit.
I build under Docker (with an Ubuntu 18.04 base), in case that is relevant.
Lincoln