Skip to content

Commit eb6cbad

Browse files
committed
Fix lsb_release parser
1 parent fdda229 commit eb6cbad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
SHELL = /bin/bash
22
ARCH ?= $(shell uname -m)
33
PYTHON ?= /usr/bin/python3
4-
OS_CODENAME ?= $(shell grep VERSION_CODENAME= /etc/os-release | cut -f2 -d=)
4+
OS_CODENAME ?= $(shell lsb_release -cs)
55

66
ifneq ("$(wildcard .git)","")
77
RELEASE ?= $(or $(shell git rev-parse --abbrev-ref HEAD | grep -v '^stable$$'),\

docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ENV QEMU_CPU=$QEMU_CPU
66

77
RUN apt-get update && \
88
DEBIAN_FRONTEND=noninteractive \
9-
apt-get install -y build-essential git wget \
9+
apt-get install -y lsb-release build-essential git wget \
1010
virtualenv fakeroot debhelper \
1111
libpcap-dev libsodium-dev libevent-dev \
1212
python3-twisted python3-pyroute2 \

0 commit comments

Comments
 (0)