Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # We're passed the version of the kernel being installed
- inst_kern=$1
- BOOT_DIR="/media/boot"
- MULTIBOOT_DIR="${BOOT_DIR}"/multiboot
- mv "${MULTIBOOT_DIR}"/uInitrd.linux "${MULTIBOOT_DIR}"/uInitrd.linux.bak
- mv "${MULTIBOOT_DIR}"/Image.linux "${MULTIBOOT_DIR}"/Image.linux.bak
- mv "${MULTIBOOT_DIR}"/meson64_odroidc2.dtb.linux "${MULTIBOOT_DIR}"/meson64_odroidc2.dtb.linux.bak
- cp "${BOOT_DIR}"/uInitrd "${MULTIBOOT_DIR}"/uInitrd.linux
- cp "${BOOT_DIR}"/Image "${MULTIBOOT_DIR}"/Image.linux
- cp "${BOOT_DIR}"/meson64_odroidc2.dtb "${MULTIBOOT_DIR}"/meson64_odroidc2.dtb.linux
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement