mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-08 17:34:21 +00:00
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
e0e0f1f7ee
commit
dceca557c3
@ -7,9 +7,10 @@ firewall --enabled --service=mdns,ssh
|
|||||||
# configure extlinux bootloader
|
# configure extlinux bootloader
|
||||||
bootloader extlinux
|
bootloader extlinux
|
||||||
|
|
||||||
part /boot --size=512 --fstype ext3
|
part /boot/fw --size=30 --fstype vfat --asprimary
|
||||||
part swap --size=512 --fstype swap
|
part /boot --size=512 --fstype ext3 --asprimary
|
||||||
part / --size=3584 --fstype ext4
|
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
|
# make sure that initial-setup runs and lets us do all the configuration bits
|
||||||
firstboot --reconfig
|
firstboot --reconfig
|
||||||
@ -31,6 +32,7 @@ dracut-config-generic
|
|||||||
rng-tools
|
rng-tools
|
||||||
chrony
|
chrony
|
||||||
extlinux-bootloader
|
extlinux-bootloader
|
||||||
|
bcm283x-firmware
|
||||||
initial-setup
|
initial-setup
|
||||||
initial-setup-gui
|
initial-setup-gui
|
||||||
#lets resize / on first boot
|
#lets resize / on first boot
|
||||||
@ -53,6 +55,12 @@ libcrypt-nss
|
|||||||
|
|
||||||
%post
|
%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
|
# work around for poor key import UI in PackageKit
|
||||||
rm -f /var/lib/rpm/__db*
|
rm -f /var/lib/rpm/__db*
|
||||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||||
|
Loading…
Reference in New Issue
Block a user