Re: [PATCH] LIBDIR detection without /proc

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

 



On Wed, 20 May 2009, Warren Togami wrote:

> Could we please not rely on /proc to detect anything?  Something like 
> the following would work fine.  It also has the benefit of being able to 
> run without /proc mounted, which is great for building initrd's within a 
> chroot.

I'm not sure if checking for an installed file is going to work flawless.
*shrug*


> Another issue, it appears this plymouth module is uncondtional? 
> Shouldn't it skip plymouth install if it plymouth does not exist for the 
> sake of other distributions?

[root@bofh dracut]# cat modules.d/50plymouth/check
#!/bin/bash
[[ -x /sbin/plymouthd && -x /bin/plymouth && -x /usr/sbin/plymouth-set-default-theme ]]
[root@bofh dracut]# 

Does look rather conditional to me.

regards, 
 andreas
--
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