[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [lorax] Use --noprefix when calling dracut



On Wed, 2011-08-17 at 10:03 -0700, Brian C. Lane wrote:
> On Wed, Aug 17, 2011 at 09:53:22AM -0700, John Reiser wrote:
> > On 08/17/2011 08:45 AM, Brian C. Lane wrote:
> > > On Wed, Aug 17, 2011 at 09:29:22AM +0200, Martin Gracik wrote:
> > >> Do not prefix initramfs files with /run/initramfs
> > >> when creating the dracut initramfs.
> > 
> > > Why is this needed? According to the docs it is the default.
> > > 
> > > http://www.kernel.org/pub/linux/utils/boot/dracut/dracut.html
> > 
> > --noprefix is the dracut default, but various systems set --prefix=/run/initramfs
> > in their host /etc/dracut* because they want that for generating their
> > everyday initramfs for the running system via new-kernel-pkg (yum update, etc.)
> > lorax does not want that, because the initramfs built by lorax is for installs,
> > not for ordinary running.
> 
> Thanks!

Yes, exactly as John said. It says it is the default in the dracut man
page, but I talked to Harald, and in Fedora the --prefix=/run/initramfs
is set, so we need to override it.

> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list redhat com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

-- 
Martin Gracik <mgracik redhat com>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]