9b855ce0af
Use the dl_files to download meta-lat 20211214 version tarball, and ostree 2019.1-1 tarball. No longer need the meta-lat and ostree repositories in manifest. Test Plan: Pass: successfully build ostree-upgrade-mgr, ostree, mttyexec, initramfs-ostree, watchdog Pass: successfully install test Pass: successfully boot test Story: 2008846 Task: 44194 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Change-Id: Iff7d32c8764068318ccf854551addf1aa880334e
16 lines
397 B
Bash
Executable File
16 lines
397 B
Bash
Executable File
#!/bin/bash
|
|
|
|
LOCAL_DIR=$1
|
|
PKGNAME=ostree-upgrade-mgr
|
|
META_LAT_TARBALL=meta-lat.tar.gz
|
|
META_LAT=meta-lat
|
|
|
|
mkdir -p ${META_LAT}
|
|
tar xzvf ${META_LAT_TARBALL} --strip-components 1 -C ${META_LAT}
|
|
|
|
BASE_DIR=$(realpath ${META_LAT})
|
|
SRC_DIR=${BASE_DIR}/data/debian/${PKGNAME}/sources
|
|
DEB_DIR=${BASE_DIR}/data/debian/${PKGNAME}/metadata/debian
|
|
cp -Lr ${SRC_DIR} ${LOCAL_DIR}
|
|
cp -Lr ${DEB_DIR} ${LOCAL_DIR}
|