Copy kernel image to boot partition

This commit is contained in:
Dylan Van Assche 2019-10-15 21:43:39 +02:00
parent e830122995
commit 16d5a840dd
No known key found for this signature in database
GPG Key ID: EB0030A875E07AD0
1 changed files with 3 additions and 1 deletions

View File

@ -72,7 +72,9 @@ sync
# Copying kernel to boot partition
echo -e "\e[1mCopying kernel to boot partition...\e[0m"
cp "$MOUNT_DATA/boot/*" "$MOUNT_BOOT"
mkdir "$MOUNT_BOOT"
sudo mount "${DEVICE_NODE}1" "$MOUNT_BOOT" # Mount boot partition
sudo cp $MOUNT_DATA/boot/* $MOUNT_BOOT
sync
# Clean up files