mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	dracut: Install commands required for vdev_id
The vdev_id script requires awk, grep, and head. Use dracut_install to ensure that these commands are available in the initrd environment. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Karsten Kretschmer <kkretschmer@gmail.com> Closes #6443 Closes #6452
This commit is contained in:
		
							parent
							
								
									1e1c398033
								
							
						
					
					
						commit
						d19a6d5c80
					
				| @ -52,6 +52,8 @@ install() { | |||||||
| 	fi | 	fi | ||||||
| 	dracut_install @sbindir@/mount.zfs | 	dracut_install @sbindir@/mount.zfs | ||||||
| 	dracut_install @udevdir@/vdev_id | 	dracut_install @udevdir@/vdev_id | ||||||
|  | 	dracut_install awk | ||||||
|  | 	dracut_install head | ||||||
| 	dracut_install @udevdir@/zvol_id | 	dracut_install @udevdir@/zvol_id | ||||||
| 	inst_hook cmdline 95 "${moddir}/parse-zfs.sh" | 	inst_hook cmdline 95 "${moddir}/parse-zfs.sh" | ||||||
| 	if [ -n "$systemdutildir" ] ; then | 	if [ -n "$systemdutildir" ] ; then | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Karsten Kretschmer
						Karsten Kretschmer