From 7e17557dff7fa7a23e1883d47fabf0305e9721c4 Mon Sep 17 00:00:00 2001 From: toby Date: Mon, 7 Jan 2019 20:03:46 +0000 Subject: [PATCH] fixing missing dtbs --- create_pxeinitrd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_pxeinitrd.sh b/create_pxeinitrd.sh index 220adbd..eb8354a 100755 --- a/create_pxeinitrd.sh +++ b/create_pxeinitrd.sh @@ -153,7 +153,6 @@ cat $MNT_DIR/root/.ssh/id_rsa.pub mkdir -p $INITRD_DIR/bin cp $MNT_DIR/bin/busybox $INITRD_DIR/bin/busybox -chmod +x $INITRD_DIR/bin/busybox cat <<-"EOF" >$INITRD_DIR/init #!/bin/busybox sh @@ -204,6 +203,7 @@ tar -cJf $INITRD_DIR/rootfs.tar.xz -C $MNT_DIR . rm $MNT_DIR/boot/initrd.img-* mv $MNT_DIR/boot/vmlinuz-* $RESULT_DIR/ +cp -r newroot/usr/lib/linux-image-* $RESULT_DIR/dtbs ln -s $RESULT_DIR/vmlinuz-* $RESULT_DIR/vmlinuz cd $INITRD_DIR