VirtualBox

Changeset 57881 in vbox


Ignore:
Timestamp:
Sep 24, 2015 2:11:41 PM (9 years ago)
Author:
vboxsync
Message:

Installer/linux/debian: guess distribution name if none found.

File:
1 edited

Legend:

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

    r56888 r57881  
    8787 debdist  := $(strip $(shell grep $(debrel) $(current)/distributions_deb | cut -d'=' -f2))
    8888 ifeq ($(debdist),)
    89   $(error package distribution not detected (debrel=$(debrel)))
     89  debdist := $(if $(shell which lsb_release),_$(shell lsb_release -si | tr a-z A-Z)_$(shell lsb_release -sr | sed -e 's/\./_/g' -e 's/\([^_]*\)\(_[^_]*\).*/\1\2/'),unknown)
     90  # $(error package distribution not detected (debrel=$(debrel)))
    9091 endif
    9192endif
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