mirror of
https://github.com/lingble/tegra-demo-distro.git
synced 2025-10-28 19:22:31 +00:00
Update create-distro-layer
Signed-off-by: Rishab Nayak <rishab@rishabnayak.com>
This commit is contained in:
committed by
Matt Madison
parent
7d00b58ae2
commit
3123703992
@@ -69,6 +69,10 @@ if [ -d layers/meta-tegrademo ]; then
|
||||
cat ${LAYER_DIR}/conf/distro/tegrademo.conf > ${LAYER_DIR}/conf/distro/${DISTRO_NAME}.conf
|
||||
rm -rf ${LAYER_DIR}/conf/distro/tegrademo.conf
|
||||
|
||||
# Adjust the data in conf/distro/include
|
||||
cat ${LAYER_DIR}/conf/distro/include/tegrademo.inc > ${LAYER_DIR}/conf/distro/include/${DISTRO_NAME}.inc
|
||||
rm -rf ${LAYER_DIR}/conf/distro/include/tegrademo.inc
|
||||
|
||||
# Change Layer attributes from tegrademo
|
||||
find ${LAYER_DIR} -type f -exec sed -i "s/tegrademo/${DISTRO_NAME}/" {} \;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user