From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2DA9813835B for ; Thu, 5 Nov 2020 23:49:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33394E083D; Thu, 5 Nov 2020 23:49:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F3886E0837 for ; Thu, 5 Nov 2020 23:49:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DBAE033BEE0 for ; Thu, 5 Nov 2020 23:49:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5729342C for ; Thu, 5 Nov 2020 23:49:45 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1604618928.62ef870732d99d99b987fc34964a023d3711824c.mattst88@gentoo> Subject: [gentoo-commits] proj/livecd-tools:master commit in: init.d/ X-VCS-Repository: proj/livecd-tools X-VCS-Files: init.d/autoconfig init.d/hwsetup X-VCS-Directories: init.d/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 62ef870732d99d99b987fc34964a023d3711824c X-VCS-Branch: master Date: Thu, 5 Nov 2020 23:49:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 25cbd41c-1a59-4972-b60b-8e8149a1b463 X-Archives-Hash: a66d032efb141061c59f2093a37b279e commit: 62ef870732d99d99b987fc34964a023d3711824c Author: Georgy Yakovlev gentoo org> AuthorDate: Thu Nov 5 03:15:14 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Thu Nov 5 23:28:48 2020 +0000 URL: https://gitweb.gentoo.org/proj/livecd-tools.git/commit/?id=62ef8707 remove hwsetup usage it requires beyond ancient libkudzu and mostly obsoleted by udev. also libkudzu no longer builds on stable glibc-2.32 (bug 713946) Bug: https://bugs.gentoo.org/408535 Signed-off-by: Georgy Yakovlev gentoo.org> Signed-off-by: Matt Turner gmail.com> init.d/autoconfig | 24 ++---------------------- init.d/hwsetup | 11 ----------- 2 files changed, 2 insertions(+), 33 deletions(-) diff --git a/init.d/autoconfig b/init.d/autoconfig index f541a0c..1dbfc5a 100644 --- a/init.d/autoconfig +++ b/init.d/autoconfig @@ -228,10 +228,6 @@ list_services() { svcs="${svcs} $(check_svc ${APM} apmd)" svcs="${svcs} $(check_svc ${BRLTTY} brltty)" svcs="${svcs} $(check_svc ${COLDPLUG} coldplug hotplug)" - if yesno "$COLDPLUG" && ! rc-service -e coldplug && ! rc-service -e hotplug - then - echo hwsetup - fi svcs="${svcs} $(check_svc ${GPM} gpm)" svcs="${svcs} $(check_svc ${IDEDMA} hdparm)" svcs="${svcs} $(check_svc ${NFS} nfsclient)" @@ -518,9 +514,6 @@ start() { ewarn "Skipping DHCP broadcast ..." fi - # Read in what hwsetup has found - [ -f /etc/sysconfig/gentoo ] && source /etc/sysconfig/gentoo - if yesno "${DETECT}" then NETDEVICES="$(detect_netdevices)" @@ -559,24 +552,11 @@ start() { ewarn "No Network device auto detected ..." fi - if yesno "${ALSA}" + if ! yesno "${ALSA}" then - if [ -n "${SOUND_FULLNAME}" -o -n "${SOUND_DRIVER}" ] - then - einfo "Soundcard: " - - [ -n "${SOUND_FULLNAME}" ] \ - && einfo " ${WARN}${SOUND_FULLNAME} " - [ -n "${SOUND_DRIVER}" ] \ - && einfo " driver = ${SOUND_DRIVER}" - fi - else - ewarn "Skipping ALSA detection as requested on command line ..." + ewarn "Skipping ALSA services as requested on command line ..." fi - [ -n "${XDESC}" ] && einfo "VideoCard: ${HILITE}${XDESC}${NORMAL}" - - killall hwsetup 2>/dev/null echo "6" > /proc/sys/kernel/printk if ! yesno "${X11}" diff --git a/init.d/hwsetup b/init.d/hwsetup deleted file mode 100644 index 16ee967..0000000 --- a/init.d/hwsetup +++ /dev/null @@ -1,11 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -start() { - ebegin "Starting hwsetup" - [ -e /etc/sysconfig ] || mkdir -p /etc/sysconfig - [ -x /usr/sbin/hwsetup ] && hwsetup - eend $? -}