commit:     b4ddd771225c58e9dd601f80316ed3a319cf2e3c
Author:     Ian Jordan <immoloism <AT> gmail <DOT> com>
AuthorDate: Sun Mar  9 01:15:26 2025 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Mar  9 04:37:29 2025 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=b4ddd771

Reduce memory usage on x86 livecds

Second stage RAM reduction for x86 media, with the first being the switch from 
genkernel to dist-kernel.

Size reduction is 188MB to 138MB of required RAM with the new ISO to boot.

This is done by disabling some of the hooks which Dracut enables by default.
We could enable this change for all arches, however as there are only a few 
systems where it is resonable to find memory usage under 140MB it was decided 
to only test how these hooks peform on systems that can make use of such a 
saving.

In future we can look into lowering this even futher to allow Gentoo media to 
boot in 128mb, but I've opted to do this in stages starting with the safest 
first.

Signed-off-by: Ian Jordan <immoloism <AT> gmail.com>

 releases/specs/x86/i486/installcd-stage2-minimal-openrc.spec | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/releases/specs/x86/i486/installcd-stage2-minimal-openrc.spec 
b/releases/specs/x86/i486/installcd-stage2-minimal-openrc.spec
index 08f93cd0..0a2cc005 100644
--- a/releases/specs/x86/i486/installcd-stage2-minimal-openrc.spec
+++ b/releases/specs/x86/i486/installcd-stage2-minimal-openrc.spec
@@ -19,9 +19,8 @@ livecd/rcadd: dbus|default gpm|default NetworkManager|default
 boot/kernel: gentoo
 
 boot/kernel/gentoo/distkernel: yes
-boot/kernel/gentoo/dracut_args: --xz --no-hostonly -a dmsquash-live -a mdraid 
-o btrfs -o crypt -o i18n -o usrmount -o lunmask -o qemu -o qemu-net -o nvdimm 
-o multipath -i /lib/keymaps /lib/keymaps -I busybox
+boot/kernel/gentoo/dracut_args: --xz --no-hostonly -a dmsquash-live -a mdraid 
-o btrfs -o crypt -o i18n -o usrmount -o lunmask -o qemu -o qemu-net -o nvdimm 
-o multipath -o modsign -o net-lib -o bcache -o dmraid -o lvm -o resume -o 
virtiofs -o mdraid -o shutdown -o kernel-modules-extra -o shutdown  -o pcmcia 
-o hwdb -i /lib/keymaps /lib/keymaps -I busybox
 boot/kernel/gentoo/config: 
@REPO_DIR@/releases/kconfig/x86/dist-x86-livecd.config
-
 boot/kernel/gentoo/packages: --usepkg n broadcom-sta
 
 livecd/unmerge:

Reply via email to