summaryrefslogtreecommitdiffstats
path: root/lib/profile
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-08-25 12:50:04 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-08-25 12:50:04 (EDT)
commitdf1a081b0e92d03a95979a2ecebc7a5517b101db (patch)
tree2e03facee01716158880ede3baa212c338bf73a8 /lib/profile
parentd52db0233bc5208a02b5054319ee264f7cd84e68 (diff)
proteanos: Install packages by Essential field
Diffstat (limited to 'lib/profile')
-rw-r--r--lib/profile/proteanos.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/profile/proteanos.sh b/lib/profile/proteanos.sh
index b2b1b11..3826c39 100644
--- a/lib/profile/proteanos.sh
+++ b/lib/profile/proteanos.sh
@@ -160,12 +160,13 @@ prof_proteanos_include_pkg()
local name="${1}"
local value="${2}"
- if [ "x${name}" = 'xpackage' ]; then
+ if [ "x${name}" = 'xessential' ]; then
+ if [ "x${value}" = 'xyes' ]; then
+ return 0
+ fi
+ elif [ "x${name}" = 'xpackage' ]; then
case "${value}" in
- base-files|busybox|libc.6|opkg)
- return 0
- ;;
- linux-image|proteanos-branding)
+ base-files|libc.6|linux-image|proteanos-branding)
return 0
;;
esac