Skip to content

Commit 77e230d

Browse files
committed
save install script
1 parent b98d04f commit 77e230d

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

test/install.tegra.artifacts.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
set -e
3+
RELEASE=$(ls lib/modules)
4+
cp -R lib/modules/* /lib/modules
5+
[[ -f /boot/Image ]] && rm /boot/Image
6+
[[ -f /boot/initrd.img ]] && rm /boot/initrd.img
7+
cp boot/Image /boot/Image-$RELEASE
8+
ln -s /boot/Image-$RELEASE /boot/Image
9+
update-initramfs -uk $RELEASE
10+
ln -s /boot/initrd.img-$RELEASE /boot/initrd.img
11+
cp boot/*.dtbo /boot/
12+

0 commit comments

Comments
 (0)