Changeset 83675 in vbox
- Timestamp:
- Apr 10, 2020 5:49:31 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/darwin/Installer/Makefile.kmk
r82968 r83675 186 186 --identifier org.VirtualBox.mpkg.GuestAdditions \ 187 187 --version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD) \ 188 $(if $(VBOX_MACOSX_INSTALLER_SIGN),--sign "$(VBOX_MACOSX_INSTALLER_SIGN)",) \188 $(if-expr defined(VBOX_MACOSX_INSTALLER_SIGN) && $(intersects darwin all 1,$(VBOX_WITH_CORP_CODE_SIGNING)) == "",--sign "$(VBOX_MACOSX_INSTALLER_SIGN)",) \ 189 189 $@ 190 ifdef VBOX_SIGNING_MODE 191 if $(intersects darwin all 1,$(VBOX_WITH_CORP_CODE_SIGNING)) 192 @# Sign the created pkg. 193 $(call VBOX_SIGN_PKG_FN,$@,org.VirtualBox.mpkg.GuestAdditions) 194 if $(intersects darwin all 1,$(VBOX_WITH_CORP_CODE_SIGNING)) 195 @# Notarize the signed pkg (includes stapling). 196 $(call VBOX_NOTARIZE_FILE_FN,$@,org.virtualbox.VBoxGuestAdditions.$(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD).$(VBOX_SVN_REV)) 197 endif 198 endif 199 endif 190 200 191 201 @# Cleanup. … … 273 283 --install-location /Library/Extensions/ \ 274 284 --ownership preserve \ 275 $(if $(VBOX_MACOSX_INSTALLER_SIGN),--sign "$(VBOX_MACOSX_INSTALLER_SIGN)",) \285 $(if-expr defined(VBOX_MACOSX_INSTALLER_SIGN) && $(intersects darwin all 1,$(VBOX_WITH_CORP_CODE_SIGNING)) == "",--sign "$(VBOX_MACOSX_INSTALLER_SIGN)",) \ 276 286 $@ 287 ifdef VBOX_SIGNING_MODE 288 if $(intersects darwin all 1,$(VBOX_WITH_CORP_CODE_SIGNING)) 289 @# Sign the created pkg. 290 $(call VBOX_SIGN_PKG_FN,$@,org.virtualbox.pkg.vboxguestadditionskexts) 291 endif 292 endif 277 293 @# Cleanup 278 294 sudo rm -Rf \ … … 333 349 # Add Uninstall.tool 334 350 $(INSTALL) -m 0755 $(VBOX_ADD_PATH_DI_SRC)/DiskImage/Uninstall.tool "$(VBOX_PATH_PACK_TMP)/$(VBOX_GA_PKG).root/Library/Application Support/VirtualBox Guest Additions/" 351 ifdef VBOX_SIGNING_MODE 352 $(call VBOX_SIGN_FILE_FN,"$(VBOX_PATH_PACK_TMP)/$(VBOX_GA_PKG).root/Library/Application Support/VirtualBox Guest Additions/Uninstall.tool",org.virtualbox.app.guestadditions.uninstaller) 353 endif 335 354 336 355 @# Install launchd stuff … … 341 360 $(INSTALL) -m 644 $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditionsToolsAndServices/org.virtualbox.additions.vboxservice.plist \ 342 361 "$(VBOX_PATH_PACK_TMP)/$(VBOX_GA_PKG).root/Library/LaunchDaemons/" 362 363 @# Sign the binaries. 364 ifdef VBOX_SIGNING_MODE 365 ifdef VBOX_WITH_COMBINED_PACKAGE 366 $(foreach binary, $(VBOX_DI_VB_GA_BINARIES) \ 367 ,$(NLTAB)$(call VBOX_SIGN_MACHO_FN,"$(VBOX_PATH_PACK_TMP)/$(VBOX_GA_PKG).root/Library/Application Support/VirtualBox Guest Additions/$(binary)",org.virtualbox.app.guestadditions.$(notdir $(binary))) ) 368 $(foreach binary, $(VBOX_DI_VB_GA_BINARIES) \ 369 ,$(NLTAB)$(call VBOX_SIGN_MACHO_FN,"$(VBOX_PATH_PACK_TMP)/$(VBOX_GA_PKG).root/Library/Application Support/VirtualBox Guest Additions/$(binary)-x86",org.virtualbox.app.guestadditions.$(notdir $(binary))-x86) ) 370 $(foreach binary, $(VBOX_DI_VB_GA_BINARIES) \ 371 ,$(NLTAB)$(call VBOX_SIGN_MACHO_FN,"$(VBOX_PATH_PACK_TMP)/$(VBOX_GA_PKG).root/Library/Application Support/VirtualBox Guest Additions/$(binary)-amd64",org.virtualbox.app.guestadditions.$(notdir $(binary))-amd64) ) 372 else 373 $(foreach binary, $(VBOX_DI_VB_GA_BINARIES) \ 374 ,$(NLTAB)$(call VBOX_SIGN_MACHO_FN,"$(VBOX_PATH_PACK_TMP)/$(VBOX_GA_PKG).root/Library/Application Support/VirtualBox Guest Additions/$(binary)",org.virtualbox.app.guestadditions.$(notdir $(binary))) ) 375 $(foreach binary, $(VBOX_DI_VB_GA_BINARIES) \ 376 ,$(NLTAB)$(call VBOX_SIGN_MACHO_FN,"$(VBOX_PATH_PACK_TMP)/$(VBOX_GA_PKG).root/Library/Application Support/VirtualBox Guest Additions/$(binary)-$(KBUILD_TARGET_ARCH)",org.virtualbox.app.guestadditions.$(notdir $(binary))-$(KBUILD_TARGET_ARCH)) ) 377 endif 378 endif 343 379 344 380 @# Correct ownership … … 353 389 --install-location "/Library/" \ 354 390 --ownership preserve \ 355 $(if $(VBOX_MACOSX_INSTALLER_SIGN),--sign "$(VBOX_MACOSX_INSTALLER_SIGN)",) \391 $(if-expr defined(VBOX_MACOSX_INSTALLER_SIGN) && $(intersects darwin all 1,$(VBOX_WITH_CORP_CODE_SIGNING)) == "",--sign "$(VBOX_MACOSX_INSTALLER_SIGN)",) \ 356 392 $@ 393 ifdef VBOX_SIGNING_MODE 394 if $(intersects darwin all 1,$(VBOX_WITH_CORP_CODE_SIGNING)) 395 @# Sign the created pkg. 396 $(call VBOX_SIGN_PKG_FN,$@,org.virtualbox.pkg.vboxguestadditions) 397 endif 398 endif 357 399 @# Cleanup 358 400 sudo rm -Rf \
Note:
See TracChangeset
for help on using the changeset viewer.