Skip to contentSkip to conversation

what are the *required* variables for defining a new distro?

DISCUSSION Robert P. J. Day 2 participants 2 messages Aug 4, 2014 – Aug 5, 2014

lore
Share & tools
lore
#0 lore raw

i asked about this on OE list but since this affects the yocto dev
manual, i thought i'd ask here as well as i can fold the result into another doc patch.

section 5.10 of dev manual:

http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#creating-your-own-distribution

claims:

Your [new distro] configuration file needs to set the following
required variables:

DISTRO_NAME
DISTRO_VERSION

i don't think that's true -- i don't think it's *required* for a
distro conf file to set DISTRO_NAME. can someone verify what variables are mandatory for a new distro configuration file?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw

Hi Robert,

Quoted 13 lines · On Monday 04 August 2014 05:52:11 Robert P. J. Day wrote:

i asked about this on OE list but since this affects the yocto dev
manual, i thought i'd ask here as well as i can fold the result into another doc patch.

section 5.10 of dev manual:

http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#creating-> your-own-distribution

claims:

Your [new distro] configuration file needs to set the following
required variables:

Quoted 6 lines

DISTRO_NAME
DISTRO_VERSION

i don't think that's true -- i don't think it's *required* for a
distro conf file to set DISTRO_NAME. can someone verify what variables are mandatory for a new distro configuration file?

The bottom line is, if you mean "which variables must I set in my distro config or my build will blow up?" - there aren't any; we already have reasonable defaults for all of the critical stuff, so the distro config mostly only needs to change the things you want to be different. DISTRO_NAME and DISTRO_VERSION are the minimum of variables that you'd *want* to set, though.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre