VirtualBox

Changeset 35936 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
Feb 11, 2011 8:06:56 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69977
Message:

deb/rpm: allow to overwrite pkgdir

Location:
trunk/src/VBox/Installer/linux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/VBox/Installer/linux/debian/rules

    r35230 r35936  
    3737#  NOWEBSVC=1       don't build the webservice API, default for OSE
    3838#  STAGEDISO=<path> don't build the VBoxAdditions, use the precompiled .iso
     39#  PKGDIR=<path>    where to store the final package(s)
    3940#  BLEEDING_EDGE=xyz
    4041
     
    4344current  := $(shell pwd)
    4445vboxroot := $(shell cd ../../../..; pwd)
    45 pkgdir   := $(shell cd ../../../../..; pwd)
     46pkgdir   := $(if $(PKGDIR),$(PKGDIR),$(shell cd ../../../../..; pwd))
    4647builddir := $(current)/debian/builddir
    4748moddir   := $(current)/debian/modules
  • TabularUnified trunk/src/VBox/Installer/linux/rpm/rules

    r35230 r35936  
    3333current  := $(shell pwd)
    3434vboxroot := $(shell cd ../../../../; pwd)
    35 pkgdir   := $(shell cd ../../../../..; pwd)
     35pkgdir   := $(if $(PKGDIR),$(PKGDIR),$(shell cd ../../../../..; pwd))
    3636builddir := $(current)/rpm/builddir
    3737rpmlib   := $(shell if [ `uname -m` = "x86_64" ]; then echo "lib64"; else echo "lib"; fi)
     
    188188        rm -f /usr/src/packages/SPECS/*
    189189        rpmbuild -tb --clean rpm/VirtualBox.tar.bz2
    190         mv /usr/src/packages/RPMS/*/$(verpkg)-debug* $(vboxroot)/.. || true
     190        mv /usr/src/packages/RPMS/*/$(verpkg)-debug* $(pkgdir) || true
    191191        file=`find /usr/src/packages/RPMS -name $(verpkg)*rpm -print`; \
    192192            mv $$file $(pkgdir)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette