LAT: upgrade to 20220214 to use minbase variant for debootstrap

Including another 2 fixes

8a9fc84347
b393d2053d

Remove the workaround of minbase in Dockerfile

Test Plan:
- PASS: Rebuild containers
- PASS: Build image
- PASS: Boot image

Story: 2008846
Task: 44194

Signed-off-by: Yue Tao <yue.tao@windriver.com>
Change-Id: I54df6a3cd69eec504052b1cddb881b3ceb3679b0
This commit is contained in:
Yue Tao
2022-02-15 16:31:19 +08:00
parent eec9163e0e
commit 1f391d4de6
3 changed files with 8 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ FROM debian:bullseye
MAINTAINER Chen Qi <Qi.Chen@windriver.com>
ARG LAT_BINARY_RESOURCE_PATH=http://mirror.starlingx.cengn.ca/mirror/lat-sdk/lat-sdk-20211216
ARG LAT_BINARY_RESOURCE_PATH=http://mirror.starlingx.cengn.ca/mirror/lat-sdk/lat-sdk-20220214
# Install necessary packages
RUN apt-get -y update && apt-get --no-install-recommends -y install \
@@ -39,11 +39,6 @@ ADD ${LAT_BINARY_RESOURCE_PATH}/lat-sdk.sh /opt/LAT/AppSDK.sh
RUN chmod +x /opt/LAT/AppSDK.sh
RUN /opt/LAT/AppSDK.sh -d /opt/LAT/SDK -y
# Workaround for using minbase variant for debootstrap
# See https://bugs.launchpad.net/starlingx/+bug/1959607
RUN sed -i -e 's#--no-check-gpg#--variant=minbase --no-check-gpg#g' \
/opt/LAT/SDK/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/python3.10/site-packages/genimage/package_manager/deb/__init__.py
# Fix: Use Debian CDN address for geo-frendly servers
RUN sed -i 's/ftp.cn.debian.org/deb.debian.org/g' /opt/LAT/SDK/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/python3.10/site-packages/genimage/debian_constant.py