Skip to contentSkip to conversation

packagegroup-base: use amixer instead of alsamixer

PATCH New Diego Santa Cruz 1 participant 2 messages Feb 25, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 packagegroup-base: use amixer instead of alsamixer

Including alsamixer, which is an ncurses based interactive program, does not seem to make sense as a base package in embedded systems, replace it by the command line mixer utility amixer instead; it is scriptable and has no ncurses dependencies.

---
 meta/recipes-core/packagegroups/packagegroup-base.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/packagegroups/packagegroup-base.bb +1 -1
index 90b79adfdc..6c8c978253 100644
@@ -173,7 +173,7 @@ RRECOMMENDS_packagegroup-base-vfat = "\
 SUMMARY_packagegroup-base-alsa = "ALSA sound support"
 RDEPENDS_packagegroup-base-alsa = "\
     alsa-utils-alsactl \
-    alsa-utils-alsamixer \
+    alsa-utils-amixer \
     ${VIRTUAL-RUNTIME_alsa-state}"
 
 RRECOMMENDS_packagegroup-base-alsa = "\
Signature · 1 line
2.18.4
#1 lore raw

PATCH 2/2 packagegroup-base: do not force hdparm and e2fsprogs

The hdparm and (base) e2fsprogs are not always useful in all machines having ext2 in MACHINE_FEATURES, so do not force them to b installed, make them recommendations instead.

---
 meta/recipes-core/packagegroups/packagegroup-base.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta/recipes-core/packagegroups/packagegroup-base.bb +4 -2
index 6c8c978253..c882e15266 100644
@@ -157,11 +157,13 @@ RDEPENDS_packagegroup-base-apm = "\
 
 SUMMARY_packagegroup-base-ext2 = "ext2 filesystem support"
 RDEPENDS_packagegroup-base-ext2 = "\
-    hdparm \
-    e2fsprogs \
     e2fsprogs-e2fsck \
     e2fsprogs-mke2fs"
 
+RRECOMMENDS_packagegroup-base-ext2 = "\
+    hdparm \
+    e2fsprogs"
+
 SUMMARY_packagegroup-base-vfat = "FAT filesystem support"
 RRECOMMENDS_packagegroup-base-vfat = "\
     kernel-module-msdos \
Signature · 1 line
2.18.4