Date: Tue, 13 Apr 2021 21:15:25 +0100 From: Edward Tomasz Napierala <trasz@freebsd.org> To: rgrimes@freebsd.org Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 82431b7506d6 - main - rc: remove the 'archdep' script Message-ID: <YHX73S800%2BgDAKdt@brick> In-Reply-To: <202104121851.13CIpmmQ034866@gndrsh.dnsmgr.net> References: <202104121418.13CEISV0082707@gitrepo.freebsd.org> <202104121851.13CIpmmQ034866@gndrsh.dnsmgr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 0412T1151, Rodney W. Grimes wrote: > > The branch main has been updated by trasz: > > > > URL: https://cgit.FreeBSD.org/src/commit/?id=82431b7506d646165d52f11bc2958e8ce8ec5cce > > > > commit 82431b7506d646165d52f11bc2958e8ce8ec5cce > > Author: Edward Tomasz Napierala <trasz@FreeBSD.org> > > AuthorDate: 2021-04-12 13:38:16 +0000 > > Commit: Edward Tomasz Napierala <trasz@FreeBSD.org> > > CommitDate: 2021-04-12 14:18:17 +0000 > > > > rc: remove the 'archdep' script > > > > It was unused since 405c3050f10, which removed iBCS support. > > > > This also moves the 'linux' rc script slightly earlier, which > > might help in some setups. The original version of this patch > > moved it even more, before 'mountcritlocal', which would fixe > > mount(8) errors due to missing /dev/shm in setups with entries > > for /path/to/chroot/dev/shm without the "late" flag; however, > > in the end 'kldxref' turned out to depend on 'mountcritlocal' > > anyway. > > I would think that these hintts are built and kernel/module > install time, not at the much later when the system is booting. They are, for amd64. The problem here is that kldxref(8) doesn't work for cross builds. > Crazy idea, but first isnt it too late for hints by the time > this runs? So... change this from a _start to a _shutdown > action and build the hints files on the way down so that > all things are ready next time the system boots. This > would fix the /usr mount issue. This would cause failures on first boot, though. Also, no, I don't think this is too late - we mount /usr quite early in the boot sequence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YHX73S800%2BgDAKdt>