VirtualBox

Changeset 61512 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 7, 2016 5:54:37 AM (9 years ago)
Author:
vboxsync
Message:

deb/rpm: fix for 32-bit

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

Legend:

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

    r61503 r61512  
    5757verfile  := $(builddir)/version-generated.mk
    5858ose      := $(if $(OSE),1,$(if $(wildcard $(vboxroot)/src/VBox/RDP/server),,1))
    59 arch     := $(shell if [ `uname -m` = "x86_64" ]; then echo "amd64"; else echo "i386"; fi)
     59chrarch  := $(shell if [ `uname -m` = "x86_64" ]; then echo "amd64"; else echo "x86"; fi)
    6060-include $(vboxroot)/SVN_REVISION
    6161svnrev   :=$(if $(svn_revision),$(svn_revision),)
     
    284284        mv $(archdir) $(prefix)/usr/lib/$(package)
    285285        if [ -f $(prefix)/usr/lib/$(package)/libQt5CoreVBox.so.5 ]; then \
    286             ../../../../tools/linux.$(arch)/bin/chrpath rpm/$(rpmname)chrpath \
     286            ../../../../tools/linux.$(chrarch)/bin/chrpath rpm/$(rpmname)chrpath \
    287287                --keepgoing --replace /usr/lib/$(package) \
    288288                $(prefix)/usr/lib/$(package)/*.so.5 \
  • trunk/src/VBox/Installer/linux/rpm/rules

    r61503 r61512  
    6767builddir := $(current)/rpm/builddir
    6868rpmlib   := $(shell if [ `uname -m` = "x86_64" ]; then echo "lib64"; else echo "lib"; fi)
    69 arch     := $(shell if [ `uname -m` = "x86_64" ]; then echo "amd64"; else echo "i386"; fi)
     69chrarch  := $(shell if [ `uname -m` = "x86_64" ]; then echo "amd64"; else echo "x86"; fi)
    7070verfile  := $(builddir)/version-generated.mk
    7171ose      := $(if $(OSE),1,$(if $(wildcard $(vboxroot)/src/VBox/RDP/server),,1))
     
    241241            rpm/VirtualBox.tmpl.spec > $(archdir)/VirtualBox.spec
    242242        mv rpm/VirtualBox-$(ver) rpm/$(rpmname)
    243         cp ../../../../tools/linux.$(arch)/bin/chrpath rpm/$(rpmname)
     243        cp ../../../../tools/linux.$(chrarch)/bin/chrpath rpm/$(rpmname)
    244244        tar -cf rpm/VirtualBox.tar -C rpm $(rpmname)
    245245        rm -f rpmbuild/RPMS/*/VirtualBox*rpm
Note: See TracChangeset for help on using the changeset viewer.

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