Changeset 1460


Ignore:
Timestamp:
Apr 7, 2012, 2:33:34 AM (7 years ago)
Author:
bruno
Message:
  • Prepare support for os-release coming from systemd
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/etc/pb.conf

    r1452 r1460  
    106106osrelambfile lsb = /etc/lsb-release
    107107
     108# LSB
     109osrelambfile os-release = /etc/os-release
     110
    108111#
    109112# Here is the association between the key and all the OS using the same file
     
    115118osambiguous redhat = redhat,rhel,centos,mandrake,mandriva,vmware,oel
    116119osambiguous lsb = ubuntu,lsb
     120osambiguous os-release = opensuse,fedora,arch
    117121
    118122#
     
    139143osrelexpr asianux = Asianux (?:Server|release) ([0-9]).* \(
    140144osrelexpr lsb = .*\nDISTRIB_ID=[\"]*LSB.*\nDISTRIB_RELEASE=[\"]*([^\"]+)[\"]*
     145osrelexpr os-release = .*\nID=[\"\']*([0-9a-z\._-]+)[\"\']*\nVERSION_ID=[\"\']*([0-9a-z\._-]+)[\"\']*\n
    141146osrelexpr ubuntu = .*Ubuntu.*\nDISTRIB_RELEASE=(.+)
    142147osrelexpr debian = (\d+\.\d+)
Note: See TracChangeset for help on using the changeset viewer.