Files
tegra-demo-distro/scripts-setup/diff-bblayers-conf
Matt Madison b27bbfb61a Initial population
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>
2020-09-13 09:01:02 -07:00

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