Try without the custom beaglebone kernel

This commit is contained in:
Bob Mottram 2017-06-01 10:47:16 +01:00
parent 21b375617d
commit 03b065c71d
1 changed files with 10 additions and 10 deletions

View File

@ -130,16 +130,16 @@ beaglebone_repack_kernel() {
# optionally use a separately compiled kernel
bbb_dtb_file=/usr/lib/$kernelVersion/${bbb_dtb}.dtb
if [ -f /boot/bbb.tar.gz ]; then
cd /boot
tar -xzvf /boot/bbb.tar.gz
if [ -f /boot/bbb/dtbs/${bbb_dtb}.dtb ]; then
if [ -f /boot/bbb/zImage ]; then
bbb_dtb_file=/boot/bbb/dtbs/${bbb_dtb}.dtb
vmlinuz=/boot/bbb/zImage
fi
fi
fi
#if [ -f /boot/bbb.tar.gz ]; then
# cd /boot
# tar -xzvf /boot/bbb.tar.gz
# if [ -f /boot/bbb/dtbs/${bbb_dtb}.dtb ]; then
# if [ -f /boot/bbb/zImage ]; then
# bbb_dtb_file=/boot/bbb/dtbs/${bbb_dtb}.dtb
# vmlinuz=/boot/bbb/zImage
# fi
# fi
#fi
mkdir /tmp/initrd-repack