You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

00-run.sh 518 B

1234567891011121314151617
  1. #!/bin/bash -e
  2. mkdir -p "${ROOTFS_DIR}/boot/firmware"
  3. if ! [ -L "${ROOTFS_DIR}/boot/overlays" ]; then
  4. ln -s firmware/overlays "${ROOTFS_DIR}/boot/overlays"
  5. fi
  6. install -m 644 files/cmdline.txt "${ROOTFS_DIR}/boot/firmware/"
  7. if ! [ -L "${ROOTFS_DIR}/boot/cmdline.txt" ]; then
  8. ln -s firmware/cmdline.txt "${ROOTFS_DIR}/boot/cmdline.txt"
  9. fi
  10. install -m 644 files/config.txt "${ROOTFS_DIR}/boot/firmware/"
  11. if ! [ -L "${ROOTFS_DIR}/boot/config.txt" ]; then
  12. ln -s firmware/config.txt "${ROOTFS_DIR}/boot/config.txt"
  13. fi