summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-12-09 12:23:52 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-12-10 06:53:04 (EST)
commitdb225718e10b0f32859e8c04d85dc2126ba96d16 (patch)
treed373be3dafdeadea28bb88e9dc4514dd739c620c
parenta334a3a4dbbceb155cbb565249d04c0fb094f0a5 (diff)
profile/proteanos: Install base-files, config-base
Not all essential packages.
-rw-r--r--NEWS5
-rw-r--r--src/profile/proteanos.sh9
2 files changed, 10 insertions, 4 deletions
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