diff options
author | VG <vg@devys.org> | 2016-11-06 21:34:34 +0100 |
---|---|---|
committer | VG <vg@devys.org> | 2016-11-06 21:34:34 +0100 |
commit | e2dfae276755321f14e9dbb5639d3fbb7c62fef5 (patch) | |
tree | 03d20fc80d27484d1bd02347a958085a2bf5324c /rpi2-debian-stdkernel/other_boot_files/vg-copy-rpi | |
parent | cf0edd94c05a9fc0c609758016a697c24dd913a0 (diff) | |
download | debootstrap-scripts-e2dfae276755321f14e9dbb5639d3fbb7c62fef5.tar.gz debootstrap-scripts-e2dfae276755321f14e9dbb5639d3fbb7c62fef5.tar.bz2 debootstrap-scripts-e2dfae276755321f14e9dbb5639d3fbb7c62fef5.zip |
update to have a booting kernel
Diffstat (limited to 'rpi2-debian-stdkernel/other_boot_files/vg-copy-rpi')
-rwxr-xr-x | rpi2-debian-stdkernel/other_boot_files/vg-copy-rpi | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/rpi2-debian-stdkernel/other_boot_files/vg-copy-rpi b/rpi2-debian-stdkernel/other_boot_files/vg-copy-rpi deleted file mode 100755 index a8eb53e..0000000 --- a/rpi2-debian-stdkernel/other_boot_files/vg-copy-rpi +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -set -eux -rootsource=$(findmnt -fno source -T /) -firmwaresource=$(findmnt -fno source -T /boot/firmware/) -if ! test x"$rootsource" = x"$firmwaresource"; then - cp --dereference /vmlinuz /boot/firmware/vmlinuz \ - || cp --dereference /vmlinuz.old /boot/firmware/vmlinuz - cp --dereference /initrd.img /boot/firmware/initrd.img \ - || cp --dereference /initrd.img.old /boot/firmware/initrd.img - ls -lah /vmlinuz /initrd.img > /boot/firmware/versions.txt \ - || ls -lah /vmlinuz.old /initrd.img.old > /boot/firmware/versions.txt -fi -exit 0 |