Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1nAaZI-0005c8-31 for mharc-grub-devel@gnu.org; Thu, 20 Jan 2022 11:45:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAaZB-0005Wx-BC for grub-devel@gnu.org; Thu, 20 Jan 2022 11:45:45 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:51520) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAaZ9-0007qM-02 for grub-devel@gnu.org; Thu, 20 Jan 2022 11:45:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1642697138; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QcBbUzKi2bqy4nfy9SXRbeGqVFFYgzoItr4MSVk80Xk=; b=N1Bip+wlXUdI8scbPmeOzP0rRNlyV7UNvZ4JRw1vmAQKN4JJ5eR2X/19HZkKpAOJ7JcgSC 4RDlRQ0iKrxI2T6P6mBFx8fsyjNt6OszkIFqt0nPTTJP3bvNCiwqgcrRhzYhsn7CrYvUly V4Bi9pmxVaKRz5Qxdv5xcxBeKNiCqno= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-175--RFeFEY3M1OMbJp9JJbL7Q-1; Thu, 20 Jan 2022 11:45:34 -0500 X-MC-Unique: -RFeFEY3M1OMbJp9JJbL7Q-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B29691923B83; Thu, 20 Jan 2022 16:45:33 +0000 (UTC) Received: from eesha.redhat.com (unknown [10.22.48.2]) by smtp.corp.redhat.com (Postfix) with ESMTP id 328F07E414; Thu, 20 Jan 2022 16:45:32 +0000 (UTC) From: Robbie Harwood To: grub-devel@gnu.org Cc: development@efficientek.com, Robbie Harwood Subject: [PATCH v2 0/2] Improve kernel sorting in grub-mkconfig Date: Thu, 20 Jan 2022 11:45:21 -0500 Message-Id: <20220120164523.8841-1-rharwood@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=rharwood@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Received-SPF: pass client-ip=170.10.129.124; envelope-from=rharwood@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.698, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2022 16:45:45 -0000 This version of the patchset formally adds the distro sort support from the previous thread, as well as attempting to address Glenn's review suggestions around ordering and usage criteria. Be well, --Robbie Robbie Harwood (2): Correct sorting of kernel names containing '_' mkconfig: use distro sorts when available util/grub-mkconfig_lib.in | 90 +++++++++++++++++++++------------------ 1 file changed, 49 insertions(+), 41 deletions(-) -- 2.34.1