Page MenuHomeFreeBSD

pkgbase: Move rc scripts and related files to their own packages
ClosedPublic

Authored by manu on Sep 3 2019, 3:55 PM.

Details

Summary

It doesn't need to be in runtime and might help people who want to
experiment with other rc system or don't use one (like in small
embedded mfsroot).

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

manu created this revision.Sep 3 2019, 3:55 PM
gjb added a subscriber: gjb.Sep 3 2019, 4:38 PM

I'm not sure I agree with this one. Moving required (in some sense of the word for certain things) from the main runtime package feels wrong to me.

manu added a comment.Sep 3 2019, 5:29 PM
In D21499#468443, @gjb wrote:

I'm not sure I agree with this one. Moving required (in some sense of the word for certain things) from the main runtime package feels wrong to me.

I don't think that rc are required files. Again if I want to create a small mfsroot I just need to use the FreeBSD-runtime package and add my own /etc/rc.
A real world example is for example if you want to reroot on iSCSI, you will create the mfsroot based on the FreeBSD-runtime and FreeBSD-iscsi package and just add a /etc/rc that will reroot on it.

gjb accepted this revision as: gjb.Sep 3 2019, 7:07 PM

This one is another case of "I do not agree, but will not object."

This revision is now accepted and ready to land.Sep 3 2019, 7:07 PM
bapt accepted this revision.Sep 4 2019, 6:39 AM
bapt added a subscriber: bapt.

We discussed with @manu about it and I do not agree as well, but do not object as he has an argument for people who work with replacing rc with something else. We can move that back to runtime later if needed.

This revision was automatically updated to reflect the committed changes.