dracut: Make mkinintrd-dracut.sh SUSE mkinitrd compatible

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

 



Hi,

these patches implement most important SuSE specific /sbin/mkinitrd
paramters:
  <none> : Before gives a "usage" error -> now scans /boot for kernels
           and builds corresponding inirtrds for them
  -i -k  : Pass a list of kernels and initrd targets
           (not sure it was worth the hassle to be able to pass)
  -b     : Boot directory to search for kernel images
  -d     : Change root file system. Not tested whether dracut's behavior
           matches exactly what our mkinitrd does.

If any of these parameters (including <none>) would have been called before,
mkinitrd-dracut.sh would have bailed out with a "usage error" and an error
code.
Or the other way around: Any valid mkinitrd-dracut.sh not resulting in an
error, should work exactly the same way it did before.

Therefore I hope these can get in if the code is ok.

Thanks,

    Thomas

[PATCH 1/6] mkinitrd-dracut.sh: Introduce -i -k parameters
[PATCH 2/6] mkinitrd-dracut.sh: Enhance param parsing: Allow
[PATCH 3/6] mkinitrd-dracut.sh: Implement --quiet|-q option
[PATCH 4/6] mkinitrd-dracut.sh: Allow mkinitrd call without passing
[PATCH 5/6] mkinitrd-dracut.sh: Also allow -d to specify the root_fs
[PATCH 6/6] mkinitrd-dracut.sh: Build host images for
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux