Print this page
pkg: If the adjunct proto is a package image, use it for dependency resolution


 233         $(SED) $(SPECIAL_MANIFESTS:%=-e '/^%$$/d') )
 234 MANIFESTS = $(LIST_MANIFESTS_CMD:sh)
 235 
 236 # Conditionally add back lp-ipp
 237 $(ENABLE_IPP_PRINTING) MANIFESTS += print-lp-ipp-ipp-listener.mf
 238 
 239 PKGS= $(MANIFESTS:%.mf=%)
 240 DEP_PKGS= $(PKGS:%=$(PDIR)/%.dep)
 241 PROC_PKGS= $(PKGS:%=$(PDIR)/%.mog)
 242 
 243 #
 244 # Track the synthetic manifests separately so we can properly express
 245 # build rules and dependencies.  The synthetic and real packages use
 246 # different sets of transforms and macros for pkgmogrify.
 247 #
 248 SYNTH_PKGS= osnet-incorporation osnet-redist
 249 DEP_SYNTH_PKGS= $(SYNTH_PKGS:%=$(PDIR)/%.dep)
 250 PROC_SYNTH_PKGS= $(SYNTH_PKGS:%=$(PDIR)/%.mog)
 251 
 252 #
 253 # Root of pkg image to use for dependency resolution
 254 # Normally / on the machine used to build the binaries
 255 #
 256 PKGDEP_RESOLVE_IMAGE = /






 257 
 258 #
 259 # For each package, we determine the target repository based on
 260 # manifest-embedded metadata.  Because we make that determination on
 261 # the fly, the publication target cannot be expressed as a
 262 # subdirectory inside the unknown-by-the-makefile target repository.
 263 #
 264 # In order to limit the target set to real files in known locations,
 265 # we use a ".pub" file in $(PDIR) for each processed manifest, regardless
 266 # of content or target repository.
 267 #
 268 PUB_PKGS= $(SYNTH_PKGS:%=$(PDIR)/%.pub) $(PKGS:%=$(PDIR)/%.pub)
 269 
 270 #
 271 # Any given repository- and status-specific package list may be empty,
 272 # but we can only determine that dynamically, so we always generate all
 273 # lists for each repository we're building.
 274 #
 275 # The meanings of each package status are as follows:
 276 #




 233         $(SED) $(SPECIAL_MANIFESTS:%=-e '/^%$$/d') )
 234 MANIFESTS = $(LIST_MANIFESTS_CMD:sh)
 235 
 236 # Conditionally add back lp-ipp
 237 $(ENABLE_IPP_PRINTING) MANIFESTS += print-lp-ipp-ipp-listener.mf
 238 
 239 PKGS= $(MANIFESTS:%.mf=%)
 240 DEP_PKGS= $(PKGS:%=$(PDIR)/%.dep)
 241 PROC_PKGS= $(PKGS:%=$(PDIR)/%.mog)
 242 
 243 #
 244 # Track the synthetic manifests separately so we can properly express
 245 # build rules and dependencies.  The synthetic and real packages use
 246 # different sets of transforms and macros for pkgmogrify.
 247 #
 248 SYNTH_PKGS= osnet-incorporation osnet-redist
 249 DEP_SYNTH_PKGS= $(SYNTH_PKGS:%=$(PDIR)/%.dep)
 250 PROC_SYNTH_PKGS= $(SYNTH_PKGS:%=$(PDIR)/%.mog)
 251 
 252 #
 253 # Root of pkg image to use for dependency resolution Normally / on the machine
 254 # used to build the binaries, or the ADJUNCT_PROTO
 255 #
 256 PKG_ADJUNCT.cmd= if [[ -d $${ADJUNCT_PROTO}/var/pkg ]]; then \
 257                 echo $$ADJUNCT_PROTO; \
 258         else    \
 259                 echo /; \
 260         fi
 261 
 262 PKGDEP_RESOLVE_IMAGE = $(PKG_ADJUNCT.cmd:sh)
 263 
 264 #
 265 # For each package, we determine the target repository based on
 266 # manifest-embedded metadata.  Because we make that determination on
 267 # the fly, the publication target cannot be expressed as a
 268 # subdirectory inside the unknown-by-the-makefile target repository.
 269 #
 270 # In order to limit the target set to real files in known locations,
 271 # we use a ".pub" file in $(PDIR) for each processed manifest, regardless
 272 # of content or target repository.
 273 #
 274 PUB_PKGS= $(SYNTH_PKGS:%=$(PDIR)/%.pub) $(PKGS:%=$(PDIR)/%.pub)
 275 
 276 #
 277 # Any given repository- and status-specific package list may be empty,
 278 # but we can only determine that dynamically, so we always generate all
 279 # lists for each repository we're building.
 280 #
 281 # The meanings of each package status are as follows:
 282 #