libs transition /usr/lib -> /lib questions
FWIW today I've noticed that systemd is going other way around
http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken
Op 6 jan. 2012, om 11:09 heeft Martin Jansa het volgende geschreven:
Quoted 2 lines
FWIW today I've noticed that systemd is going other way around
http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken
And http://fedoraproject.org/wiki/Features/UsrMove
I guess it's time to publish my angstrom branch doing that after the holidays :)
Quoted 9 lines · Koen Kooi
Op 6 jan. 2012, om 11:09 heeft Martin Jansa het volgende geschreven:
Quoted 2 lines
FWIW today I've noticed that systemd is going other way around
http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-brokenAnd http://fedoraproject.org/wiki/Features/UsrMove
I guess it's time to publish my angstrom branch doing that after the holidays :)
I respectfully disagree with both of the above URLs.
The root partition is still very useful as a "small" set of applications and libraries required for booting.
Most systems these days contain a combined root and usr partition, which is fine. However, there are a lot of systems that I've worked on in the past and I expect in the future that, root being a small R/O system is necessary.
initramfs can solve some problems, but introduces other issues. Many of the systems I've worked on simple don't have enough flash to be able to store the bootloader, kernel and an initramfs [as well as other system items required by the devices]. In this case a base rootfs makes the most sense.
So as I mentioned in my previous email -- there are really three options to supporting this:
*) Move the libraries from /usr to /
*) Move the binaries from / to /usr
*) Reconfigure the binaries to no longer need the library in /usr
---
But with that said, we also should work on making it easier to generate an initramfs that is capable of premounting all of the filesystems and doing other actions for an "early boot" capability before handing off control to the real system. (And I do believe systemd is the future of initscripts within Linux and OE-Core for the majority of non-simple systems!)
--Mark
Quoted 4 lines
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Quoted 20 lines · Mark Hatle
Quoted 4 lines · Koen Kooi
Op 6 jan. 2012, om 11:09 heeft Martin Jansa het volgende geschreven:
Quoted 8 lines
Quoted 2 lines
FWIW today I've noticed that systemd is going other way around
http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-brokenAnd http://fedoraproject.org/wiki/Features/UsrMove
I guess it's time to publish my angstrom branch doing that after the holidays :)
I respectfully disagree with both of the above URLs.
The root partition is still very useful as a "small" set of applications and libraries required for booting.
Quoted 8 lines
Most systems these days contain a combined root and usr partition, which is fine. However, there are a lot of systems that I've worked on in the past and I expect in the future that, root being a small R/O system is necessary.
initramfs can solve some problems, but introduces other issues. Many of the systems I've worked on simple don't have enough flash to be able to store the bootloader, kernel and an initramfs [as well as other system items required by the devices]. In this case a base rootfs makes the most sense.
In my opinion, what's proposed in the two links is a good thing even for embedded. Not that we'd use that structure necessarily, but removing the usr vs non-usr separation for binaries and libs is a good thing regardless. Putting /usr in the rootfs still would still work fine, or you could drop usr entirely and move everything to / the way micro does.
Signature · 1 line
Christopher Larson
Quoted 30 lines · Chris Larson
Quoted 20 lines · Mark Hatle
Quoted 4 lines · Koen Kooi
Op 6 jan. 2012, om 11:09 heeft Martin Jansa het volgende geschreven:
Quoted 8 lines
Quoted 2 lines
FWIW today I've noticed that systemd is going other way around
http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-brokenAnd http://fedoraproject.org/wiki/Features/UsrMove
I guess it's time to publish my angstrom branch doing that after the holidays :)
I respectfully disagree with both of the above URLs.
The root partition is still very useful as a "small" set of applications and libraries required for booting.
Quoted 8 lines
Most systems these days contain a combined root and usr partition, which is fine. However, there are a lot of systems that I've worked on in the past and I expect in the future that, root being a small R/O system is necessary.
initramfs can solve some problems, but introduces other issues. Many of the systems I've worked on simple don't have enough flash to be able to store the bootloader, kernel and an initramfs [as well as other system items required by the devices]. In this case a base rootfs makes the most sense.
Quoted 6 lines
In my opinion, what's proposed in the two links is a good thing even for embedded. Not that we'd use that structure necessarily, but removing the usr vs non-usr separation for binaries and libs is a good thing regardless. Putting /usr in the rootfs still would still work fine, or you could drop usr entirely and move everything to / the way micro does.
I'd prefer if someone wants to flatten the filesystem that they move everything to '/'. This will still work in the case where we move libraries and binaries between '/' and '/usr' in the generic case.
This would support both the traditional filesystem split case as well as a more modern single filesystem case. (We even have the ability, even though I doubt it's been tested, to change the base_bindir, base_sbindir, base_libdir to be /usr/bin, /usr/sbin, and /usr/lib* to automatically move the things into /usr if that is the system someone wants.)
--Mark
Quoted 30 lines · Chris Larson
Quoted 20 lines · Mark Hatle
Quoted 4 lines · Koen Kooi
Op 6 jan. 2012, om 11:09 heeft Martin Jansa het volgende geschreven:
Quoted 8 lines
Quoted 2 lines
FWIW today I've noticed that systemd is going other way around
http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-brokenAnd http://fedoraproject.org/wiki/Features/UsrMove
I guess it's time to publish my angstrom branch doing that after the holidays :)
I respectfully disagree with both of the above URLs.
The root partition is still very useful as a "small" set of applications and libraries required for booting.
Quoted 8 lines
Most systems these days contain a combined root and usr partition, which is fine. However, there are a lot of systems that I've worked on in the past and I expect in the future that, root being a small R/O system is necessary.
initramfs can solve some problems, but introduces other issues. Many of the systems I've worked on simple don't have enough flash to be able to store the bootloader, kernel and an initramfs [as well as other system items required by the devices]. In this case a base rootfs makes the most sense.
Quoted 6 lines
In my opinion, what's proposed in the two links is a good thing even for embedded. Not that we'd use that structure necessarily, but removing the usr vs non-usr separation for binaries and libs is a good thing regardless. Putting /usr in the rootfs still would still work fine, or you could drop usr entirely and move everything to / the way micro does.
The nice thing is we have a system which can actually support the different options relatively easily and without much conflict. Each has its usecases and its relatively simple to set things up to build them as micro has shown. I believe we can actually do better than other distros, not just follow them.
Cheers,
Richard
Op 6 jan. 2012, om 17:16 heeft Richard Purdie het volgende geschreven:
Quoted 38 lines · Chris Larson
Quoted 30 lines · Mark Hatle
Quoted 20 lines · Koen Kooi
Quoted 4 lines
Op 6 jan. 2012, om 11:09 heeft Martin Jansa het volgende geschreven:
Quoted 8 lines
Quoted 2 lines
FWIW today I've noticed that systemd is going other way around
http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-brokenAnd http://fedoraproject.org/wiki/Features/UsrMove
I guess it's time to publish my angstrom branch doing that after the holidays :)
I respectfully disagree with both of the above URLs.
The root partition is still very useful as a "small" set of applications and libraries required for booting.
Quoted 8 lines
Most systems these days contain a combined root and usr partition, which is fine. However, there are a lot of systems that I've worked on in the past and I expect in the future that, root being a small R/O system is necessary.
initramfs can solve some problems, but introduces other issues. Many of the systems I've worked on simple don't have enough flash to be able to store the bootloader, kernel and an initramfs [as well as other system items required by the devices]. In this case a base rootfs makes the most sense.
Quoted 6 lines
In my opinion, what's proposed in the two links is a good thing even for embedded. Not that we'd use that structure necessarily, but removing the usr vs non-usr separation for binaries and libs is a good thing regardless. Putting /usr in the rootfs still would still work fine, or you could drop usr entirely and move everything to / the way micro does.
Quoted 2 lines
The nice thing is we have a system which can actually support the different options relatively easily and without much conflict.
Except that things like fs-perms.txt store hardcoded values :(
Quoted 41 lines · Koen Kooi
Op 6 jan. 2012, om 17:16 heeft Richard Purdie het volgende geschreven:
Quoted 38 lines · Chris Larson
Quoted 36 lines · Mark Hatle
Quoted 20 lines · Koen Kooi
Quoted 4 lines
Op 6 jan. 2012, om 11:09 heeft Martin Jansa het volgende geschreven:
Quoted 8 lines
Quoted 2 lines
FWIW today I've noticed that systemd is going other way around
http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-brokenAnd http://fedoraproject.org/wiki/Features/UsrMove
I guess it's time to publish my angstrom branch doing that after the holidays :)
I respectfully disagree with both of the above URLs.
The root partition is still very useful as a "small" set of applications and libraries required for booting.
Quoted 8 lines
Most systems these days contain a combined root and usr partition, which is fine. However, there are a lot of systems that I've worked on in the past and I expect in the future that, root being a small R/O system is necessary.
initramfs can solve some problems, but introduces other issues. Many of the systems I've worked on simple don't have enough flash to be able to store the bootloader, kernel and an initramfs [as well as other system items required by the devices]. In this case a base rootfs makes the most sense.
In my opinion, what's proposed in the two links is a good thing even for embedded. Not that we'd use that structure necessarily, but removing the usr vs non-usr separation for binaries and libs is a good thing regardless. Putting /usr in the rootfs still would still work fine, or you could drop usr entirely and move everything to / the way micro does.
Quoted 4 lines
Quoted 2 lines
The nice thing is we have a system which can actually support the different options relatively easily and without much conflict.
Except that things like fs-perms.txt store hardcoded values :(
Yes "hard coded values" that include expandable variables:
# Documentation should always be corrected
${mandir} 0755 root root true 0644 root root
${infodir} 0755 root root true 0644 root root
${docdir} 0755 root root true 0644 root rootetc..
The format of this file was specifically setup to allow for people to adjust the value of the exec_prefix, libdir, etc as necessary without having to change the default fs-perms.txt. (Also keep in mind the expectation for distributions to add their own locations when necessary.)
--Mark
Quoted 4 lines
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core