From db225718e10b0f32859e8c04d85dc2126ba96d16 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 09 Dec 2020 12:23:52 -0500 Subject: profile/proteanos: Install base-files, config-base Not all essential packages. --- diff --git a/NEWS b/NEWS index b954020..a6469e2 100644 --- a/NEWS +++ b/NEWS @@ -16,6 +16,11 @@ New features: recommended way to add these section feeds to an existing system is to install a new system of the same architecture and platform and copy its opkg configuration into the old system. + * In the ProteanOS profile, the "base-files" and "config-base" + packages and their dependencies are installed. Previously, all + packages marked "Essential: yes" and their dependencies were + installed, which was a long-standing misuse of the "Essential" + field. Error handling and bug fixes: diff --git a/src/profile/proteanos.sh b/src/profile/proteanos.sh index 61a8439..bec35ed 100644 --- a/src/profile/proteanos.sh +++ b/src/profile/proteanos.sh @@ -227,10 +227,11 @@ prof_proteanos_include_pkg() local value="${2}" shift 2 - if [ "x${name}" = 'xessential' ]; then - if [ "x${value}" = 'xyes' ]; then - return 0 - fi + if [ "x${name}" = 'xpackage' ]; then + case "${value}" in + 'base-files' | 'config-base') + return 0;; + esac fi return 1 -- cgit v0.9.1