15 Commits

Author SHA1 Message Date
Rishab Nayak
3123703992 Update create-distro-layer
Signed-off-by: Rishab Nayak <rishab@rishabnayak.com>
2024-11-22 04:53:04 -08:00
Ilies CHERGUI
181cde43f1 setup-env*: drop reference to NVIDIA_DEVNET_MIRROR
as we are no longer depending on the Nvidia SDK manager Downloads.

Signed-off-by: Ilies CHERGUI <ilies.chergui@gmail.com>
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-03 08:09:25 -07:00
Jose Quaresma
47081ee89e setup-env-internal: replace egrep as it is obsolescent
Fixes the following warning:
| egrep: warning: egrep is obsolescent; using grep -E

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
2023-10-30 10:45:42 -07:00
Matt Madison
09889a982c meta: move meta-tegrademo config file templates
The OE-core setup script now "validates" that config templates
are in a "good" place, so we have to move our templates to
conf/templates/<distro> instead of conf/template-<distro>,
and we have to update our .templateconf accordingly.

Signed-off-by: Matt Madison <matt@madison.systems>
2022-09-05 14:25:58 -07:00
Matt Madison
86e069fc33 create-distro-layer: remove Mender references
Signed-off-by: Matt Madison <matt@madison.systems>
2022-09-05 14:25:58 -07:00
Ilies CHERGUI
1bf5e3380f setup-env-internal: update the machine to use in the example CLI
Signed-off-by: Ilies CHERGUI <ilies.chergui@gmail.com>
2022-09-05 14:25:58 -07:00
Matt Madison
56f5fa84dd setup-env-internal: improve distro name checking
so substrings of distro names in the list don't
count as valid.

Signed-off-by: Matt Madison <matt@madison.systems>
2022-05-15 04:11:18 -07:00
Matt Madison
ae4b8d86f0 setup-env-internal: improve machine name checking
so substrings of machine names in the list don't count
as valid (e.g. 'jetson-tx2' for 'jetson-tx2-devkit').

Signed-off-by: Matt Madison <matt@madison.systems>
2021-06-02 11:48:05 -07:00
Matt Madison
442b677eed scripts-setup: drop warnings about NVIDIA_DEVNET_MIRROR
as we no longer have any recipes that depend on SDK Manager
downloads.

Signed-off-by: Matt Madison <matt@madison.systems>
2021-04-24 04:54:57 -07:00
Dan Walkes
7cf72d8b91 setup-env-internal: Support custom distro location
With the change at a5b816f200
we are now validating distros are available before allowing them to
be used.  This highlights a limitation with distro selection only
being allowed in predetermined directories, rather than supporting
redefining in any meta- sublayer.

Modify to support custom distros defined in proprietary layers.

Signed-off-by: Dan Walkes <danwalkes@boulderai.com>
2020-12-13 03:11:23 -08:00
Dan Walkes
e6bd1d9aaf scripts-setup: Add example pre commit hook
To support the upcoming OE4T contributor guide wiki page, add
a script which generates a pre-commit hook with Signed-off-by
message appended.

Signed-off-by: Dan Walkes <danwalkes@boulderai.com>
2020-11-17 03:57:07 -08:00
Matt Madison
9b7ea42d43 setup-env-internal: validate machine and distro selection
Check that the -m and -d options specify recognized
machine and distro settings, respectively, when setting
up a new build directory.

Signed-off-by: Matt Madison <matt@madison.systems>
2020-11-03 05:58:22 -08:00
Atharva Nandanwar
4f6b3291e0 scripts-setup: add create-distro-layer script
This script will enable user to make a metadata skeleton based on
tegrademo. They can use this skeleton to build their own layer.
2020-10-28 05:58:20 -07:00
Matt Madison
fd576e83f7 setup-env-internal: fix NVIDIA_DEVNET_MIRROR checks
so that proper URLs are handled correctly.

Signed-off-by: Matt Madison <matt@madison.systems>
2020-09-14 14:46:47 -07:00
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