forked from Bitmessage/sysdeploy
fix: make image directory, cleanup
This commit is contained in:
parent
df37ee455a
commit
f41bf09a62
|
@ -42,8 +42,9 @@ function download_version()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mount_efi "$drive"
|
mount_efi "$drive"
|
||||||
mv boot-initrd "$mnt"/"$imagepath"/boot-initrd."$release_version"
|
mkdir -p "$mnt""$imagepath"
|
||||||
mv boot-kernel "$mnt"/"$imagepath"/boot-kernel."$release_version"
|
mv boot-initrd "$mnt""$imagepath"/boot-initrd."$release_version"
|
||||||
|
mv boot-kernel "$mnt""$imagepath"/boot-kernel."$release_version"
|
||||||
umount_efi
|
umount_efi
|
||||||
|
|
||||||
dev_from_partnum "$drive" "$target"
|
dev_from_partnum "$drive" "$target"
|
||||||
|
|
|
@ -15,3 +15,4 @@ get_streams
|
||||||
get_latest_maas_id
|
get_latest_maas_id
|
||||||
download_version "$release_version" "$drive"
|
download_version "$release_version" "$drive"
|
||||||
update_syslinux_menu "$drive"
|
update_syslinux_menu "$drive"
|
||||||
|
cleanup_temp
|
||||||
|
|
Loading…
Reference in New Issue
Block a user