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

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

 



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.
> ---
>  src/pylorax/installtree.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/pylorax/installtree.py b/src/pylorax/installtree.py
> index 11a2390..e0ddd9a 100644
> --- a/src/pylorax/installtree.py
> +++ b/src/pylorax/installtree.py
> @@ -552,7 +552,7 @@ class LoraxInstallTree(BaseLoraxClass):
>              outfile = "/tmp/initramfs.img" # inside the chroot
>              logger.debug("chrooting into installtree to create initramfs.img")
>              subprocess.check_call(["chroot", self.root, "/sbin/dracut",
> -                                   "--nomdadmconf", "--nolvmconf",
> +                                   "--noprefix", "--nomdadmconf", "--nolvmconf",
>                                     "--xz", "--modules", "base dmsquash-live",
>                                     outfile, kernel.version])
>              # move output file into installtree workdir

Why is this needed? According to the docs it is the default.

http://www.kernel.org/pub/linux/utils/boot/dracut/dracut.html

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)

Attachment: pgp1SyTEhbhkw.pgp
Description: PGP signature

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

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux