mirror of
https://github.com/lingble/tegra-demo-distro.git
synced 2025-10-29 11:42:26 +00:00
Content imported from the old test distro, with the following modifications: * Removed most custom configuration files * All open-source layers fully included under layers/ * Secureboot support removed * Layout reworked to eliminate extra subdirectory for core layer * Added meta-tegra-support layer for holding common metadata for use by all distro layers * Reworked setup-env script to be usable for multiple distros sharing the repository * Added demo image recipes and packagegroups Signed-off-by: Matt Madison <matt@madison.systems>
15 lines
509 B
Bash
Executable File
15 lines
509 B
Bash
Executable File
#!/bin/sh
|
|
baseconf="$OEROOT/$TEMPLATECONF/bblayers.conf.sample"
|
|
[ -e "$baseconf" -a -e "$BUILDDIR/conf/bblayers.conf" ] || exit 0
|
|
[ -n "$COLOR" ] || COLOR=never
|
|
confsdiff=$(sed -E -e "s!##(OEROOT|COREBASE)##!$OEROOT!g" "$baseconf" | \
|
|
diff -u --color=$COLOR - "$BUILDDIR/conf/bblayers.conf")
|
|
if [ $? -ne 0 ]; then
|
|
echo
|
|
[ "$COLOR" = "always" ] && echo -ne "\033[33;1m"
|
|
echo -e "Layers differ from ${baseconf}:"
|
|
[ "$COLOR" = "always" ] && echo -ne "\033[0m"
|
|
echo -e "$confsdiff"
|
|
fi
|
|
exit 0
|