From df1a081b0e92d03a95979a2ecebc7a5517b101db Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 25 Aug 2014 12:50:04 -0400 Subject: proteanos: Install packages by Essential field --- (limited to 'lib') 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 -- cgit v0.9.1