Hi, I was able to solve my problem below :) I defined my local rules file as follows in order to "fool" the ptxd_is_pkg_makefile() function in scrips/lib/ptxd_make_world_check_src.sh:
~/git/rootfs$ cat rules/systemd.make # # We provide this package # OVERLAY_PACKAGES-$(PTXCONF_SYSTEMD) += systemd SYSTEMD_SERIES_SHA256 := 0560688f87a3232377c24263245e401629da11de366e52e40275e142a5024268 include $(PTXDIST_TOPDIR)/rules/systemd.make The choice of "OVERLAY_" prefix was arbitrary. It doesn't matter what the prefix is before the *PACKAGES- line is as long as it is "^[A-Z_]*" and not the same as the one found in $(PTXDIST_TOPDIR)/rules/*.make file -Jon On Fri, Aug 3, 2018 at 4:25 AM Jon Ringle <[email protected]> wrote: > > Hi, > > As a follow up to my patch "Detect changes in package patch series", > I'd like to be able to further this by having the ability to maintain > my own patch series for a package without having to be forced to also > maintain the package's rules makefile as well. To try to achieve this > I tried having the following content in my local rule makefile: > > ~/git/rootfs$ cat rules/systemd.make > SYSTEMD_SERIES_SHA256 := # I want to maintain only my patch series > locally... > include $(PTXDIST_TOPDIR)/rules/systemd.make > > Unfortunately, this does not work as desired: > ~/git/rootfs$ ~/git/ptxdist/bin/ptxdist --force extract systemd > > ----------------------- > target: systemd.extract > ----------------------- > > patchin: no patches found > finished target systemd.extract > > In fact, all targets given to this package don't behave: > ~/git/rootfs$ ~/git/ptxdist/bin/ptxdist --force targetinstall systemd > > ---------------------------------- > target: systemd.targetinstall.post > ---------------------------------- > > finished target systemd.targetinstall.post > > Any ideas on either other approaches to tackle this problem or > direction on where to start hacking at the ptxdist code to make my > approach workable? > > Regards, > -Jon _______________________________________________ ptxdist mailing list [email protected]
