diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-04-26 23:43:01 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:33 +0100 |
commit | 9ae7a0054427afd8df2dfeff7948b652d89d4430 (patch) | |
tree | a6527b20eb18f75fd337135cf3efdb46117904dc /functions/cache.sh | |
parent | c7424482096a6f1f4239f4b16b9f8695e72d030d (diff) | |
download | vyos-live-build-9ae7a0054427afd8df2dfeff7948b652d89d4430.tar.gz vyos-live-build-9ae7a0054427afd8df2dfeff7948b652d89d4430.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.
Diffstat (limited to 'functions/cache.sh')
0 files changed, 0 insertions, 0 deletions