Drop all the readlinks, filepath is already clean v2
This commit is contained in:
parent
97ee325eb7
commit
fc3b804804
1 changed files with 1 additions and 1 deletions
2
arkdep
2
arkdep
|
@ -714,7 +714,7 @@ deploy () {
|
||||||
kernels_installed=($(ls $arkdep_dir/deployments/${data[0]}/rootfs/usr/lib/modules/))
|
kernels_installed=($(ls $arkdep_dir/deployments/${data[0]}/rootfs/usr/lib/modules/))
|
||||||
mkdir -pv $arkdep_boot/arkdep/${data[0]}
|
mkdir -pv $arkdep_boot/arkdep/${data[0]}
|
||||||
# Deploy kernel to /boot, deploy first hit of kernels_installed
|
# Deploy kernel to /boot, deploy first hit of kernels_installed
|
||||||
cp -v $arkdep_dir/deployments/${data[0]}/rootfs/usr/lib/modules/${kernels_installed[0]}/vmlinuz) $arkdep_boot/arkdep/${data[0]}/ ||
|
cp -v $arkdep_dir/deployments/${data[0]}/rootfs/usr/lib/modules/${kernels_installed[0]}/vmlinuz $arkdep_boot/arkdep/${data[0]}/ ||
|
||||||
cleanup_and_quit 'Failed to copy kernel image'
|
cleanup_and_quit 'Failed to copy kernel image'
|
||||||
|
|
||||||
# Deploy CPU firmware to boot
|
# Deploy CPU firmware to boot
|
||||||
|
|
Loading…
Add table
Reference in a new issue