[gentoo-dev] [PATCH 1/1] linux-info.eclass: Add SKIP_KERNEL_CHECK in addl funcs to support tinderbox

2022-09-02 Thread Mike Pagano


Signed-off-by: Mike Pagano 
---
 eclass/linux-info.eclass | 5 +
 1 file changed, 5 insertions(+)

diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass
index 82bc7fe53..fc125b0d7 100644
--- a/eclass/linux-info.eclass
+++ b/eclass/linux-info.eclass
@@ -374,6 +374,7 @@ require_configured_kernel() {
 # If linux_config_exists returns false, the results of this are UNDEFINED. You
 # MUST call linux_config_exists first.
 linux_chkconfig_present() {
+   [[ -n ${SKIP_KERNEL_CHECK} ]] && return
linux_config_qa_check linux_chkconfig_present
[[ $(getfilevar_noexec "CONFIG_$1" "$(linux_config_path)") == [my] ]]
 }
@@ -386,6 +387,7 @@ linux_chkconfig_present() {
 # If linux_config_exists returns false, the results of this are UNDEFINED. You
 # MUST call linux_config_exists first.
 linux_chkconfig_module() {
+   [[ -n ${SKIP_KERNEL_CHECK} ]] && return
linux_config_qa_check linux_chkconfig_module
[[ $(getfilevar_noexec "CONFIG_$1" "$(linux_config_path)") == m ]]
 }
@@ -398,6 +400,7 @@ linux_chkconfig_module() {
 # If linux_config_exists returns false, the results of this are UNDEFINED. You
 # MUST call linux_config_exists first.
 linux_chkconfig_builtin() {
+   [[ -n ${SKIP_KERNEL_CHECK} ]] && return
linux_config_qa_check linux_chkconfig_builtin
[[ $(getfilevar_noexec "CONFIG_$1" "$(linux_config_path)") == y ]]
 }
@@ -410,6 +413,7 @@ linux_chkconfig_builtin() {
 # If linux_config_exists returns false, the results of this are UNDEFINED. You
 # MUST call linux_config_exists first.
 linux_chkconfig_string() {
+   [[ -n ${SKIP_KERNEL_CHECK} ]] && return
linux_config_qa_check linux_chkconfig_string
getfilevar_noexec "CONFIG_$1" "$(linux_config_path)"
 }
@@ -472,6 +476,7 @@ kernel_is() {
 # - make is not present
 # - corruption exists in the kernel makefile
 get_makefile_extract_function() {
+   [[ -n ${SKIP_KERNEL_CHECK} ]] && return
local a='' b='' mkfunc='getfilevar'
a="$(getfilevar VERSION ${KERNEL_MAKEFILE})"
b="$(getfilevar_noexec VERSION ${KERNEL_MAKEFILE})"
--
2.35.1




OpenPGP_0x92A6DBEC81F2B137.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: [gentoo-dev] Add systemd/merged-usr profiles

2022-09-02 Thread Mike Gilbert
On Fri, Sep 2, 2022 at 11:05 AM Mike Gilbert  wrote:
>
> On Fri, Sep 2, 2022 at 9:01 AM Marc Schiffbauer  wrote:
> >
> > * Mike Gilbert schrieb am 01.09.22 um 03:38 Uhr:
> > > On Wed, Aug 31, 2022 at 12:29 PM Jaco Kroon  wrote:
> > > >
> > > > Hi,
> > > >
> > > > That really depends.
> > > >
> > > > If the expectation is that everything in /usr/{bin,sbin,lib*} needs to 
> > > > now fit on / rather than /usr we're queued to re-install a very, very 
> > > > large number of hosts.
> > >
> > > You have that reversed: the expectation is that everything in
> > > /{bin,sbin,lib} will fit in /usr. In other words, we move files from /
> > > into /usr.
> >
> > So does this mean, that having /usr on a seperate filesystem remains
> > "supported" but is now only possible with a proper initrd?
>
> Switching to merged-usr does make it pretty much impossible to boot
> without an initramfs if /usr is on a separate filesystem.
>
> Having /usr on a separate filesystem without an initramfs to mount it
> has been "unsupported" for several years; the council made a decision
> on that in 2013 [1].
>
> [1] https://projects.gentoo.org/council/meeting-logs/20130813-summary.txt

To more directly answer your question: yes, having /usr on a separate
filesystem is still "supported" with an appropriate initramfs.



Re: [gentoo-dev] Add systemd/merged-usr profiles

2022-09-02 Thread Mike Gilbert
On Fri, Sep 2, 2022 at 9:01 AM Marc Schiffbauer  wrote:
>
> * Mike Gilbert schrieb am 01.09.22 um 03:38 Uhr:
> > On Wed, Aug 31, 2022 at 12:29 PM Jaco Kroon  wrote:
> > >
> > > Hi,
> > >
> > > That really depends.
> > >
> > > If the expectation is that everything in /usr/{bin,sbin,lib*} needs to 
> > > now fit on / rather than /usr we're queued to re-install a very, very 
> > > large number of hosts.
> >
> > You have that reversed: the expectation is that everything in
> > /{bin,sbin,lib} will fit in /usr. In other words, we move files from /
> > into /usr.
>
> So does this mean, that having /usr on a seperate filesystem remains
> "supported" but is now only possible with a proper initrd?

Switching to merged-usr does make it pretty much impossible to boot
without an initramfs if /usr is on a separate filesystem.

Having /usr on a separate filesystem without an initramfs to mount it
has been "unsupported" for several years; the council made a decision
on that in 2013 [1].

[1] https://projects.gentoo.org/council/meeting-logs/20130813-summary.txt



[gentoo-dev] Last rites: mail-filter/sigh

2022-09-02 Thread Marc Schiffbauer
# Marc Schiffbauer  (2022-09-02)
# Dead upstream, open bugs, removal in 30 days
# bugs #829447, #836227, #862504
mail-filter/sigh


signature.asc
Description: PGP signature


Re: [gentoo-dev] Add systemd/merged-usr profiles

2022-09-02 Thread Marc Schiffbauer
* Mike Gilbert schrieb am 01.09.22 um 03:38 Uhr:
> On Wed, Aug 31, 2022 at 12:29 PM Jaco Kroon  wrote:
> >
> > Hi,
> >
> > That really depends.
> >
> > If the expectation is that everything in /usr/{bin,sbin,lib*} needs to now 
> > fit on / rather than /usr we're queued to re-install a very, very large 
> > number of hosts.
> 
> You have that reversed: the expectation is that everything in
> /{bin,sbin,lib} will fit in /usr. In other words, we move files from /
> into /usr.

So does this mean, that having /usr on a seperate filesystem remains 
"supported" but is now only possible with a proper initrd?

-Marc

-- 
0x8201F9436611ABF9 - 41C5 71F2 0535 7D66 2E71
 6DAA 8201 F943 6611 ABF9


signature.asc
Description: PGP signature