summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-08-18 18:06:51 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-08-18 18:06:51 (EDT)
commit922bb506e245551ce779b91f55f9fd3fcf94fa42 (patch)
tree4b7efaf724b7889003606c3f297bd74ea1e99fea
parentd3fdf6d847a3b6b427d53c80f106c9037caa6212 (diff)
prof_proteanos_include_pkg(): Add list of packages
-rw-r--r--lib/profiles/proteanos.sh15
1 files changed, 11 insertions, 4 deletions
diff --git a/lib/profiles/proteanos.sh b/lib/profiles/proteanos.sh
index 12ae87b..49127ff 100644
--- a/lib/profiles/proteanos.sh
+++ b/lib/profiles/proteanos.sh
@@ -130,9 +130,16 @@ prof_proteanos_include_pkg()
local name="${1}"
local value="${2}"
- if [ "x${name}" = 'xPackage' ] && [ "x${value}" = 'xbase' ]; then
- return 0
- else
- return 1
+ if [ "x${name}" = 'xPackage' ]; then
+ case "${value}" in
+ base-files|busybox|libc-bin|libc.6|libopkg.1|opkg)
+ return 0
+ ;;
+ linux-image|proteanos-branding)
+ return 0
+ ;;
+ esac
fi
+
+ return 1
}