integ/ostree/ostree-upgrade-mgr/debian/dl_hook
Yue Tao 54cf00d9f8 Add debian packages for ostree
meta-lat (open sources of LAT: git://github.com/Wind-River/meta-lat)
provides 4 packages related to ostree:

initramfs-ostree
mttyexec
ostree-upgrade-mgr
ostree

which are needed to build image by LAT, so adding the debian folders
for these 4 packages in integ layer to build them from source.

Story: 2009221
Task: 43324
Signed-off-by: Yue Tao <yue.tao@windriver.com>
Change-Id: I041985c826df1c51cd2981e70eb1715ee10d2fa0
2021-10-27 10:23:51 +08:00

10 lines
232 B
Bash
Executable File

#!/bin/bash
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