forked from srbala/fedora-kickstarts
Initial support for Raspberry Pi. We continue to support existing ARM
images without any change to the process (except they have a small 30Mb partition at the begining of the image) but all exisiting documented processe work for image writing. The RPi is auto configured and a pure dd to the card, plug and boot.
This commit is contained in:
parent
890829fdbb
commit
b2f97b7d22
@ -7,9 +7,10 @@ firewall --enabled --service=mdns,ssh
|
||||
# configure extlinux bootloader
|
||||
bootloader extlinux
|
||||
|
||||
part /boot --size=512 --fstype ext3
|
||||
part swap --size=512 --fstype swap
|
||||
part / --size=3584 --fstype ext4
|
||||
part /boot/fw --size=30 --fstype vfat --asprimary
|
||||
part /boot --size=512 --fstype ext3 --asprimary
|
||||
part swap --size=512 --fstype swap --asprimary
|
||||
part / --size=3584 --fstype ext4 --asprimary
|
||||
|
||||
# make sure that initial-setup runs and lets us do all the configuration bits
|
||||
firstboot --reconfig
|
||||
@ -31,6 +32,7 @@ dracut-config-generic
|
||||
rng-tools
|
||||
chrony
|
||||
extlinux-bootloader
|
||||
bcm283x-firmware
|
||||
initial-setup
|
||||
initial-setup-gui
|
||||
#lets resize / on first boot
|
||||
@ -53,6 +55,12 @@ libcrypt-nss
|
||||
|
||||
%post
|
||||
|
||||
# Setup Raspberry Pi firmware
|
||||
cp -Pr /usr/share/bcm283x-firmware/* /boot/fw/
|
||||
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/fw/rpi2-u-boot.bin
|
||||
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/fw/rpi3-u-boot.bin
|
||||
sed -i '/vfat/ d' /etc/fstab
|
||||
|
||||
# work around for poor key import UI in PackageKit
|
||||
rm -f /var/lib/rpm/__db*
|
||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||
|
Loading…
Reference in New Issue
Block a user