On Tue, Aug 2, 2011 at 5:40 PM, Thomas Bächler <[email protected]> wrote: > Am 02.08.2011 17:10, schrieb Tom Gundersen: >> This website created by the systemd folks sums it up nicely (just >> replace "systemd" with "initscripts" everywhere): >> <http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken>. > > Heh, doesn't the "separate-usr-is-broken" in the URL say it all? (Didn't > read it yet, will have to soon.) > I won't accept any patch that modifies the mkinitcpio core to support > this. I might consider a patch that does this in a hook and thus keeps > things modular, if you think it is necessary. For example, write a hook > that adds a new mount handler: > > run_hook() { > mount_handler=usr_mount_handler > } > > usr_mount_handler() { > # mount / > default_mount_handler "$@" > # mount /usr > [ add code here to mount /usr ] > }
After thinking/discussing on irc. I agree that this is the best solution. I'll post a patch which just implements the super simple case I just posted earlier, and then people can extend it if they want. I think the most important thing is that we declare separate /usr unsupported, so we stop getting bug reports, and we can start simplifying PKGBUILD's. People can use this or similar hooks if they are not able to merge /usr and /. Cheers, Tom
