live-build/functions
Chris Lamb 9ae7a00544 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.
2011-03-09 19:03:33 +01:00
..
aliases.sh Updating copyright years to 2008. 2011-03-09 19:01:41 +01:00
architecture.sh Applying patch from Bas Wijnen <wijnen@debian.org> to make Check_crossarchitecture() working on non-listed architectures (Closes: #472775). 2011-03-09 19:03:31 +01:00
arguments.sh Updating copyright years to 2008. 2011-03-09 19:01:41 +01:00
breakpoints.sh Updating copyright years to 2008. 2011-03-09 19:01:41 +01:00
cache.sh Adjusting Save_cache(); to skip already cached .deb files and only copying new packages to it. 2011-03-09 19:03:32 +01:00
chroot.sh Updating copyright years to 2008. 2011-03-09 19:01:41 +01:00
common.sh Releasing live-helper 1.0~a45-1. 2011-03-09 19:03:33 +01:00
conffile.sh Fixing forgotten variable in conffile loop. 2011-03-09 19:03:32 +01:00
defaults.sh Adding powerpc64 to default kernel flavours (in addition to the normal 32 bit one). 2011-03-09 19:03:33 +01:00
echo.sh Updating copyright years to 2008. 2011-03-09 19:01:41 +01:00
exit.sh Updating copyright years to 2008. 2011-03-09 19:01:41 +01:00
help.sh Updating copyright years to 2008. 2011-03-09 19:01:41 +01:00
lockfile.sh Updating copyright years to 2008. 2011-03-09 19:01:41 +01:00
losetup.sh functions/losetup.sh: use SECTORS as variable name to reflect the real usage 2011-03-09 19:01:48 +01:00
packages.sh Use APT::Install-Recommends to disable installation of recommends for Etch 2011-03-09 19:03:33 +01:00
packageslists.sh Support simple conditionals in package lists 2011-03-09 19:03:33 +01:00
releases.sh Updating copyright years to 2008. 2011-03-09 19:01:41 +01:00
stagefile.sh Applying patch from Bas Wijnen <wijnen@debian.org> to correct error messages in Require_stagefile (Closes: #472774). 2011-03-09 19:03:31 +01:00
templates.sh Updating copyright years to 2008. 2011-03-09 19:01:41 +01:00
usage.sh Updating copyright years to 2008. 2011-03-09 19:01:41 +01:00
version.sh Updating copyright years to 2008. 2011-03-09 19:01:41 +01:00
wrapper.sh Updating copyright years to 2008. 2011-03-09 19:01:41 +01:00