Date: Sat, 24 Jan 2015 17:03:40 +0300 From: Dmitry Marakasov <amdmi3@amdmi3.ru> To: Garrett Cooper <yaneurabeya@gmail.com> Cc: freebsd-current@FreeBSD.org Subject: Re: OptionalObsoleteFiles.inc completeness improvement, try 2 Message-ID: <20150124140340.GL1101@hades.panopticon> In-Reply-To: <8D1D9451-B8B1-4121-8F89-E03951DB65BF@gmail.com> References: <20150124002956.GI1101@hades.panopticon> <4F0C24D1-9313-49BC-992E-5C31DAC6DADC@gmail.com> <20150124011610.GJ1101@hades.panopticon> <8162C656-E851-492D-840A-27A222E3A7CC@gmail.com> <8D1D9451-B8B1-4121-8F89-E03951DB65BF@gmail.com>
index | next in thread | previous in thread | raw e-mail
* Garrett Cooper (yaneurabeya@gmail.com) wrote: > >>> Hi Dmitry, > >>> Seems like we’ve duplicated work a bit. Have you looked at ^/projects/building-blocks yet ? > >> > >> Hm, seems so, partly. How do you gather missing entries? My way is > >> pretty dumb, I just do bunch of installworlds + delete-old's and add > >> diff to the file, you probably do it more cleverly. Will committing > >> my changes interfere with your work? If so, it may be better to direct > >> them to your branch instead. Especially if you are more aware of knob > >> combinations and their effects. > > > > I wrote this script to track what files get installed by directories: > > https://svnweb.freebsd.org/base/projects/building-blocks/tools/add-optional-obsolete-files-entries.sh?revision=275238&view=markup . It’s not perfect (doesn’t work for “kitchen sink” directories like etc/ and share/…), but it’s a reasonable starting point for grabbing all of the files. > > > > I’m going to hold off on the rc.d deletions/rewrites for dependent services after I do more targeted review/testing, as it might screw up boot order in unexpected ways with services and programs that get run out of order, but I’m reasonably confident that the contents of the branch work. > > > > I was going to start cherry-picking changes from the branch this weekend. > > Forgot to respond on one important point: reviewing and committing the higher-level changes (make remove-old) shouldn’t be a problem, and I’ll be sure to commit the overlapping changes with OptionalObsoleteFiles.inc first to reduce the diff between our branches. > Thanks! Okay, the I'll just go on. Nice to know it's useful. Note that the branch may have bugs as on the first run I just extend it, and it's tested on another run, while run takes couple of days on the box I use. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ruhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150124140340.GL1101>
