diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-04-26 23:43:01 +0100 |
---|---|---|
committer | Chris Lamb <chris@chris-lamb.co.uk> | 2008-04-26 23:43:01 +0100 |
commit | d77ee361377df448c6e65dd3dbfe411b0f4d9e43 (patch) | |
tree | a6527b20eb18f75fd337135cf3efdb46117904dc /docs/FAQ | |
parent | bb68e3016688f144cf6241c615317605c8e0823f (diff) | |
download | vyos-live-build-d77ee361377df448c6e65dd3dbfe411b0f4d9e43.tar.gz vyos-live-build-d77ee361377df448c6e65dd3dbfe411b0f4d9e43.zip |
Support simple conditionals in package lists
This patch adds support for simple conditionals in package lists. For
example, to limit a package to i386 only:
foo
#if ARCHITECTURE i386
package-only-in-i386
#endif
bar
Any variable that beings in LH_ can be expanded:
#if MODE ubuntu
package-only-in-ubuntu
#endif
Nesting of conditionals is not supported. If the variable to be expanded
does not exist, the conditional is false.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Diffstat (limited to 'docs/FAQ')
0 files changed, 0 insertions, 0 deletions