From nobody Fri Oct 25 03:12:06 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XZSWB5vTMz5bBhh; Fri, 25 Oct 2024 03:12:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XZSWB5Dz5z4XfJ; Fri, 25 Oct 2024 03:12:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729825926; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6ZqMYvo9GX/+A5AqMxeqWrWS1pZ2OEW3mFc59XqvZAQ=; b=cHgGHZwJucX4m/Pm3TCq9VXb1y8D82YtLQ/R2lItwnTHpvpvZg+S6/4G6BcaYhZ2BI2tl5 NXxsmTWzCkUQUtsMIO+/PbfkSZpGUg6cg+t6KrTm9cws40XraFlefeNlezrqe39XEla5Pp EQbJyeJKEesTCvLU+JpXnTav4+8LuwLmEweE2HsG9DjngXqxNTG+zDhzk6l1yzCP2t2TvJ yodBDk5g9O7gLbhEtlZsuww1kx73McJTiCYSQFhIAdpKoDQtWUnQKrt5hksC/kUmPWaSsB Yi/jKpkAgcsVdFNqKDQZXn83xNwAodJawQ0jNxtjj7O78c4tFkkfHx2DZR3g+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729825926; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6ZqMYvo9GX/+A5AqMxeqWrWS1pZ2OEW3mFc59XqvZAQ=; b=glpGsvdkocZ1wZEbraKr8Gz0bliCk4oexEnHFD+czge7AYKupw2cDpncyJOT2u71I5+x/v FqJp5jxmc9hKMFA9CBAQsqipL4fLmg91iHJ0wqy8gNfqsJ+fvQu/w6XWN4UYzm6eRGmf8U PGCX+1GmYL4co3MsvkIyAP0FqK4VyOOJy//OD1EtSwl0LtDoOzEJtk09gaXSV1fei0HJY3 oRu2OG4rBPC/ZdPKZqUFpc9KOWvvxNsROGxUEV/ELhXouDJmenp9DgzwmeDqI4MQEQ5uGY 6j9oXnGsaCAMLqwszqC/FtJBUwVygc3OWFE04M1CRZscvvWGvJG31i12Y3AP3Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729825926; a=rsa-sha256; cv=none; b=U+qoPCAcFQiY7XGPT7tu0Ja2jKvXbXh07RPf6llLhXAqIIl3oLXckm0V7jbXMbew++izMM DEtbl2oNLoXP5cgb9T6YXmLnpySNXHae+l0wUSFJL1UHjhE/6wiaiuL/41BR01fMmsXxdJ Ed+u5O/Gl/p+/xNI7bv5xauSArMeE5S5Qw7gHri85eZdib24R4sX+lQj1F6/UNRTlU0f3E xjL0cFd3SSHfgkAzbUeFJBVVjvBB3m5E7zNrEo2IENeXdcBTMu7shc3536KBl7RCQi0JnM AqfBZqMRJM7EK1Pm+Ju40zPS9RbYyTmcYfFY1lKCDW0erpO8+FWhDKEB2Uq9nA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XZSWB4rPXz17d5; Fri, 25 Oct 2024 03:12:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49P3C64n005003; Fri, 25 Oct 2024 03:12:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49P3C6AH005000; Fri, 25 Oct 2024 03:12:06 GMT (envelope-from git) Date: Fri, 25 Oct 2024 03:12:06 GMT Message-Id: <202410250312.49P3C6AH005000@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 23dee252daf2 - main - loader: Change this BIOS tradeoff: Add back zip and use text only List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 23dee252daf2ff60e521c9c019e64134b63ce90f Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=23dee252daf2ff60e521c9c019e64134b63ce90f commit 23dee252daf2ff60e521c9c019e64134b63ce90f Author: Warner Losh AuthorDate: 2024-10-25 02:22:25 +0000 Commit: Warner Losh CommitDate: 2024-10-25 02:26:25 +0000 loader: Change this BIOS tradeoff: Add back zip and use text only After talking with a number of people about the removal of some things to make the loader fit, readjust things a little. Add back GZIP and BZIP2 compression support. Many of the downstream MFC packaging systems depend on this. This adds back 20k to the size of the loader. Make the boot loader text-only by default. This saves 40k in size. Net, we're 20k smaller. The graphics loader for BIOS is less useful than the zip functionality: You can still boot w/a text only one it and you can build a custom one if you really want it. It's also the default we use for dual console. This should be merged back into stable/14 and stable/13 so it's in the next release for each of these. That way we have only one release (13.4) with the other defaults. MFC After: 3 days Sponsored by: Netflix Reviewed by: olce, rgrimes, emaste Differential Revision: https://reviews.freebsd.org/D47203 --- share/mk/src.opts.mk | 2 +- stand/i386/loader/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk index 95801cdeecc5..f8877153f17f 100644 --- a/share/mk/src.opts.mk +++ b/share/mk/src.opts.mk @@ -127,6 +127,7 @@ __DEFAULT_YES_OPTIONS = \ LLVM_ASSERTIONS \ LLVM_COV \ LLVM_CXXFILT \ + LOADER_BIOS_TEXTONLY \ LOADER_GELI \ LOADER_KBOOT \ LOADER_LUA \ @@ -206,7 +207,6 @@ __DEFAULT_NO_OPTIONS = \ DTRACE_TESTS \ EXPERIMENTAL \ HESIOD \ - LOADER_BIOS_TEXTONLY \ LOADER_VERBOSE \ LOADER_VERIEXEC_PASS_MANIFEST \ LLVM_BINUTILS \ diff --git a/stand/i386/loader/Makefile b/stand/i386/loader/Makefile index 8385131a8849..857944dcd010 100644 --- a/stand/i386/loader/Makefile +++ b/stand/i386/loader/Makefile @@ -7,8 +7,8 @@ LOADER_CD9660_SUPPORT?= yes LOADER_EXT2FS_SUPPORT?= no LOADER_MSDOS_SUPPORT?= no LOADER_UFS_SUPPORT?= yes -LOADER_GZIP_SUPPORT?= no -LOADER_BZIP2_SUPPORT?= no +LOADER_GZIP_SUPPORT?= yes +LOADER_BZIP2_SUPPORT?= yes .include