Explicitly set timezone for debian build

This commit is contained in:
Maximilian Luz 2020-07-04 19:58:02 +02:00
parent 6a38c75da8
commit 561e79f032
No known key found for this signature in database
GPG key ID: 70EC0937F6C26F02
2 changed files with 6 additions and 0 deletions

View file

@ -12,6 +12,7 @@ env:
LOCALVERSION: -surface
MAINLINE_REPO: git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack
MAINLINE_BRANCH: cod/mainline
TZ: UTC
jobs:
build:
@ -25,6 +26,8 @@ jobs:
- name: Install build dependencies
run: |
sed 's/^deb /deb-src /' /etc/apt/sources.list >> /etc/apt/sources.list
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime
echo $TZ > /etc/timezone
apt-get -y update
apt-get -y install build-essential fakeroot rsync git wget python3-debian dpkg-sig lz4 sbsigntool
apt-get -y build-dep linux

View file

@ -12,6 +12,7 @@ env:
LOCALVERSION: -surface-lts
MAINLINE_REPO: git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack
MAINLINE_BRANCH: cod/mainline
TZ: UTC
jobs:
build:
@ -25,6 +26,8 @@ jobs:
- name: Install build dependencies
run: |
sed 's/^deb /deb-src /' /etc/apt/sources.list >> /etc/apt/sources.list
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime
echo $TZ > /etc/timezone
apt-get -y update
apt-get -y install build-essential fakeroot rsync git wget python3-debian dpkg-sig lz4 sbsigntool
apt-get -y build-dep linux