dracut load configs from deployment

This commit is contained in:
Dennis ten Hoove 2024-02-29 19:09:24 +01:00
parent 9b99fedeb6
commit 53e2c12a19

2
arkdep
View file

@ -734,6 +734,8 @@ deploy () {
# Install kernel and generate initramfs
printf '\e[1;34m-->\e[0m\e[1m Generating initramfs\e[0m\n'
dracut -q -k $arkdep_dir/deployments/${data[0]}/rootfs/usr/lib/modules/${kernels_installed[0]} \
-c $arkdep_dir/deployments/${data[0]}/rootfs/etc/dracut.conf \
--confdir $arkdep_dir/deployments/${data[0]}/rootfs/etc/dracut.conf.d \
--kernel-image $arkdep_boot/arkdep/${data[0]}/vmlinuz \
--kver ${kernels_installed[0]} \
--force \