diff options
author | Daniel Baumann <daniel@debian.org> | 2012-07-28 21:57:03 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-07-28 23:38:43 +0200 |
commit | a691caa0f2738941075efe00df9af06cb10e98c1 (patch) | |
tree | 90f230d2689407217384f75ebc26b00c179046ce | |
parent | f84a9799065213448b6d4abe4bc0a45ccec76d89 (diff) | |
download | vyos-live-build-a691caa0f2738941075efe00df9af06cb10e98c1.tar.gz vyos-live-build-a691caa0f2738941075efe00df9af06cb10e98c1.zip |
Adding support for executable statements as '! $command' in package lists.
-rwxr-xr-x | functions/packagelists.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/functions/packagelists.sh b/functions/packagelists.sh index 0e2d5ff57..eda9cf542 100755 --- a/functions/packagelists.sh +++ b/functions/packagelists.sh @@ -40,6 +40,12 @@ Expand_packagelist () while read _LB_LINE do case "${_LB_LINE}" in + \!*) + _EXEC="$(echo ${_LB_LINE} | sed -e 's|^!||')" + + chroot chroot ${_EXEC} + ;; + \#if\ *) if [ ${_LB_NESTED} -eq 1 ] then |