1. 04 May, 2015 2 commits
    • Ian Campbell's avatar
    • David Lechner's avatar
      Handle case when kernel == kfile check in boot_kernel_path handler. · 3375f8eb
      David Lechner authored
      This only applies to Method: generic.
      
      Old behavior:
      
      If the db entry specifies Boot-Kernel-Path, one of Dtb-Append, Machine-Id
      or U-Boot-Kernel-Address must be specified which changes the value of $kernel.
      When checking what to do with Boot-Kernel-Path, the script checks to see if
      $kernel was changed from the original value ($kfile). If it did not change,
      it does nothing. There is a TODO comment about handling symlinks, but this
      does not make sense since this is the generic method, not the symlink method.
      
      New behavior:
      
      If $kernel was not changed, copy it to a temporary file before calling
      backup_and_install. backup_and_install moves the temporary file, effectively
      deleting it. Also applied same fix to initrd.
      
      Use case:
      
      On Raspberry Pi, the boot loader uses the vmlinux-* file directly, but it
      needs to be renamed to kernel.img, which flash-kernel should be doing.
      
      [ ijc -- fixed some typoes in commit log and added debian/changelog ]
      3375f8eb
  2. 03 May, 2015 1 commit
  3. 01 May, 2015 3 commits
  4. 30 Apr, 2015 2 commits
  5. 07 Apr, 2015 1 commit
  6. 06 Apr, 2015 3 commits
  7. 26 Mar, 2015 2 commits
  8. 24 Mar, 2015 1 commit
  9. 05 Mar, 2015 2 commits
  10. 02 Mar, 2015 1 commit
  11. 10 Feb, 2015 2 commits
  12. 08 Feb, 2015 1 commit
  13. 30 Dec, 2014 3 commits
  14. 29 Dec, 2014 5 commits
  15. 28 Dec, 2014 1 commit
  16. 22 Dec, 2014 1 commit
  17. 13 Dec, 2014 5 commits
  18. 13 Oct, 2014 1 commit
  19. 12 Oct, 2014 1 commit
  20. 11 Oct, 2014 1 commit
  21. 10 Oct, 2014 1 commit