diff options
author | P. 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) |
commit | df1a081b0e92d03a95979a2ecebc7a5517b101db (patch) | |
tree | 2e03facee01716158880ede3baa212c338bf73a8 | |
parent | d52db0233bc5208a02b5054319ee264f7cd84e68 (diff) |
proteanos: Install packages by Essential field
-rw-r--r-- | lib/profile/proteanos.sh | 11 |
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 |