fixing missing dtbs
This commit is contained in:
parent
f8f79ca42d
commit
7e17557dff
|
@ -153,7 +153,6 @@ cat $MNT_DIR/root/.ssh/id_rsa.pub
|
||||||
|
|
||||||
mkdir -p $INITRD_DIR/bin
|
mkdir -p $INITRD_DIR/bin
|
||||||
cp $MNT_DIR/bin/busybox $INITRD_DIR/bin/busybox
|
cp $MNT_DIR/bin/busybox $INITRD_DIR/bin/busybox
|
||||||
chmod +x $INITRD_DIR/bin/busybox
|
|
||||||
|
|
||||||
cat <<-"EOF" >$INITRD_DIR/init
|
cat <<-"EOF" >$INITRD_DIR/init
|
||||||
#!/bin/busybox sh
|
#!/bin/busybox sh
|
||||||
|
@ -204,6 +203,7 @@ tar -cJf $INITRD_DIR/rootfs.tar.xz -C $MNT_DIR .
|
||||||
|
|
||||||
rm $MNT_DIR/boot/initrd.img-*
|
rm $MNT_DIR/boot/initrd.img-*
|
||||||
mv $MNT_DIR/boot/vmlinuz-* $RESULT_DIR/
|
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
|
ln -s $RESULT_DIR/vmlinuz-* $RESULT_DIR/vmlinuz
|
||||||
|
|
||||||
cd $INITRD_DIR
|
cd $INITRD_DIR
|
||||||
|
|
Loading…
Reference in New Issue