From: Tom Rini Date: Mon, 5 Aug 2013 17:02:55 -0400 Subject: [U-Boot] Unified u-boot feature set for simpler distro support In-Reply-To: <20130805155403.401be771@adria.ausil.us> References: <20130803021104.1fecaf5a@adria.ausil.us> <20130805190132.GR5164@bill-the-cat> <20130805151120.6b20569a@adria.ausil.us> <20130805202545.GV5164@bill-the-cat> <20130805155403.401be771@adria.ausil.us> Message-ID: <20130805210255.GZ5164@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Aug 05, 2013 at 03:54:03PM -0500, Dennis Gilmore wrote: > On Mon, 5 Aug 2013 16:25:45 -0400 > Tom Rini wrote: > > > On Mon, Aug 05, 2013 at 03:11:20PM -0500, Dennis Gilmore wrote: > > > On Mon, 5 Aug 2013 15:01:32 -0400 > > > Tom Rini wrote: > > > > > > > On Sat, Aug 03, 2013 at 02:11:04AM -0500, Dennis Gilmore wrote: > > [snip] > > > > > bootz and raw initrd support. not having to wrap kernels and > > > > > initrds really is a must. raw initrd support means that its > > > > > much simpler for a user to rebuild an initramfs if needed and > > > > > bootz means we do not need to worry about making sure that we > > > > > specify the correct addresses to load the kernel to when > > > > > calling mkimage. > > > > > > > > bootz is fine, raw initrd is fine. I would say that "updating the > > > > initramfs" is done by the distro scripts anyhow and not by hand > > > > from memory. > > > for the most part yes, its built at rpm install time. sometimes a > > > user decides to rebuild for different reasons. > > > > Right. So, lets me ask. In .deb-based land, I build my own kernels, > > and yelling cursing and screaming at the pains of doing things by > > hand, I use the 'deb-pkg' target in the kernel as that hooks into all > > the right things and I stop having to ^R/^O my history to not break my > > system (or look at my own script or whatever). What's it like in > > Fedora land, with initramfses? Do users do make > > bzImage/modules/install in the kernel or expect to use rpm-pkg to get > > something that hooks in just right? > > generally we expect users to just do a yum update and the new kernel is > automatically installed and a new initramfs is made for the kernel. > they would run dracut to make a new initramfs if for instance they hit > a systemd bug and needed to get the newer systemd binaries into the > initramfs or in the case of when we dir the usr move feature and > moved /lib /bin and /sbin into /usr the user needed to rebuild the > initramfs including the module to do the conversion process. Still in this quite hypothetical situation, dracut would take care of invoking mkimage, in a way that doesn't need SoC-specific magic whacked into it. Hypothetically, if we wanted to go down this path. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: