diff options
-rw-r--r-- | meta/lib/oe/lsb.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/lsb.py b/meta/lib/oe/lsb.py index ebf90baace..fed1204e85 100644 --- a/meta/lib/oe/lsb.py +++ b/meta/lib/oe/lsb.py | |||
@@ -1,9 +1,9 @@ | |||
1 | def release_dict(): | 1 | def release_dict(): |
2 | """Return the output of lsb_release -a as a dictionary""" | 2 | """Return the output of lsb_release -ir as a dictionary""" |
3 | from subprocess import PIPE | 3 | from subprocess import PIPE |
4 | 4 | ||
5 | try: | 5 | try: |
6 | output, err = bb.process.run(['lsb_release', '-a'], stderr=PIPE) | 6 | output, err = bb.process.run(['lsb_release', '-ir'], stderr=PIPE) |
7 | except bb.process.CmdError as exc: | 7 | except bb.process.CmdError as exc: |
8 | return None | 8 | return None |
9 | 9 | ||