Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915957 - livegui-amd64-20230924T163139Z.iso doesn't create /mnt/gentoo directory
Summary: livegui-amd64-20230924T163139Z.iso doesn't create /mnt/gentoo directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: LiveCD/DVD/USB (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
: 930351 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-10-18 13:49 UTC by Pacho Ramos
Modified: 2024-05-11 22:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2023-10-18 13:49:07 UTC
Handbook assumed that the directory exists for Gentoo media (as it's focused in minimal ISO, that probably creates it properly), but the Live iso doesn't create it and I need to manually do it each time.

Thanks
Comment 1 Ben Kohler gentoo-dev 2023-10-18 18:46:43 UTC
This seems to be a result of the livegui using "overlayfs" genkernel feature.

Any of the work being done by bootstrapFS() in ${NEWROOT} dir [1] gets clobbered when overlayfs is set up and mounted [2] at ${NEWROOT}.

[1] https://github.com/gentoo/genkernel/blob/master/defaults/initrd.scripts#L290
[2] https://github.com/gentoo/genkernel/blob/master/defaults/initrd.scripts#L846
Comment 2 Larry the Git Cow gentoo-dev 2024-02-15 20:40:05 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/releng.git/commit/?id=a1657606c333bc3effb0adf4518b66101ad3223b

commit a1657606c333bc3effb0adf4518b66101ad3223b
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2024-02-15 20:38:56 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2024-02-15 20:40:00 +0000

    livegui/fsscript: add /mnt/gentoo dir
    
    Bug: https://bugs.gentoo.org/915957
    
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 releases/specs/amd64/livegui/files/fsscript-stage2.sh | 3 +++
 1 file changed, 3 insertions(+)
Comment 3 Ben Kohler gentoo-dev 2024-02-16 21:29:25 UTC
Ok that releng commit would not help since these dirs are created by genkernel initramfs at runtime.

I've just committed something to genkernel that should help, I've tested it on 9999 and /mnt contents look better.

We can look to get out a new release soon.
Comment 4 Ben Kohler gentoo-dev 2024-04-21 11:52:29 UTC
*** Bug 930351 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2024-04-22 16:02:34 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a320690e3155222feb526909a80919e3cd8ce8f

commit 6a320690e3155222feb526909a80919e3cd8ce8f
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2024-04-22 15:56:35 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2024-04-22 16:02:29 +0000

    sys-kernel/genkernel: add 4.3.11
    
    Bug: https://bugs.gentoo.org/915957
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 sys-kernel/genkernel/Manifest                |   1 +
 sys-kernel/genkernel/genkernel-4.3.11.ebuild | 274 +++++++++++++++++++++++++++
 2 files changed, 275 insertions(+)