start to create pi configs
This commit is contained in:
parent
7adcb5abf0
commit
ee04565c90
4 changed files with 87 additions and 0 deletions
26
configs/rocky-rpi.xml
Normal file
26
configs/rocky-rpi.xml
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<image schemaversion="7.4" name="Rocky">
|
||||
<description type="system">
|
||||
<author>Release Engineering (SIG/Core)</author>
|
||||
<contact>releng@rockylinux.org</contact>
|
||||
<specification>Rocky Linux</specification>
|
||||
</description>
|
||||
<preferences>
|
||||
<version>9</version>
|
||||
<packagemanager>dnf</packagemanager>
|
||||
<locale>en_US</locale>
|
||||
<keytable>us</keytable>
|
||||
<timezone>UTC</timezone>
|
||||
<release-version>9</release-version>
|
||||
</preferences>
|
||||
<include from="this://./repositories/core.xml"/>
|
||||
<include from="this://./repositories/altarch-common.xml"/>
|
||||
<include from="this://./components/boot.xml"/>
|
||||
<include from="this://./components/users.xml"/>
|
||||
<include from="this://./sbc/pi.xml"/>
|
||||
<packages type="bootstrap">
|
||||
<package name="basesystem"/>
|
||||
<package name="filesystem"/>
|
||||
</packages>
|
||||
</image>
|
1
repositories/altarch-common.xml
Symbolic link
1
repositories/altarch-common.xml
Symbolic link
|
@ -0,0 +1 @@
|
|||
altarch-common-default.xml
|
11
sbc/editbootinstall_rpi.sh
Normal file
11
sbc/editbootinstall_rpi.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
# Modify this script to handle disk changes as needed.
|
||||
# This means the relevant parts of %post can be brought over and adapted.
|
||||
# example portions are commented out.
|
||||
|
||||
set -x
|
||||
|
||||
#diskname="$1"
|
||||
#devname="$2"
|
||||
#loopname="${devname%*p2}"
|
||||
#loopdev=/dev/${loopname#/dev/mapper/*}
|
49
sbc/pi.xml
Normal file
49
sbc/pi.xml
Normal file
|
@ -0,0 +1,49 @@
|
|||
<image>
|
||||
<profiles>
|
||||
<profile name="Core-Pi" description="Pi Base Packages">
|
||||
<requires profile="Core-Boot"/>
|
||||
</profile>
|
||||
<profile name="SBC-RaspberryPi" description="Raspberry Pi Image">
|
||||
<requires profile="Core-Pi"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<!-- Generic -->
|
||||
<preferences profiles="SBC-RaspberryPi" arch="aarch64">
|
||||
<type image="oem" format="raw"
|
||||
filesystem="ext4"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="100" firmware="efi"
|
||||
kernelcmdline="console=ttyAMA0,115200 console=tty1 root=FILL rootfstype=ext4 elevator=deadline rootwait"
|
||||
devicepersistency="by-uuid"
|
||||
editbootinstall="editbootinstall_rpi.sh"
|
||||
rootfs_label="RPIROOT">
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
<oem-skip-verify>true</oem-skip-verify>
|
||||
<oem-swap>true</oem-swap>
|
||||
<oem-swapsize>512</oem-swapsize>
|
||||
</oemconfig>
|
||||
<bootloader name="grub2" console="serial"/>
|
||||
<size unit="G">10</size>
|
||||
</type>
|
||||
</preferences>
|
||||
<packages type="image" patternType="plusRecommended" profiles="Core-Pi">
|
||||
<namedCollection name="core"/>
|
||||
<package name="rocky-release"/>
|
||||
<package name="rocky-release-altarch"/>
|
||||
<package name="bash-completion"/>
|
||||
<package name="chrony"/>
|
||||
<package name="cloud-utils-growpart"/>
|
||||
<package name="kernel-tools"/>
|
||||
<package name="langpacks-en"/>
|
||||
<package name="glibc-all-langpacks"/>
|
||||
<package name="net-tools"/>
|
||||
<package name="nano"/>
|
||||
<package name="NetworkManager-wifi"/>
|
||||
<package name="vim"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="SBC-RaspberryPi">
|
||||
<package name="rocky-release-rpi"/>
|
||||
<package name="raspberrypi2-firmware"/>
|
||||
<package name="raspberrypi2-kernel4"/>
|
||||
</packages>
|
||||
</image>
|
Loading…
Reference in a new issue