VirtualBox

Changeset 72921 in vbox


Ignore:
Timestamp:
Jul 5, 2018 3:17:46 PM (7 years ago)
Author:
vboxsync
Message:

rpm/rules: remove various outdated conditions.
bugref:9200: Infrastructure/Linux: need an openSUSE 15 chroot
This patch removes the following tests from our RPM build rules:

  • Refuse to build if certain /usr/lib/rpm/*.ksyms files are found.

No longer needed as we no longer provide kernel modules in our packages, so
we will no longer accidentally pull in dependencies on all installed kernels.

  • Refuse to build unless the SUSE permissions changes on VirtualBox binaries

have been removes.
Never needed. The changes are made at installation time, not at build time,
so changing them on the build system as we have been doing is not helpful.

  • Refuse to build on Mandriva systems without a particular fix applied.

We no longer support building on Mandriva at all. If we ever do support it
then please let us build on clean systems and not require this sort of
change.

File:
1 edited

Legend:

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

    r72797 r72921  
    4747ifeq ($(wildcard rpm/rules),)
    4848$(error call rpm/rules from src/VBox/Installer/linux)
    49 endif
    50 
    51 ifneq ($(wildcard /usr/lib/rpm/find-requires.ksyms),)
    52 # don't allow to check for kernel syms, otherwise we depend on specific kernel versions!
    53 $(error /usr/lib/rpm/find-requires.ksyms must not be installed)
    54 endif
    55 ifneq ($(wildcard /usr/lib/rpm/find-supplements.ksyms),)
    56 # same for openSUSE
    57 $(error /usr/lib/rpm/find-supplements.ksyms must not be installed)
    58 endif
    59 ifeq ($(shell if grep -q '^/usr/lib/virtualbox' /etc/permissions* 2>/dev/null; then echo yes; fi),yes)
    60 # make sure openSUSE permissions fixes don't interfere with us
    61 $(error Fix /etc/permissions*)
    62 endif
    63 ifeq ($(shell if grep -q '^%disttag' /usr/lib/rpm/macros.d/mandriva 2>/dev/null; then echo yes; fi),yes)
    64 $(error Fix /usr/lib/rpm/macros.d/mandriva)
    6549endif
    6650
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