diff options
-rw-r--r-- | lib/profiles/proteanos.sh | 15 |
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 } |