Add Trixie packing for ostree by copying Bullseye layout

Copied the Bullseye packaging structure for bash into debian/trixie/ to
create the initial Trixie layout. This maintains consistency across OS
codenames and provides a baseline for upcoming Trixie-specific updates.

Change-Id: Ia19c8ca390e1d7a23b2aed104a5b9051015b637e
Signed-off-by: Abhinav Ayyapasetti <ayyapasetti.abhinav@windriver.com>
This commit is contained in:
Abhinav Ayyapasetti
2025-12-01 12:59:50 -05:00
parent c5d2e17c93
commit ba1f2229e9
2 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
#!/bin/bash
PKGNAME=ostree
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
mkdir debian/patches/lat
cp -f ${PATCHES_DIR}/*.patch debian/patches/lat/

View File

@@ -0,0 +1,15 @@
---
debver: 2022.2-1
dl_files:
meta-lat.tar.gz:
topdir: null
url: https://github.com/Wind-River/meta-lat/archive/refs/tags/20230307.tar.gz
sha256sum: 2331ba52e5196c5f2c9799c577e6fb38c53003fd52b6e831784826d4d3819d08
ostree.tar.gz:
topdir: null
url: https://salsa.debian.org/debian/ostree/-/archive/debian/2022.2-1/ostree-debian-2022.2-1.tar.gz
sha256sum: 842dd6d4e3bc83aa51d865f94803e6ac15a35086b07f3564d4266211f63a682e
dl_hook: dl_hook
revision:
dist: ${STX_DIST}
PKG_GITREVCOUNT: true