Remove db entry for RPi 400 (exist in upstream flash-kernel package)

This commit is contained in:
Aleksey Samoilov 2022-07-28 21:58:22 +04:00
parent 10c1809ba8
commit 07b0774339
2 changed files with 0 additions and 11 deletions

View file

@ -139,17 +139,6 @@ install -m 644 -o root -g root "${rootdir}/rpi/files/resizerootfs.service" "ubun
mkdir -p "ubuntusway-$architecture/etc/systemd/system/systemd-remount-fs.service.requires/"
ln -s /etc/systemd/system/resizerootfs.service "ubuntusway-$architecture/etc/systemd/system/systemd-remount-fs.service.requires/resizerootfs.service"
# Support for kernel updates on the Pi 400
cat << EOF >> ubuntusway-$architecture/etc/flash-kernel/db
Machine: Raspberry Pi 400 Rev 1.0
Method: pi
Kernel-Flavors: raspi raspi2
DTB-Id: bcm2711-rpi-4-b.dtb
U-Boot-Script-Name: bootscr.rpi
Required-Packages: u-boot-tools
EOF
# Create default user (WARNING! This is a temporary solution, until postinstall user setup is created)
cat <<EOF >> ubuntusway-$architecture/user
#!/bin/bash

Binary file not shown.