-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] initoverlayfs-install: use /usr/loca/etc to conf #76
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Douglas Schilling Landgraf <[email protected]>
I was able to build with osbuild but during the boot it exploded.
|
You should maybe change this: conf_read(&conf, "/etc/initoverlayfs.conf"); to this: conf_read(&conf, "/etc/local/initoverlayfs.conf"); I haven't tested or anything though... Maybe there's a couple of things in different places... This has also pointed out that we probably need more logging inside conf_read. Like log when fopen fails. |
Oh wait scratch that though maybe not because you copied to: /etc/initoverlayfs.conf In initrd... Anyway, it looks like bootfs variable is empty, that comes from /etc/initoverlayfs.conf file |
It's the variable that contains bootfs details, so it knows which partition to mount for /boot |
@@ -77,6 +77,8 @@ install() { | |||
inst_multiple -o \ | |||
"$systemdsystemunitdir"/mount-sysroot.service \ | |||
"$systemdsystemunitdir"/sysinit.target.wants/mount-sysroot.service | |||
|
|||
inst_simple "/usr/local/etc/initoverlayfs.conf" "/etc/initoverlayfs.conf" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have no problem making this /usr/local/etc everywhere if it works, even in initrd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I am doing some tests here, I will update here as soon I get something working.
We should be very close here, we just need to produce more output in osbuild to see where this is falling over. Could you paste the full output of the dracut section, including the names of the osbuild stages that are running dracut @dougsland ? |
Still failing for reach
However, dracut output seems more friendly when using
but when booting:
|
No description provided.