|
|
@ -305,6 +305,7 @@ install_grub() {
|
|
|
|
echo "Reducing initramfs size for ${SUBARCH} board"
|
|
|
|
echo "Reducing initramfs size for ${SUBARCH} board"
|
|
|
|
mkdir -p mountpoint/etc/initramfs-tools/conf.d/
|
|
|
|
mkdir -p mountpoint/etc/initramfs-tools/conf.d/
|
|
|
|
cp ${my_d}/riscv64/initramfs-tools/modules_list.conf mountpoint/etc/initramfs-tools/conf.d/
|
|
|
|
cp ${my_d}/riscv64/initramfs-tools/modules_list.conf mountpoint/etc/initramfs-tools/conf.d/
|
|
|
|
|
|
|
|
cat ${my_d}/riscv64/initramfs-tools/allwinner >> mountpoint/etc/initramfs-tools/modules
|
|
|
|
chroot mountpoint update-initramfs -c -v -k all
|
|
|
|
chroot mountpoint update-initramfs -c -v -k all
|
|
|
|
echo "Installing U-Boot for ${SUBARCH} board"
|
|
|
|
echo "Installing U-Boot for ${SUBARCH} board"
|
|
|
|
# flash-kernel is needed to install the dtb for update-grub: it uses the
|
|
|
|
# flash-kernel is needed to install the dtb for update-grub: it uses the
|
|
|
|