[gentoo-commits] data/gentoo-news:master commit in: 2024-01-18-installkernel-merge/
commit: 0326966428338218af7df5a32560d27e666c5f4b Author: Andrew Ammerlaan gentoo org> AuthorDate: Tue Feb 20 08:44:41 2024 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Tue Feb 20 08:44:41 2024 + URL:https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=03269664 2024-01-18-installkernel-merge: further clarifications - explicitly mention rEFInd - put instructions for UKI under its own header - update for new layout=compat so instructions here are again on the same page with the instructions in the next news item about the introduction of USE=systemd-boot. https://forums.gentoo.org/viewtopic-t-1167432-highlight-installkernel.html Signed-off-by: Andrew Ammerlaan gentoo.org> .../2024-01-18-installkernel-merge.en.txt | 53 ++ 1 file changed, 43 insertions(+), 10 deletions(-) diff --git a/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt b/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt index 96ff934..5af1ad1 100644 --- a/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt +++ b/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt @@ -1,7 +1,7 @@ Title: Merging of installkernel-gentoo and installkernel-systemd Author: Andrew Ammerlaan Posted: 2024-01-18 -Revision: 6 +Revision: 7 News-Item-Format: 2.0 Display-If-Installed: sys-kernel/installkernel Display-If-Installed: sys-kernel/installkernel-gentoo @@ -77,6 +77,31 @@ emerge --noreplace sys-kernel/installkernel emerge --depclean sys-kernel/installkernel-systemd +User Action Required (rEFInd users) + + +Previously sys-kernel/installkernel-gentoo provided kernel installation +automation for users of rEFInd. The new sys-kernel/installkernel provides the +same functionality, which now works with both the traditional installkernel and +systemd's kernel-install. + +Users of rEFInd should: +- ensure that the "systemd-boot" and "grub" USE flags are NOT enabled when +upgrading to >=sys-kernel/installkernel-20. + +Additionally, users of rEFInd may want to +- enable the "refind" USE flag to +install an icon file alongside the installed kernel image which rEFInd will +pick up at runtime. + +Users of rEFInd may wish to explicitly choose either the traditional +installkernel or systemd's kernel-install, in which case they may do so +via USE=-/+systemd. + +sys-kernel/installkernel is renamed from sys-kernel/installkernel-gentoo, +therefore no further user action is required to upgrade to the new package. + + User Action Required (users of other bootloaders and custom scripts) @@ -85,16 +110,24 @@ plugins should either ensure that the same kernel installation method will be used after upgrading to >=sys-kernel/installkernel-14 (via USE=+/-systemd) or migrate these custom plugins (details are on the wiki [1]). -Users of bootloaders other than GRUB or systemd-boot may want to retain the -traditional /boot layout. They may do so by either: -- disabling the "systemd" USE flag, or -- when the "systemd" USE flag is enabled, enabling the "grub" USE flag as well. -- when the "systemd" USE flag is enabled, setting "layout=grub" in -/etc/kernel/install.conf +Users of bootloaders other than GRUB, systemd-boot or refind may want to retain +the traditional /boot layout. They may do so by: +- ensuring that the "systemd-boot", "grub" and "refind" USE flags are disabled. + + +Optional: Unified Kernel Images (all users) + + +Users who wish to use Unified Kernel Images[2] (e.g. for EFI stub booting) may +do so by +- enabling the "ukify" and "uki" USE flags. +Which will automatically install a bootable EFI executable to the EFI system +partition. + +The UEFI firmware, as well as, Systemd-boot, GRUB and rEFInd are capable of +loading Unified Kernel Images. For more details see the wiki page on Unified +Kernel Images[2] -Users who wish to use EFI stub booting may be interested in building an -Unified Kernel Image[2] by enabling the "ukify" and "uki" USE flags. This will -automatically install a bootable EFI executable to the EFI system partition. [1] https://wiki.gentoo.org/wiki/Installkernel [2] https://wiki.gentoo.org/wiki/Unified_kernel_image
[gentoo-commits] data/gentoo-news:master commit in: 2024-01-18-installkernel-merge/
commit: 53ad0609398e3424ea4d151bcec887e5112b7ea7 Author: Andrew Ammerlaan gentoo org> AuthorDate: Mon Jan 29 09:08:13 2024 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Mon Jan 29 09:08:13 2024 + URL:https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=53ad0609 2024-01-18-installkernel-merge: improve clarity - explicitly say that installkernel is called by make install - explicitly say that users of GRUB are expected to enable the grub USE flag - add instructions for retaining the traditional /boot layout for users of other bootloaders - explicitly say that Unified Kernel Images may be wanted to semi-automate EFI stub booting Signed-off-by: Andrew Ammerlaan gentoo.org> .../2024-01-18-installkernel-merge.en.txt | 30 +- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt b/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt index aaf7884..991c95d 100644 --- a/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt +++ b/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt @@ -1,15 +1,18 @@ Title: Merging of installkernel-gentoo and installkernel-systemd Author: Andrew Ammerlaan Posted: 2024-01-18 -Revision: 2 +Revision: 3 News-Item-Format: 2.0 Display-If-Installed: sys-kernel/installkernel Display-If-Installed: sys-kernel/installkernel-gentoo Display-If-Installed: sys-kernel/installkernel-systemd Display-If-Installed: sys-kernel/installkernel-systemd-boot -The functionalities of sys-kernel/installkernel-gentoo and -sys-kernel/installkernel-systemd have been merged into sys-kernel/installkernel. +/sbin/installkernel is a script called by the kernels 'make install' as well +as by the distribution kernels post install phase. It was previously provided +by sys-kernel/installkernel-gentoo or sys-kernel/installkernel-systemd. The +functionalities of these two packages have now been merged into +sys-kernel/installkernel. sys-kernel/installkernel now provides the systemd USE flag to switch between the traditional installkernel (formerly sys-kernel/installkernel-gentoo) and @@ -30,13 +33,16 @@ User Action Required (GRUB users) Previously sys-kernel/installkernel-gentoo provided kernel installation automation for users of GRUB via USE=grub. The new sys-kernel/installkernel provides the same functionality, which now works with both the traditional -installkernel and systemd's kernel-install. In principle no user action is -required unless users wish to explicitly choose either the traditional +installkernel and systemd's kernel-install. Users of GRUB should check that +the "grub" USE flag is enabled to ensure that systemd's kernel-install uses +the correct layout that grub-mkconfig understands. + +Users of GRUB may wish to explicitly choose either the traditional installkernel or systemd's kernel-install, in which case they may do so via USE=-/+systemd. sys-kernel/installkernel is renamed from sys-kernel/installkernel-gentoo, -therefore no user action is required to upgrade. +therefore no user action is required to upgrade to the new package. User Action Required (systemd-boot users) @@ -69,6 +75,16 @@ plugins should either ensure that the same kernel installation method will be used after upgrading to >=sys-kernel/installkernel-14 (via USE=+/-systemd) or migrate these custom plugins (details are on the wiki [1]). +Users of bootloaders other then GRUB or systemd-boot may want to retain the +traditional /boot layout. They may do so by either: +- disabling the "systemd" USE flag, or +- when the "systemd" USE flag is enabled, enabling the "grub" USE flag as well. +- when the "systemd" USE flag is enabled, setting "layout=grub" in +/etc/kernel/install.conf -[1] https://wiki.gentoo.org/wiki/Installkernel +Users who wish to use EFI stub booting may be interested in building an +Unified Kernel Image[2] by enabling the "ukify" and "uki" USE flags. This will +automatically install a bootable EFI executable to the EFI system partition. +[1] https://wiki.gentoo.org/wiki/Installkernel +[2] https://wiki.gentoo.org/wiki/Unified_kernel_image
[gentoo-commits] data/gentoo-news:master commit in: 2024-01-18-installkernel-merge/
commit: 5855de3f2808c3203b690a3f4e04ad5f66b93417 Author: Andrew Ammerlaan gentoo org> AuthorDate: Mon Jan 29 09:28:20 2024 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Mon Jan 29 09:28:20 2024 + URL:https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=5855de3f 2024-01-18-installkernel-merge: improve formatting, fix typo Signed-off-by: Andrew Ammerlaan gentoo.org> .../2024-01-18-installkernel-merge.en.txt | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt b/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt index 991c95d..568ce14 100644 --- a/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt +++ b/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt @@ -1,7 +1,7 @@ Title: Merging of installkernel-gentoo and installkernel-systemd Author: Andrew Ammerlaan Posted: 2024-01-18 -Revision: 3 +Revision: 4 News-Item-Format: 2.0 Display-If-Installed: sys-kernel/installkernel Display-If-Installed: sys-kernel/installkernel-gentoo @@ -33,9 +33,12 @@ User Action Required (GRUB users) Previously sys-kernel/installkernel-gentoo provided kernel installation automation for users of GRUB via USE=grub. The new sys-kernel/installkernel provides the same functionality, which now works with both the traditional -installkernel and systemd's kernel-install. Users of GRUB should check that -the "grub" USE flag is enabled to ensure that systemd's kernel-install uses -the correct layout that grub-mkconfig understands. +installkernel and systemd's kernel-install. + +Users of GRUB should therefore: +- check that the "grub" USE flag is enabled +to ensure that systemd's kernel-install uses the correct layout that +grub-mkconfig understands. Users of GRUB may wish to explicitly choose either the traditional installkernel or systemd's kernel-install, in which case they may do so @@ -50,8 +53,10 @@ User Action Required (systemd-boot users) Previously sys-kernel/installkernel-systemd provided kernel installation automation for users of systemd-boot. sys-kernel/installkernel provides -the same functionality but only via systemd's kernel-install. Users -of systemd-boot should therefore ensure that the "systemd" USE flag is enabled +the same functionality but only via systemd's kernel-install. + +Users of systemd-boot should therefore: +- ensure that the "systemd" USE flag is enabled when upgrading to >=sys-kernel/installkernel-14. Users who are using the distribution kernels (i.e. gentoo-kernel(-bin)) should @@ -75,7 +80,7 @@ plugins should either ensure that the same kernel installation method will be used after upgrading to >=sys-kernel/installkernel-14 (via USE=+/-systemd) or migrate these custom plugins (details are on the wiki [1]). -Users of bootloaders other then GRUB or systemd-boot may want to retain the +Users of bootloaders other than GRUB or systemd-boot may want to retain the traditional /boot layout. They may do so by either: - disabling the "systemd" USE flag, or - when the "systemd" USE flag is enabled, enabling the "grub" USE flag as well.
[gentoo-commits] data/gentoo-news:master commit in: 2024-01-18-installkernel-merge/
commit: 2f0bf0f10c3c3dd34fdcc3089659ade0691bfcb6 Author: Andrew Ammerlaan gentoo org> AuthorDate: Mon Jan 29 11:02:27 2024 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Mon Jan 29 11:03:53 2024 + URL:https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=2f0bf0f1 2024-01-18-installkernel-merge: clarify dracut flag https://forums.gentoo.org/viewtopic-p-8814851.html Signed-off-by: Andrew Ammerlaan gentoo.org> .../2024-01-18-installkernel-merge.en.txt | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt b/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt index 568ce14..f366180 100644 --- a/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt +++ b/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt @@ -1,7 +1,7 @@ Title: Merging of installkernel-gentoo and installkernel-systemd Author: Andrew Ammerlaan Posted: 2024-01-18 -Revision: 4 +Revision: 5 News-Item-Format: 2.0 Display-If-Installed: sys-kernel/installkernel Display-If-Installed: sys-kernel/installkernel-gentoo @@ -63,6 +63,11 @@ Users who are using the distribution kernels (i.e. gentoo-kernel(-bin)) should enable the "dracut" USE flag on installkernel as well to pull in and enable the dracut initramfs generator. This is enforced by portage. +Note that the automagic behaviour of the dracut kernel-install plugin is +removed in sys-kernel/installkernel. Users who rely on the dracut plugin +automatically generating an initramfs when installing the kernel must +enable the "dracut" USE flag to retain this behaviour. + The upgrade path is enforced by sys-kernel/installkernel-systemd-4, which is just a wrapper pulling in >=sys-kernel/installkernel-14 with the "systemd" flag enabled. sys-kernel/installkernel-systemd may be removed after installing
[gentoo-commits] data/gentoo-news:master commit in: 2024-01-18-installkernel-merge/
commit: 0803a532d7bd76f02c0f633f9441210f33735594 Author: Andrew Ammerlaan gentoo org> AuthorDate: Fri Feb 2 06:26:17 2024 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Fri Feb 2 06:26:17 2024 + URL:https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=0803a532 2024-01-18-installkernel-merge: add new USE=systemd-boot Signed-off-by: Andrew Ammerlaan gentoo.org> 2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt b/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt index f366180..96ff934 100644 --- a/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt +++ b/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt @@ -1,7 +1,7 @@ Title: Merging of installkernel-gentoo and installkernel-systemd Author: Andrew Ammerlaan Posted: 2024-01-18 -Revision: 5 +Revision: 6 News-Item-Format: 2.0 Display-If-Installed: sys-kernel/installkernel Display-If-Installed: sys-kernel/installkernel-gentoo @@ -56,7 +56,7 @@ automation for users of systemd-boot. sys-kernel/installkernel provides the same functionality but only via systemd's kernel-install. Users of systemd-boot should therefore: -- ensure that the "systemd" USE flag is enabled +- ensure that the "systemd" and "systemd-boot" USE flags are enabled when upgrading to >=sys-kernel/installkernel-14. Users who are using the distribution kernels (i.e. gentoo-kernel(-bin)) should
[gentoo-commits] data/gentoo-news:master commit in: 2024-01-18-installkernel-merge/
commit: 201e8195c272a70afa8270f2ee300355344626ec Author: Andrew Ammerlaan gentoo org> AuthorDate: Mon Jan 22 08:46:06 2024 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Mon Jan 22 08:46:06 2024 + URL:https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=201e8195 2024-01-18-installkernel-merge: add news item Signed-off-by: Andrew Ammerlaan gentoo.org> .../2024-01-18-installkernel-merge.en.txt | 70 ++ 1 file changed, 70 insertions(+) diff --git a/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt b/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt new file mode 100644 index 000..3b36c73 --- /dev/null +++ b/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt @@ -0,0 +1,70 @@ +Title: Merging of installkernel-gentoo and installkernel-systemd +Author: Andrew Ammerlaan +Posted: 2024-01-18 +Revision: 1 +News-Item-Format: 2.0 +Display-If-Installed: sys-kernel/installkernel +Display-If-Installed: sys-kernel/installkernel-gentoo +Display-If-Installed: sys-kernel/installkernel-systemd +Display-If-Installed: sys-kernel/installkernel-systemd-boot + +The functionalities of sys-kernel/installkernel-gentoo and +sys-kernel/installkernel-systemd have been merged into sys-kernel/installkernel. + +sys-kernel/installkernel now provides the systemd USE flag to switch between +the traditional installkernel (formerly sys-kernel/installkernel-gentoo) and +systemd's kernel-install (formerly sys-kernel/installkernel-systemd(-boot)). + +Additionally, the new sys-kernel/installkernel with the systemd flag enabled +now provides a default install.conf configuration file which ensures that it +will work out-of-the-box with no configuration (other then USE flag +configuration) required for most setups. + +Details on configuration and customization can be found on the installkernel +wiki page [1]. Below we provide the most important migration notes. + + +User Action Required (GRUB users) + + +Previously sys-kernel/installkernel-gentoo provided kernel installation +automation for users of GRUB via USE=grub. The new sys-kernel/installkernel +provides the same functionality, which now works with both the traditional +installkernel and systemd's kernel-install. In principle no user action is +required unless users wish to explicitly choose either the traditional +installkernel or systemd's kernel-install, in which case they may do so +via USE=-/+systemd. + +sys-kernel/installkernel is renamed from sys-kernel/installkernel-gentoo, +therefore no user action is required to upgrade. + + +User Action Required (systemd-boot users) + + +Previously sys-kernel/installkernel-systemd provided kernel installation +automation for users of systemd-boot. sys-kernel/installkernel provides +the same functionality but only via systemd's kernel-install. Users +of systemd-boot should therefore ensure that the systemd USE flag is enabled +when upgrading to >=sys-kernel/installkernel-14. + +This upgrade path is enforced by sys-kernel/installkernel-systemd-4, which is +just a wrapper pulling in >=sys-kernel/installkernel-14 with the systemd flag +enabled. sys-kernel/installkernel-systemd may be removed after installing +>=sys-kernel/installkernel-14. + +emerge --noreplace sys-kernel/installkernel +emerge --depclean sys-kernel/installkernel-systemd + + +User Action Required (users of other bootloaders and custom scripts) + + +Users who have previously relied on custom installkernel or kernel-install +plugins should either ensure that the same kernel installation method will be +used after upgrading to >=sys-kernel/installkernel-14 (via USE=+/-systemd) or +migrate these custom plugins (details are on the wiki [1]). + + +[1] https://wiki.gentoo.org/wiki/Installkernel +
[gentoo-commits] data/gentoo-news:master commit in: 2024-01-18-installkernel-merge/
commit: 65a74554e82b97334e608980f7205d8a2114c287 Author: Andrew Ammerlaan gentoo org> AuthorDate: Wed Jan 24 15:03:34 2024 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Wed Jan 24 15:03:34 2024 + URL:https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=65a74554 2024-01-18-installkernel-merge: add note on enabling dracut flag This is now required since we no longer enable the dracut flag by default Signed-off-by: Andrew Ammerlaan gentoo.org> .../2024-01-18-installkernel-merge.en.txt| 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt b/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt index 3b36c73..aaf7884 100644 --- a/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt +++ b/2024-01-18-installkernel-merge/2024-01-18-installkernel-merge.en.txt @@ -1,7 +1,7 @@ Title: Merging of installkernel-gentoo and installkernel-systemd Author: Andrew Ammerlaan Posted: 2024-01-18 -Revision: 1 +Revision: 2 News-Item-Format: 2.0 Display-If-Installed: sys-kernel/installkernel Display-If-Installed: sys-kernel/installkernel-gentoo @@ -45,11 +45,15 @@ User Action Required (systemd-boot users) Previously sys-kernel/installkernel-systemd provided kernel installation automation for users of systemd-boot. sys-kernel/installkernel provides the same functionality but only via systemd's kernel-install. Users -of systemd-boot should therefore ensure that the systemd USE flag is enabled +of systemd-boot should therefore ensure that the "systemd" USE flag is enabled when upgrading to >=sys-kernel/installkernel-14. -This upgrade path is enforced by sys-kernel/installkernel-systemd-4, which is -just a wrapper pulling in >=sys-kernel/installkernel-14 with the systemd flag +Users who are using the distribution kernels (i.e. gentoo-kernel(-bin)) should +enable the "dracut" USE flag on installkernel as well to pull in and enable +the dracut initramfs generator. This is enforced by portage. + +The upgrade path is enforced by sys-kernel/installkernel-systemd-4, which is +just a wrapper pulling in >=sys-kernel/installkernel-14 with the "systemd" flag enabled. sys-kernel/installkernel-systemd may be removed after installing >=sys-kernel/installkernel-14.