Merge "ostree: use tarballs to replace the meta-lat and ostree in manifest"
This commit is contained in:
commit
381985d244
@ -2,20 +2,23 @@
|
||||
|
||||
LOCAL_DIR=$1
|
||||
PKGNAME=watchdog
|
||||
BASE_DIR=${STX_GIT_SRC_DIR}
|
||||
PKG_DIR=${BASE_DIR}/meta-lat/data/debian/${PKGNAME}
|
||||
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})
|
||||
PKG_DIR=${BASE_DIR}/data/debian/${PKGNAME}
|
||||
META_DIR=${PKG_DIR}/metadata_patches
|
||||
SRC_DIR=${PKG_DIR}/sources
|
||||
BASE_URL=https://snapshot.debian.org/archive/debian/20200424T151944Z/pool/main/w/${PKGNAME}
|
||||
|
||||
MAJOR_VER="5.16"
|
||||
REVISION="1"
|
||||
VER=${MAJOR_VER}-${REVISION}
|
||||
DSC_FILE=${PKGNAME}_${VER}.dsc
|
||||
dget -x ${BASE_URL}/${DSC_FILE}
|
||||
if [ $? != 0 ]; then
|
||||
echo "Fail to download ${BASE_URL}/${DSC_FILE}"
|
||||
exit -1
|
||||
fi
|
||||
|
||||
dpkg-source -x ${DSC_FILE}
|
||||
cd ${LOCAL_DIR}
|
||||
for patch in $(ls ${META_DIR}/*.patch); do
|
||||
patch -p1 < $patch || exit 1
|
||||
|
@ -1,6 +1,12 @@
|
||||
---
|
||||
debver: 5.16-1
|
||||
dl_hook: dl_hook
|
||||
archive: https://snapshot.debian.org/archive/debian/20200424T151944Z/pool/main/w/watchdog
|
||||
dl_files:
|
||||
meta-lat.tar.gz:
|
||||
topdir: null
|
||||
url: https://github.com/Wind-River/meta-lat/archive/refs/tags/20211214.tar.gz
|
||||
md5sum: 38103be48cc97171c0a0a3ecd6713ffe
|
||||
revision:
|
||||
dist: $STX_DIST
|
||||
PKG_GITREVCOUNT: true
|
||||
|
@ -1,9 +1,15 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
|
||||
LOCAL_DIR=$1
|
||||
PKGNAME=initramfs-ostree
|
||||
BASE_DIR=$STX_GIT_SRC_DIR/meta-lat/data/debian
|
||||
SRC_DIR=$BASE_DIR/$PKGNAME/sources
|
||||
DEB_DIR=$BASE_DIR/$PKGNAME/metadata/debian
|
||||
cp -Lr $SRC_DIR $LOCAL_DIR
|
||||
cp -Lr $DEB_DIR $LOCAL_DIR
|
||||
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}
|
||||
|
@ -1,6 +1,11 @@
|
||||
---
|
||||
debver: 1.0
|
||||
dl_hook: dl_hook
|
||||
dl_files:
|
||||
meta-lat.tar.gz:
|
||||
topdir: null
|
||||
url: https://github.com/Wind-River/meta-lat/archive/refs/tags/20211214.tar.gz
|
||||
md5sum: 38103be48cc97171c0a0a3ecd6713ffe
|
||||
revision:
|
||||
dist: $STX_DIST
|
||||
PKG_GITREVCOUNT: true
|
||||
|
@ -2,8 +2,14 @@
|
||||
|
||||
LOCAL_DIR=$1
|
||||
PKGNAME=mttyexec
|
||||
BASE_DIR=$STX_GIT_SRC_DIR/meta-lat/data/debian
|
||||
SRC_DIR=$BASE_DIR/$PKGNAME/sources
|
||||
DEB_DIR=$BASE_DIR/$PKGNAME/metadata/debian
|
||||
cp -Lr $SRC_DIR $LOCAL_DIR
|
||||
cp -Lr $DEB_DIR $LOCAL_DIR
|
||||
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}
|
||||
|
@ -1,6 +1,11 @@
|
||||
---
|
||||
debver: 0.1
|
||||
dl_hook: dl_hook
|
||||
dl_files:
|
||||
meta-lat.tar.gz:
|
||||
topdir: null
|
||||
url: https://github.com/Wind-River/meta-lat/archive/refs/tags/20211214.tar.gz
|
||||
md5sum: 38103be48cc97171c0a0a3ecd6713ffe
|
||||
revision:
|
||||
dist: $STX_DIST
|
||||
PKG_GITREVCOUNT: true
|
||||
|
@ -2,8 +2,14 @@
|
||||
|
||||
LOCAL_DIR=$1
|
||||
PKGNAME=ostree-upgrade-mgr
|
||||
BASE_DIR=$STX_GIT_SRC_DIR/meta-lat/data/debian
|
||||
SRC_DIR=$BASE_DIR/$PKGNAME/sources
|
||||
DEB_DIR=$BASE_DIR/$PKGNAME/metadata/debian
|
||||
cp -Lr $SRC_DIR $LOCAL_DIR
|
||||
cp -Lr $DEB_DIR $LOCAL_DIR
|
||||
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}
|
||||
|
@ -1,6 +1,11 @@
|
||||
---
|
||||
debver: 1.0
|
||||
dl_hook: dl_hook
|
||||
dl_files:
|
||||
meta-lat.tar.gz:
|
||||
topdir: null
|
||||
url: https://github.com/Wind-River/meta-lat/archive/refs/tags/20211214.tar.gz
|
||||
md5sum: 38103be48cc97171c0a0a3ecd6713ffe
|
||||
revision:
|
||||
dist: $STX_DIST
|
||||
PKG_GITREVCOUNT: true
|
||||
|
@ -1,13 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
LOCAL_DIR=$1
|
||||
PKGNAME=ostree
|
||||
BASE_DIR=$STX_GIT_SRC_DIR/
|
||||
SRC_DIR=$BASE_DIR/$PKGNAME
|
||||
META_DIR=$BASE_DIR/meta-lat/data/debian/$PKGNAME/metadata_patches
|
||||
PATCHES_DIR=$BASE_DIR/meta-lat/data/debian/$PKGNAME/source_patches
|
||||
cp -Lr $SRC_DIR $LOCAL_DIR
|
||||
cd $LOCAL_DIR
|
||||
META_LAT_TARBALL=meta-lat.tar.gz
|
||||
META_LAT=meta-lat
|
||||
OSTREE_TARBALL=ostree.tar.gz
|
||||
OSTREE=$1
|
||||
|
||||
mkdir -p ${META_LAT}
|
||||
tar xzvf ${META_LAT_TARBALL} --strip-components 1 -C ${META_LAT}
|
||||
mkdir -p ${OSTREE}
|
||||
tar xzvf ${OSTREE_TARBALL} --strip-components 1 -C ${OSTREE}
|
||||
|
||||
BASE_DIR=$(realpath ${META_LAT})
|
||||
SRC_DIR=$(realpath ${OSTREE})
|
||||
META_DIR=${BASE_DIR}/data/debian/${PKGNAME}/metadata_patches
|
||||
PATCHES_DIR=${BASE_DIR}/data/debian/${PKGNAME}/source_patches
|
||||
|
||||
cd ${SRC_DIR}
|
||||
for patch in `ls ${META_DIR}/*.patch`; do
|
||||
patch -p1 < $patch || exit 1
|
||||
done
|
||||
|
@ -1,3 +1,12 @@
|
||||
---
|
||||
debver: 2019.1-1
|
||||
dl_files:
|
||||
meta-lat.tar.gz:
|
||||
topdir: null
|
||||
url: https://github.com/Wind-River/meta-lat/archive/refs/tags/20211214.tar.gz
|
||||
md5sum: 38103be48cc97171c0a0a3ecd6713ffe
|
||||
ostree.tar.gz:
|
||||
topdir: null
|
||||
url: https://salsa.debian.org/debian/ostree/-/archive/debian/2019.1-1/ostree-debian-2019.1-1.tar.gz
|
||||
md5sum: 31b095f28ceb6278964f69198d3e8a03
|
||||
dl_hook: dl_hook
|
||||
|
Loading…
Reference in New Issue
Block a user