Compare commits
96 Commits
rawhide
...
f41-riscv6
Author | SHA1 | Date | |
---|---|---|---|
660af63010 | |||
|
8fcc007ebf | ||
|
1b89edaa2b | ||
|
22cbd2d58e | ||
|
288fbcef1e | ||
|
b496bca18a | ||
|
167e732f09 | ||
|
3aa6be5399 | ||
67597e25bb | |||
|
c7024688bf | ||
|
90f4f3a820 | ||
|
b81b830770 | ||
|
d33836e560 | ||
|
9fed79138a | ||
|
a74ebe5098 | ||
|
1f35331b84 | ||
|
01b6f436c2 | ||
|
fe9f770c85 | ||
|
9aeb2773a9 | ||
|
e69c665481 | ||
|
7f04952a02 | ||
|
88b268c9f1 | ||
|
a10cb63d95 | ||
|
f8b3926a82 | ||
|
1f496fc743 | ||
|
ed9909ea20 | ||
|
9f4dd7cb88 | ||
|
bb3a746dda | ||
|
f4fe89ae90 | ||
|
649ac3e121 | ||
|
e81733710d | ||
|
4943dc58a8 | ||
|
21a2d09ca2 | ||
|
b1359b9f68 | ||
|
6816c7d501 | ||
|
c5971107d5 | ||
|
58210badb5 | ||
|
93220f3c23 | ||
|
cc9d69ca35 | ||
|
d469b72759 | ||
|
5486849837 | ||
|
244874c5e3 | ||
|
a634dbdc80 | ||
|
1457e97008 | ||
|
2efe56a38f | ||
|
2c5cf67014 | ||
|
400c842f0a | ||
|
c50ee8707d | ||
|
b5ce3af2e2 | ||
|
e5064bf42a | ||
|
6f48f41e96 | ||
|
003ec5a583 | ||
|
304fb73f74 | ||
|
03aacd1818 | ||
|
5fe8b10e98 | ||
|
067338f7db | ||
|
44a53fbca6 | ||
|
5994d4352b | ||
|
2eeafcedb6 | ||
|
2df162e797 | ||
|
9a186d41a4 | ||
|
65dbdf3ec5 | ||
|
82336ed294 | ||
|
747d490071 | ||
|
f5c0d732ac | ||
|
f9fbfc24e0 | ||
|
6c69287ea5 | ||
|
56ecbf971e | ||
|
5717cc3604 | ||
|
70edf9c301 | ||
|
3368dece03 | ||
|
6561c0307a | ||
|
4a1dfbe178 | ||
|
8af7cf6d8b | ||
|
7f81d5bf32 | ||
|
2242194e9b | ||
|
b77585ea3f | ||
|
c4d19f7f8e | ||
|
40e3039216 | ||
|
316fb431ce | ||
|
3af429672c | ||
|
c8229ee61f | ||
|
afdd23f510 | ||
|
72e7153694 | ||
|
d16b188a4d | ||
|
0f501932e7 | ||
|
dcc4f3c6f9 | ||
|
7ba0ead9bd | ||
|
818914d495 | ||
|
7ddf908a6f | ||
|
47dd0aa761 | ||
|
60ddd0e466 | ||
|
bc2caa6751 | ||
|
678ee6243c | ||
|
9e7435cee5 | ||
|
391d65ff7f |
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
outdir-build/
|
||||
outdir/
|
25
Fedora-ELN.kiwi
Normal file
25
Fedora-ELN.kiwi
Normal file
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<image schemaversion="7.4" name="Fedora-ELN">
|
||||
<description type="system">
|
||||
<author>Fedora Project Contributors</author>
|
||||
<contact>devel@lists.fedoraproject.org</contact>
|
||||
<specification>Fedora ELN</specification>
|
||||
</description>
|
||||
<preferences>
|
||||
<version>0</version>
|
||||
<packagemanager>dnf5</packagemanager>
|
||||
<locale>en_US</locale>
|
||||
<keytable>us</keytable>
|
||||
<timezone>UTC</timezone>
|
||||
<release-version>eln</release-version>
|
||||
</preferences>
|
||||
<include from="this://./components/boot-eln.xml"/>
|
||||
<include from="this://./repositories/core-eln.xml"/>
|
||||
<include from="this://./teams/eln/cloud.xml"/>
|
||||
<include from="this://./teams/eln/container.xml"/>
|
||||
<packages type="bootstrap">
|
||||
<package name="basesystem"/>
|
||||
<package name="filesystem"/>
|
||||
</packages>
|
||||
</image>
|
@ -7,14 +7,15 @@
|
||||
<specification>Fedora Linux</specification>
|
||||
</description>
|
||||
<preferences>
|
||||
<version>Rawhide</version>
|
||||
<packagemanager>dnf</packagemanager>
|
||||
<version>41</version>
|
||||
<packagemanager>dnf5</packagemanager>
|
||||
<locale>en_US</locale>
|
||||
<keytable>us</keytable>
|
||||
<timezone>UTC</timezone>
|
||||
<release-version>rawhide</release-version>
|
||||
<release-version>41</release-version>
|
||||
</preferences>
|
||||
<include from="this://./repositories/core.xml"/>
|
||||
<include from="this://./repositories/core-p550.xml"/>
|
||||
<include from="this://./components/common.xml"/>
|
||||
<include from="this://./components/boot.xml"/>
|
||||
<include from="this://./components/desktops/common.xml"/>
|
||||
<include from="this://./components/desktops/gnome.xml"/>
|
||||
@ -29,11 +30,15 @@
|
||||
<include from="this://./components/desktops/phosh.xml"/>
|
||||
<include from="this://./components/desktops/sway.xml"/>
|
||||
<include from="this://./components/desktops/budgie.xml"/>
|
||||
<include from="this://./components/desktops/miraclewm.xml"/>
|
||||
<include from="this://./components/desktops/cosmic.xml"/>
|
||||
<include from="this://./components/liveinstall.xml"/>
|
||||
<include from="this://./components/users.xml"/>
|
||||
<include from="this://./teams/base.xml"/>
|
||||
<include from="this://./teams/cloud/cloud.xml"/>
|
||||
<include from="this://./teams/cloud/container.xml"/>
|
||||
<include from="this://./teams/cloud/vagrant.xml"/>
|
||||
<include from="this://./teams/server/premier-p550.xml"/>
|
||||
<include from="this://./teams/workstation.xml"/>
|
||||
<include from="this://./teams/kde.xml"/>
|
||||
<include from="this://./teams/xfce.xml"/>
|
||||
@ -45,6 +50,11 @@
|
||||
<include from="this://./teams/soas.xml"/>
|
||||
<include from="this://./teams/sway.xml"/>
|
||||
<include from="this://./teams/budgie.xml"/>
|
||||
<include from="this://./teams/miraclewm.xml"/>
|
||||
<include from="this://./teams/cosmic.xml"/>
|
||||
<include from="this://./teams/asahi.xml"/>
|
||||
<include from="this://./teams/python.xml"/>
|
||||
<include from="this://./teams/scitech.xml"/>
|
||||
<packages type="bootstrap">
|
||||
<package name="basesystem"/>
|
||||
<package name="filesystem"/>
|
@ -1 +0,0 @@
|
||||
config.xml
|
62
Fedora.kiwi
Normal file
62
Fedora.kiwi
Normal file
@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<image schemaversion="7.4" name="Fedora">
|
||||
<description type="system">
|
||||
<author>Fedora Project Contributors</author>
|
||||
<contact>devel@lists.fedoraproject.org</contact>
|
||||
<specification>Fedora Linux</specification>
|
||||
</description>
|
||||
<preferences>
|
||||
<version>41</version>
|
||||
<packagemanager>dnf5</packagemanager>
|
||||
<locale>en_US</locale>
|
||||
<keytable>us</keytable>
|
||||
<timezone>UTC</timezone>
|
||||
<release-version>41</release-version>
|
||||
</preferences>
|
||||
<include from="this://./repositories/core.xml"/>
|
||||
<include from="this://./components/common.xml"/>
|
||||
<include from="this://./components/boot.xml"/>
|
||||
<include from="this://./components/desktops/common.xml"/>
|
||||
<include from="this://./components/desktops/gnome.xml"/>
|
||||
<include from="this://./components/desktops/kde.xml"/>
|
||||
<include from="this://./components/desktops/xfce.xml"/>
|
||||
<include from="this://./components/desktops/cinnamon.xml"/>
|
||||
<include from="this://./components/desktops/mate.xml"/>
|
||||
<include from="this://./components/desktops/i3.xml"/>
|
||||
<include from="this://./components/desktops/lxqt.xml"/>
|
||||
<include from="this://./components/desktops/lxde.xml"/>
|
||||
<include from="this://./components/desktops/soas.xml"/>
|
||||
<include from="this://./components/desktops/phosh.xml"/>
|
||||
<include from="this://./components/desktops/sway.xml"/>
|
||||
<include from="this://./components/desktops/budgie.xml"/>
|
||||
<include from="this://./components/desktops/miraclewm.xml"/>
|
||||
<include from="this://./components/desktops/cosmic.xml"/>
|
||||
<include from="this://./components/liveinstall.xml"/>
|
||||
<include from="this://./components/users.xml"/>
|
||||
<include from="this://./teams/base.xml"/>
|
||||
<include from="this://./teams/cloud/cloud.xml"/>
|
||||
<include from="this://./teams/cloud/container.xml"/>
|
||||
<include from="this://./teams/cloud/vagrant.xml"/>
|
||||
<include from="this://./teams/server/server.xml"/>
|
||||
<include from="this://./teams/workstation.xml"/>
|
||||
<include from="this://./teams/kde.xml"/>
|
||||
<include from="this://./teams/xfce.xml"/>
|
||||
<include from="this://./teams/cinnamon.xml"/>
|
||||
<include from="this://./teams/mate.xml"/>
|
||||
<include from="this://./teams/i3.xml"/>
|
||||
<include from="this://./teams/lxqt.xml"/>
|
||||
<include from="this://./teams/lxde.xml"/>
|
||||
<include from="this://./teams/soas.xml"/>
|
||||
<include from="this://./teams/sway.xml"/>
|
||||
<include from="this://./teams/budgie.xml"/>
|
||||
<include from="this://./teams/miraclewm.xml"/>
|
||||
<include from="this://./teams/cosmic.xml"/>
|
||||
<include from="this://./teams/asahi.xml"/>
|
||||
<include from="this://./teams/python.xml"/>
|
||||
<include from="this://./teams/scitech.xml"/>
|
||||
<packages type="bootstrap">
|
||||
<package name="basesystem"/>
|
||||
<package name="filesystem"/>
|
||||
</packages>
|
||||
</image>
|
@ -2,13 +2,13 @@
|
||||
|
||||
This project is used to manage the Fedora KIWI image descriptions used in composing Fedora release images.
|
||||
|
||||
The `rawhide` branch is used for Fedora Rawhide images and each release branch is used by that release.
|
||||
The `41` branch is used for Fedora 41 images.
|
||||
|
||||
All changes should be made via the PR workflow.
|
||||
|
||||
## Image variants
|
||||
|
||||
Please look at [`VARIANTS`](/VARIANTS.md) for details on the available
|
||||
Please look at [`VARIANTS`](VARIANTS.md) for details on the available
|
||||
configurations that can be built.
|
||||
|
||||
## Image build quickstart
|
||||
@ -19,7 +19,7 @@ Set up your development environment and run the image build (substitute `<image_
|
||||
# Install kiwi
|
||||
[]$ sudo dnf --assumeyes install kiwi
|
||||
# Run the image build
|
||||
[]$ sudo ./kiwi-build --image-type=<image_type> --image-profile=<image_profile> --output-dir ./outdir
|
||||
[]$ sudo ./kiwi-build --kiwi-file=Fedora.kiwi --image-type=<image_type> --image-profile=<image_profile> --output-dir ./outdir
|
||||
```
|
||||
|
||||
## CI information
|
||||
|
27
VARIANTS.md
27
VARIANTS.md
@ -1,9 +1,24 @@
|
||||
## Image variants
|
||||
|
||||
* Base Cloud Edition for clouds (image type: `oem`, image profiles: `Cloud-Base-Generic`/`Cloud-Base-AmazonEC2`/`Cloud-Base-Azure`/`Cloud-Base-GCE`)
|
||||
* Base Cloud Edition for Vagrant (image type: `oem`, image profiles: `Cloud-Base-Vagrant-libvirt`/`Cloud-Base-Vagrant-VirtualBox`)
|
||||
* Base Container (image type: `oci`, image profiles `Container-Base-Generic-Minimal`/`Container-Base-Generic`)
|
||||
* Toolbox Container (image type: `oci`, image profiles `Container-Toolbox`)
|
||||
* KDE Spin (image type: `iso`, image profiles: `KDE-Live`)
|
||||
* Workstation Edition (image type: `iso`, image profiles: `Workstation-Live`)
|
||||
### For the `Fedora.kiwi` kiwi file
|
||||
|
||||
| Name | Image type | Image profiles |
|
||||
|--------------------------------|------------|----------------------------------|
|
||||
| Base Cloud Edition for clouds | `oem` | `Cloud-Base-Generic` |
|
||||
| | | `Cloud-Base-AmazonEC2` |
|
||||
| | | `Cloud-Base-Azure` |
|
||||
| | | `Cloud-Base-GCE` |
|
||||
| Base Cloud Edition for Vagrant | `oem` | `Cloud-Base-Vagrant-libvirt` |
|
||||
| | | `Cloud-Base-Vagrant-VirtualBox` |
|
||||
| Server Edition as a VM guest | `oem` | `Server-Guest-Generic` |
|
||||
| Server Edition as a hypervisor | `oem` | `Server-Host-Generic` |
|
||||
| Base Container | `oci` | `Container-Base-Generic-Init` |
|
||||
| | | `Container-Base-Generic-Minimal` |
|
||||
| | | `Container-Base-Generic` |
|
||||
| Toolbox Container | `oci` | `Container-Toolbox` |
|
||||
| RootFS for FEX | `erofs` | `FEX-RootFS` |
|
||||
| KDE Spin | `iso` | `KDE-Desktop-Live` |
|
||||
| | `oem` | `KDE-Desktop-Disk` |
|
||||
| KDE Mobile Spin | `iso` | `KDE-Mobile-Live` |
|
||||
| | `oem` | `KDE-Mobile-Disk` |
|
||||
| Workstation Edition | `iso` | `Workstation-Live` |
|
||||
|
85
components/boot-eln.xml
Normal file
85
components/boot-eln.xml
Normal file
@ -0,0 +1,85 @@
|
||||
<image>
|
||||
<profiles>
|
||||
<profile name="BootCore" description="Boot core packages"/>
|
||||
<profile name="BootCoreUKI" description="Boot core packages for UKI"/>
|
||||
<profile name="BootDiskCore" description="Boot disk core configuration">
|
||||
<requires profile="BootCore"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<preferences profiles="BootDiskCore" arch="x86_64,aarch64">
|
||||
<type image="oem"
|
||||
filesystem="xfs"
|
||||
kernelcmdline="rhgb quiet" devicepersistency="by-uuid" target_blocksize="4096"
|
||||
bootpartition="true" bootpartsize="1024" bootfilesystem="xfs" efipartsize="500" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" console="console" timeout="1" timeout_style="hidden"/>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="BootDiskCore" arch="ppc64le">
|
||||
<type image="oem"
|
||||
filesystem="xfs"
|
||||
kernelcmdline="rhgb quiet" devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" firmware="ofw"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" console="console" timeout="1" timeout_style="hidden"/>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="BootDiskCore" arch="s390x">
|
||||
<type image="oem"
|
||||
filesystem="xfs"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="zipl" timeout="1"/>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="BootCore,BootCoreUKI">
|
||||
<package name="grubby"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="BootCore">
|
||||
<package name="grub2-efi-aa64" arch="aarch64"/>
|
||||
<package name="grub2-efi-aa64-modules" arch="aarch64"/>
|
||||
<package name="grub2-efi-x64" arch="x86_64"/>
|
||||
<package name="grub2-efi-x64-modules" arch="x86_64"/>
|
||||
<package name="grub2-pc" arch="x86_64"/>
|
||||
<package name="grub2-pc-modules" arch="x86_64"/>
|
||||
<package name="grub2-ppc64le" arch="ppc64le"/>
|
||||
<package name="s390utils-base" arch="s390x"/>
|
||||
<package name="shim-signed-aa64" arch="aarch64"/>
|
||||
<package name="shim-signed-x64" arch="x86_64"/>
|
||||
<package name="kernel-core"/>
|
||||
<package name="systemd-resolved"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="BootCoreUKI">
|
||||
<package name="shim-signed-aa64" arch="aarch64"/>
|
||||
<package name="shim-signed-x64" arch="x86_64"/>
|
||||
<package name="systemd-oomd-defaults"/>
|
||||
<package name="systemd-resolved"/>
|
||||
<package name="kernel-uki-virt"/>
|
||||
<package name="python3-virt-firmware"/>
|
||||
<package name="uki-direct"/>
|
||||
</packages>
|
||||
<packages type="iso" patternType="plusRecommended" profiles="BootCore">
|
||||
<package name="grub2-efi-aa64-cdboot" arch="aarch64"/>
|
||||
<package name="grub2-efi-x64-cdboot" arch="x86_64"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="BootDiskCore">
|
||||
<package name="glibc-all-langpacks"/>
|
||||
<package name="kernel"/>
|
||||
<package name="kernel-modules"/>
|
||||
<package name="kernel-modules-extra"/>
|
||||
</packages>
|
||||
</image>
|
@ -2,13 +2,92 @@
|
||||
<profiles>
|
||||
<profile name="BootCore" description="Boot core packages"/>
|
||||
<profile name="BootCoreUKI" description="Boot core packages for UKI"/>
|
||||
<profile name="BootDiskCore" description="Boot disk core configuration">
|
||||
<requires profile="BaseCommon"/>
|
||||
<requires profile="BootCore"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<preferences profiles="BootDiskCore" arch="x86_64,riscv64">
|
||||
<type image="oem"
|
||||
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="x-systemd.growfs,compress=zstd:1"
|
||||
kernelcmdline="rhgb quiet" devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1024" bootfilesystem="ext4" efipartsize="500" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" console="console" timeout="1" timeout_style="hidden"/>
|
||||
<systemdisk name="fedora">
|
||||
<volume name="@root=root"/>
|
||||
<volume name="home" parent="/"/>
|
||||
<volume name="var" parent="/"/>
|
||||
</systemdisk>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="BootDiskCore" arch="aarch64">
|
||||
<type image="oem"
|
||||
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="x-systemd.growfs,compress=zstd:1"
|
||||
kernelcmdline="rhgb quiet" devicepersistency="by-uuid" force_mbr="true"
|
||||
bootpartition="true" bootpartsize="1024" bootfilesystem="ext4" efipartsize="500" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" console="console" timeout="1" timeout_style="hidden"/>
|
||||
<systemdisk name="fedora">
|
||||
<volume name="@root=root"/>
|
||||
<volume name="home" parent="/"/>
|
||||
<volume name="var" parent="/"/>
|
||||
</systemdisk>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="BootDiskCore" arch="ppc64le">
|
||||
<type image="oem"
|
||||
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="x-systemd.growfs,compress=zstd:1"
|
||||
kernelcmdline="rhgb quiet" devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" firmware="ofw"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" console="console" timeout="1" timeout_style="hidden"/>
|
||||
<systemdisk>
|
||||
<volume name="@root=root"/>
|
||||
<volume name="home" parent="/"/>
|
||||
<volume name="var" parent="/"/>
|
||||
</systemdisk>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="BootDiskCore" arch="s390x">
|
||||
<type image="oem"
|
||||
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="x-systemd.growfs,compress=zstd:1"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="ext4"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="zipl" timeout="1"/>
|
||||
<systemdisk>
|
||||
<volume name="@root=root"/>
|
||||
<volume name="home" parent="/"/>
|
||||
<volume name="var" parent="/"/>
|
||||
</systemdisk>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="BootCore,BootCoreUKI">
|
||||
<package name="grubby"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="BootCore">
|
||||
<package name="grub2-efi-aa64" arch="aarch64"/>
|
||||
<package name="grub2-efi-aa64-modules" arch="aarch64"/>
|
||||
<package name="grub2-efi-riscv64" arch="riscv64"/>
|
||||
<package name="grub2-efi-riscv64-modules" arch="riscv64"/>
|
||||
<package name="grub2-efi-x64" arch="x86_64"/>
|
||||
<package name="grub2-efi-x64-modules" arch="x86_64"/>
|
||||
<package name="grub2-pc" arch="x86_64"/>
|
||||
@ -17,6 +96,7 @@
|
||||
<package name="s390utils-base" arch="s390x"/>
|
||||
<package name="shim-signed-aa64" arch="aarch64"/>
|
||||
<package name="shim-signed-x64" arch="x86_64"/>
|
||||
<package name="shim-unsigned-riscv64" arch="riscv64"/>
|
||||
<package name="kernel-core"/>
|
||||
<package name="systemd-oomd-defaults"/>
|
||||
<package name="systemd-resolved"/>
|
||||
@ -24,6 +104,7 @@
|
||||
<packages type="image" patternType="plusRecommended" profiles="BootCoreUKI">
|
||||
<package name="shim-signed-aa64" arch="aarch64"/>
|
||||
<package name="shim-signed-x64" arch="x86_64"/>
|
||||
<package name="shim-unsigned-riscv64" arch="riscv64"/>
|
||||
<package name="systemd-oomd-defaults"/>
|
||||
<package name="systemd-resolved"/>
|
||||
<package name="kernel-uki-virt"/>
|
||||
@ -32,6 +113,19 @@
|
||||
</packages>
|
||||
<packages type="iso" patternType="plusRecommended" profiles="BootCore">
|
||||
<package name="grub2-efi-aa64-cdboot" arch="aarch64"/>
|
||||
<package name="grub2-efi-riscv64-cdboot" arch="riscv64"/>
|
||||
<package name="grub2-efi-x64-cdboot" arch="x86_64"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="BootDiskCore">
|
||||
<package name="arm-image-installer" arch="aarch64"/>
|
||||
<package name="bcm283x-firmware" arch="aarch64"/>
|
||||
<package name="glibc-all-langpacks"/>
|
||||
<package name="kernel"/>
|
||||
<package name="kernel-modules"/>
|
||||
<package name="kernel-modules-extra"/>
|
||||
<package name="btrfs-progs"/>
|
||||
<package name="udisks2-btrfs"/>
|
||||
<package name="uboot-images-armv8" arch="aarch64"/>
|
||||
<package name="uboot-images-riscv64" arch="riscv64"/>
|
||||
</packages>
|
||||
</image>
|
||||
|
9
components/common.xml
Normal file
9
components/common.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<image>
|
||||
<profiles>
|
||||
<profile name="BaseCommon" description="Base common packages"/>
|
||||
</profiles>
|
||||
<packages type="image" patternType="plusRecommended" profiles="BaseCommon">
|
||||
<namedCollection name="standard"/>
|
||||
<ignore name="qemu-user-static"/> <!-- Saves ~100MB -->
|
||||
</packages>
|
||||
</image>
|
@ -1,6 +1,8 @@
|
||||
<image>
|
||||
<profiles>
|
||||
<profile name="DesktopCommon" description="Common desktop packages"/>
|
||||
<profile name="DesktopCommon" description="Common desktop packages">
|
||||
<requires profile="BaseCommon"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<packages type="image" patternType="plusRecommended" profiles="DesktopCommon">
|
||||
<namedCollection name="fonts"/>
|
||||
@ -9,7 +11,7 @@
|
||||
<namedCollection name="hardware-support"/>
|
||||
<namedCollection name="printing"/>
|
||||
<namedCollection name="guest-desktop-agents"/>
|
||||
<namedCollection name="standard"/>
|
||||
<package name="mediawriter"/>
|
||||
<ignore name="gfs2-utils"/>
|
||||
<ignore name="reiserfs-utils"/>
|
||||
</packages>
|
||||
|
11
components/desktops/cosmic.xml
Normal file
11
components/desktops/cosmic.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<image>
|
||||
<profiles>
|
||||
<profile name="COSMIC-Desktop" description="COSMIC Desktop">
|
||||
<requires profile="DesktopCommon"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<packages type="image" patternType="plusRecommended" profiles="COSMIC-Desktop">
|
||||
<!-- install env-group to resolve RhBug:1891500 -->
|
||||
<namedCollection name="cosmic-desktop-environment"/>
|
||||
</packages>
|
||||
</image>
|
@ -4,12 +4,32 @@
|
||||
<profile name="KDE-Desktop" description="KDE Plasma Desktop">
|
||||
<requires profile="DesktopCommon"/>
|
||||
</profile>
|
||||
<profile name="KDE-Mobile" description="KDE Plasma Mobile">
|
||||
<requires profile="DesktopCommon"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<!-- Common exclusions for KDE variants -->
|
||||
<packages type="image" patternType="plusRecommended" profiles="KDE-Desktop,KDE-Mobile">
|
||||
<ignore name="gnome-disk-utility"/> <!-- redundant with kde partitionmanager -->
|
||||
<ignore name="mariadb-server-utils"/> <!-- Not needed on desktops (pagure.io:fedora-kde/SIG#566) -->
|
||||
<ignore name="system-config-language"/> <!-- redundant with kcms -->
|
||||
<ignore name="system-config-printer"/> <!-- redundant with kcms -->
|
||||
<!-- drop tracker stuff pulled in by gtk3 (pagureio:fedora-kde/SIG#124) -->
|
||||
<ignore name="tracker"/>
|
||||
<ignore name="tracker-miners"/>
|
||||
<!-- space issues -->
|
||||
<ignore name="digikam"/> <!-- digikam has duplicate functionality with gwenview (~28 megs) -->
|
||||
<ignore name="k3b"/> <!-- ~15 megs -->
|
||||
<ignore name="kipi-plugins"/> <!-- ~8 megs + drags in marble -->
|
||||
<ignore name="krusader"/> <!-- ~4 megs -->
|
||||
<ignore name="ktorrent"/> <!-- ~15 megs -->
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="KDE-Desktop">
|
||||
<!-- install env-group to resolve RhBug:1891500 -->
|
||||
<namedCollection name="kde-desktop-environment"/>
|
||||
<namedCollection name="kde-apps"/>
|
||||
<namedCollection name="kde-media"/>
|
||||
<namedCollection name="kde-pim"/>
|
||||
<namedCollection name="kde-spin-initial-setup"/>
|
||||
<namedCollection name="firefox"/>
|
||||
<namedCollection name="libreoffice"/>
|
||||
@ -17,8 +37,16 @@
|
||||
<package name="libreoffice-math"/>
|
||||
<package name="fuse"/>
|
||||
<package name="kde-l10n"/>
|
||||
<ignore name="@admin-tools"/>
|
||||
<ignore name="gnome-disk-utility"/>
|
||||
<ignore name="system-config-printer"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="KDE-Mobile">
|
||||
<!-- install env-group to resolve RhBug:1891500 -->
|
||||
<namedCollection name="kde-mobile-environment"/>
|
||||
<!-- not ideal, but the best we can do for now -->
|
||||
<namedCollection name="kde-spin-initial-setup"/>
|
||||
<namedCollection name="firefox"/>
|
||||
<package name="fuse"/>
|
||||
<package name="kde-l10n"/>
|
||||
<ignore name="plasma-welcome"/>
|
||||
<ignore name="plasma-welcome-fedora"/>
|
||||
</packages>
|
||||
</image>
|
||||
|
@ -23,10 +23,14 @@
|
||||
<ignore name="adobe-source-han-sans-cn-fonts"/> <!-- Simplified Chinese: replaced by above -->
|
||||
<ignore name="adobe-source-han-sans-tw-fonts"/> <!-- Traditional Chinese: replaced by above -->
|
||||
<ignore name="pt-sans-fonts"/> <!-- Cyrillic (already supported by DejaVu) -->
|
||||
<!-- these do not currently work: https://pagure.io/fedora-kiwi-descriptions/issue/112
|
||||
<ignore name="@input-methods"/>
|
||||
<ignore name="@admin-tools"/>
|
||||
-->
|
||||
<!-- because the input-methods group exclusion doesn't work, these aren't safe
|
||||
<ignore name="scim*"/>
|
||||
<ignore name="m17n*"/>
|
||||
<ignore name="iok"/>
|
||||
-->
|
||||
</packages>
|
||||
</image>
|
||||
|
15
components/desktops/miraclewm.xml
Normal file
15
components/desktops/miraclewm.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<image>
|
||||
<profiles>
|
||||
<profile name="DesktopCommon" description="Common desktop packages"/>
|
||||
<profile name="MiracleWM-Desktop" description="MiracleWM Desktop">
|
||||
<requires profile="DesktopCommon"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<packages type="image" patternType="plusRecommended" profiles="MiracleWM-Desktop">
|
||||
<!-- install env-group to resolve RhBug:1891500 -->
|
||||
<namedCollection name="miraclewm-desktop-environment"/>
|
||||
<namedCollection name="firefox"/>
|
||||
<package name="initial-setup-gui"/>
|
||||
<package name="initial-setup-gui-wayland-miraclewm"/>
|
||||
</packages>
|
||||
</image>
|
@ -1,12 +1,44 @@
|
||||
<image>
|
||||
<profiles>
|
||||
<profile name="LiveInstall" description="Live Install ISO">
|
||||
<requires profile="BaseCommon"/>
|
||||
<requires profile="BootCore"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<preferences profiles="LiveInstall">
|
||||
<type image="iso" publisher="Fedora Project" volid="Fedora_Linux" primary="true" flags="dmsquash" firmware="uefi" kernelcmdline="quiet rhgb" mediacheck="false">
|
||||
<bootloader name="grub2" grub_template="grub.cfg.iso-template" console="console" timeout="10"/>
|
||||
<preferences profiles="LiveInstall" arch="x86_64">
|
||||
<type image="iso"
|
||||
publisher="Fedora Project" volid="Fedora_Linux" application_id="Fedora_Linux"
|
||||
primary="true" flags="dmsquash" filesystem="squashfs" squashfscompression="xz" mediacheck="true"
|
||||
firmware="uefi" efiparttable="gpt" efifatimagesize="30" kernelcmdline="quiet rhgb"
|
||||
>
|
||||
<bootloader name="grub2" grub_template="grub-x86.cfg.iso-template" console="console" timeout="10"/>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="LiveInstall" arch="aarch64">
|
||||
<type image="iso"
|
||||
publisher="Fedora Project" volid="Fedora_Linux" application_id="Fedora_Linux"
|
||||
primary="true" flags="dmsquash" filesystem="squashfs" squashfscompression="xz" mediacheck="true"
|
||||
firmware="uefi" efiparttable="gpt" efifatimagesize="30" kernelcmdline="quiet rhgb"
|
||||
>
|
||||
<bootloader name="grub2" grub_template="grub-arm.cfg.iso-template" console="console" timeout="10"/>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="LiveInstall" arch="riscv64">
|
||||
<type image="iso"
|
||||
publisher="Fedora Project" volid="Fedora_Linux" application_id="Fedora_Linux"
|
||||
primary="true" flags="dmsquash" filesystem="squashfs" squashfscompression="xz" mediacheck="true"
|
||||
firmware="uefi" efiparttable="gpt" efifatimagesize="30" kernelcmdline="quiet rhgb"
|
||||
>
|
||||
<bootloader name="grub2" grub_template="grub-riscv64.cfg.iso-template" console="console" timeout="10"/>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="LiveInstall" arch="ppc64le">
|
||||
<type image="iso"
|
||||
publisher="Fedora Project" volid="Fedora_Linux" application_id="Fedora_Linux"
|
||||
primary="true" flags="dmsquash" filesystem="squashfs" squashfscompression="xz" mediacheck="true"
|
||||
firmware="ofw" kernelcmdline="quiet rhgb"
|
||||
>
|
||||
<bootloader name="grub2" grub_template="grub-ppc.cfg.iso-template" console="console" timeout="10"/>
|
||||
</type>
|
||||
</preferences>
|
||||
<packages type="iso" patternType="plusRecommended" profiles="LiveInstall">
|
||||
@ -19,12 +51,15 @@
|
||||
<package name="aajohan-comfortaa-fonts"/>
|
||||
<package name="dracut-live"/>
|
||||
<package name="glibc-all-langpacks"/>
|
||||
<package name="isomd5sum"/>
|
||||
<package name="kernel"/>
|
||||
<package name="kernel-modules"/>
|
||||
<package name="kernel-modules-extra"/>
|
||||
<package name="livesys-scripts"/>
|
||||
<package name="btrfs-progs"/>
|
||||
<package name="udisks2-btrfs"/>
|
||||
<ignore name="device-mapper-multipath"/>
|
||||
<ignore name="fcoe-utils"/>
|
||||
<ignore name="gfs2-utils"/>
|
||||
</packages>
|
||||
</image>
|
||||
|
@ -3,4 +3,8 @@
|
||||
<!-- The password here does not matter, it will be erased in config.sh -->
|
||||
<user name="root" groups="root" password="linux" home="/root" pwdformat="plain" />
|
||||
</users>
|
||||
<users profiles="Server-Host-PremierP550">
|
||||
<!-- Same as above, but the password is retained in the installed system -->
|
||||
<user name="root" groups="root" password="linux" home="/root" pwdformat="plain" />
|
||||
</users>
|
||||
</image>
|
||||
|
160
config.sh
160
config.sh
@ -16,7 +16,7 @@ echo "Configure image: [$kiwi_iname]-[$kiwi_profiles]..."
|
||||
#======================================
|
||||
# Set SELinux booleans
|
||||
#--------------------------------------
|
||||
if [[ "$kiwi_profiles" != *"Container"* ]]; then
|
||||
if [[ "$kiwi_profiles" != *"Container"* ]] && [[ "$kiwi_profiles" != *"FEX"* ]]; then
|
||||
## Fixes KDE Plasma, see rhbz#2058657
|
||||
setsebool -P selinuxuser_execmod 1
|
||||
fi
|
||||
@ -33,7 +33,7 @@ rm -f /var/lib/systemd/random-seed
|
||||
#======================================
|
||||
# Configure grub correctly
|
||||
#--------------------------------------
|
||||
if [[ "$kiwi_profiles" != *"Container"* ]]; then
|
||||
if [[ "$kiwi_profiles" != *"Container"* ]] && [[ "$kiwi_profiles" != *"FEX"* ]]; then
|
||||
## Works around issues with grub-bls
|
||||
## See: https://github.com/OSInside/kiwi/issues/2198
|
||||
echo "GRUB_DEFAULT=saved" >> /etc/default/grub
|
||||
@ -43,12 +43,30 @@ if [[ "$kiwi_profiles" != *"Container"* ]]; then
|
||||
echo "GRUB_DISABLE_RECOVERY=true" >> /etc/default/grub
|
||||
fi
|
||||
|
||||
if [[ "$kiwi_profiles" == *"PremierP550"* ]]; then
|
||||
echo 'GRUB_DEFAULT_DTB="dtb/eswin/eic7700-hifive-premier-p550.dtb"' >> /etc/default/grub
|
||||
fi
|
||||
|
||||
#======================================
|
||||
# Resize root partition on first boot
|
||||
#--------------------------------------
|
||||
|
||||
if [[ "$kiwi_profiles" == *"Disk"* ]]; then
|
||||
mkdir -p /etc/repart.d/
|
||||
cat > /etc/repart.d/50-root.conf << EOF
|
||||
[Partition]
|
||||
Type=root
|
||||
EOF
|
||||
fi
|
||||
|
||||
#======================================
|
||||
# Delete & lock the root user password
|
||||
#--------------------------------------
|
||||
if [[ "$kiwi_profiles" == *"Cloud"* ]] || [[ "$kiwi_profiles" == *"Live"* ]]; then
|
||||
passwd -d root
|
||||
passwd -l root
|
||||
if [[ "$kiwi_profiles" == *"Cloud"* ]] || [[ "$kiwi_profiles" == *"Disk"* ]] || [[ "$kiwi_profiles" == *"Live"* ]]; then
|
||||
if [[ "$kiwi_profiles" != *"PremierP550"* ]]; then
|
||||
passwd -d root
|
||||
passwd -l root
|
||||
fi
|
||||
fi
|
||||
|
||||
#======================================
|
||||
@ -69,6 +87,9 @@ if [[ "$kiwi_profiles" == *"Live"* ]]; then
|
||||
if [[ "$kiwi_profiles" == *"Cinnamon"* ]]; then
|
||||
echo 'livesys_session="cinnamon"' > /etc/sysconfig/livesys
|
||||
fi
|
||||
if [[ "$kiwi_profiles" == *"COSMIC"* ]]; then
|
||||
echo 'livesys_session="cosmic"' > /etc/sysconfig/livesys
|
||||
fi
|
||||
if [[ "$kiwi_profiles" == *"i3"* ]]; then
|
||||
echo 'livesys_session="i3"' > /etc/sysconfig/livesys
|
||||
fi
|
||||
@ -81,6 +102,9 @@ if [[ "$kiwi_profiles" == *"Live"* ]]; then
|
||||
if [[ "$kiwi_profiles" == *"MATE_Compiz"* ]]; then
|
||||
echo 'livesys_session="mate"' > /etc/sysconfig/livesys
|
||||
fi
|
||||
if [[ "$kiwi_profiles" == *"MiracleWM"* ]]; then
|
||||
echo 'livesys_session="miraclewm"' > /etc/sysconfig/livesys
|
||||
fi
|
||||
if [[ "$kiwi_profiles" == *"Sway"* ]]; then
|
||||
echo 'livesys_session="sway"' > /etc/sysconfig/livesys
|
||||
fi
|
||||
@ -92,10 +116,23 @@ if [[ "$kiwi_profiles" == *"Live"* ]]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
#======================================
|
||||
# Setup firstboot initial setup
|
||||
#--------------------------------------
|
||||
|
||||
if [[ "$kiwi_profiles" == *"Disk"* ]]; then
|
||||
if [[ "$kiwi_profiles" != *"GNOME"* ]] && [[ "$kiwi_profiles" != *"PremierP550"* ]]; then
|
||||
## Enable initial-setup
|
||||
systemctl enable initial-setup.service
|
||||
## Enable reconfig mode
|
||||
touch /etc/reconfigSys
|
||||
fi
|
||||
fi
|
||||
|
||||
#======================================
|
||||
# Setup default target
|
||||
#--------------------------------------
|
||||
if [[ "$kiwi_profiles" != *"Container"* ]]; then
|
||||
if [[ "$kiwi_profiles" != *"Container"* ]] && [[ "$kiwi_profiles" != *"FEX"* ]]; then
|
||||
if [[ "$kiwi_profiles" == *"Desktop"* ]]; then
|
||||
systemctl set-default graphical.target
|
||||
else
|
||||
@ -107,6 +144,22 @@ fi
|
||||
# Setup default customizations
|
||||
#--------------------------------------
|
||||
|
||||
if [[ "$kiwi_profiles" == *"Disk"* ]]; then
|
||||
# Find the architecture we are on
|
||||
installarch=$(uname -m)
|
||||
# Setup Raspberry Pi firmware
|
||||
if [[ $installarch == "aarch64" ]]; then
|
||||
cp -a /usr/share/uboot/rpi_arm64/u-boot.bin /boot/efi/rpi-u-boot.bin
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ "$kiwi_profiles" == *"Server"* ]]; then
|
||||
# Trigger lvm-devices-import.path and .service to create
|
||||
# a new /etc/lvm/devices/system.devices for the root VG.
|
||||
rm -f /etc/lvm/devices/system.devices
|
||||
touch /etc/lvm/devices/auto-import-rootvg
|
||||
fi
|
||||
|
||||
if [[ "$kiwi_profiles" == *"Azure"* ]]; then
|
||||
cat > /etc/ssh/sshd_config.d/50-client-alive-interval.conf << EOF
|
||||
ClientAliveInterval 120
|
||||
@ -167,7 +220,7 @@ chmod 600 /root/.ssh/authorized_keys
|
||||
chown -R root:root /root/.ssh
|
||||
fi
|
||||
|
||||
if [[ "$kiwi_profiles" == *"Container"* ]]; then
|
||||
if [[ "$kiwi_profiles" == *"Container"* ]] || [[ "$kiwi_profiles" == *"FEX"* ]]; then
|
||||
# Set install langs macro so that new rpms that get installed will
|
||||
# only install langs that we limit it to.
|
||||
LANG="en_US"
|
||||
@ -277,4 +330,97 @@ EOF
|
||||
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
fi
|
||||
|
||||
if [[ "$kiwi_profiles" == *"FEX"* ]]; then
|
||||
# Remove most things except libraries used by FEX and wine stuff.
|
||||
# Most binaries that are present in non-x86 architectures should be removed,
|
||||
# so they do not run under emulation.
|
||||
|
||||
# rm mingw static libs and headers
|
||||
rm -rf /usr/{x86_64,i686}-w64-mingw32/sys-root/mingw/{lib,include}
|
||||
|
||||
# rm everything in libexec
|
||||
rm -rf /usr/libexec
|
||||
|
||||
# rm everything in /usr/share except wine and mesa related stuff
|
||||
find /usr/share -mindepth 1 -maxdepth 1 \
|
||||
\! -name wine -a \
|
||||
\! -name mesa-demos -a \
|
||||
\! -name drirc.d -a \
|
||||
\! -name vulkan \
|
||||
\! -name licenses \
|
||||
-exec rm -rf {} \;
|
||||
|
||||
# rm everything in /etc except /etc/alternatives and ld stuff
|
||||
find /etc -mindepth 1 -maxdepth 1 \
|
||||
\! -name alternatives -a \
|
||||
\! -name 'ld.so*' -a \
|
||||
\! -name '*.kiwi' \
|
||||
-exec rm -rf {} \;
|
||||
|
||||
# rm non-libs in lib/lib64
|
||||
rm -rf /usr/{lib,lib64}/{locale,tmpfiles.d,systemd,modprobe.d,kbd,cmake}
|
||||
rm -rf /usr/{lib,lib64}/python*
|
||||
|
||||
# lib/clc and lib64/clc are identical, replace with a symlink
|
||||
rm -rf /usr/lib/clc
|
||||
ln -s ../lib64/clc /usr/lib/clc
|
||||
|
||||
# rm sbin except for ldconfig, we don't even have root in some setups
|
||||
find /usr/sbin -mindepth 1 -maxdepth 1 \
|
||||
\! -name 'ldconfig' \
|
||||
-exec rm -rf {} \;
|
||||
|
||||
# rm misc stuff
|
||||
rm -rf /usr/{include,games,local,src,tmp}
|
||||
|
||||
# Finally, remove most binaries except Wine stuff, Mesa stuff, the shell,
|
||||
# path-related stuff, and system info tools.
|
||||
find /usr/bin -mindepth 1 -maxdepth 1 \
|
||||
\! -name 'wine*' -a \
|
||||
\! -name 'mango*' -a \
|
||||
\! -name notepad -a \
|
||||
\! -name 'msi*' -a \
|
||||
\! -name regedit -a \
|
||||
\! -name regsvr32 -a \
|
||||
\! -name 'vulkan*' -a \
|
||||
\! -name 'vk*' -a \
|
||||
\! -name clinfo -a \
|
||||
\! -name eglinfo -a \
|
||||
\! -name glxinfo -a \
|
||||
\! -name ulimit -a \
|
||||
\! -name ldd -a \
|
||||
\! -name env -a \
|
||||
\! -name sh -a \
|
||||
\! -name bash -a \
|
||||
\! -name ls -a \
|
||||
\! -name stat -a \
|
||||
\! -name dirname -a \
|
||||
\! -name realpath -a \
|
||||
\! -name readlink -a \
|
||||
\! -name basename -a \
|
||||
\! -name nproc -a \
|
||||
\! -name uname -a \
|
||||
\! -name arch -a \
|
||||
\! -name rm \
|
||||
-exec rm -rf {} \;
|
||||
|
||||
# Do this last for obvious reasons.
|
||||
rm /usr/bin/rm
|
||||
fi
|
||||
|
||||
# Find the architecture we are on
|
||||
installarch=$(uname -m)
|
||||
|
||||
# Do custom Fedora/RISCV changes
|
||||
if [[ $installarch == "riscv64" ]]; then
|
||||
if [[ "$kiwi_profiles" == *"Disk"* ]]; then
|
||||
# Disable tmpfs for /tmp
|
||||
# Most boards don't have a lot of RAM.
|
||||
systemctl mask tmp.mount
|
||||
|
||||
# We most likely don't have HW random number generator
|
||||
systemctl enable haveged.service
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
15
fex-excludes.yaml
Normal file
15
fex-excludes.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
exclude:
|
||||
- /afs
|
||||
- /boot
|
||||
- /dev
|
||||
- /home
|
||||
- /media
|
||||
- /mnt
|
||||
- /opt
|
||||
- /proc
|
||||
- /root
|
||||
- /run
|
||||
- /srv
|
||||
- /sys
|
||||
- /tmp
|
||||
- /var
|
41
grub-arm.cfg.iso-template
Normal file
41
grub-arm.cfg.iso-template
Normal file
@ -0,0 +1,41 @@
|
||||
# Inspired by the config used for lorax-built live media
|
||||
|
||||
set default="1"
|
||||
|
||||
function load_video {
|
||||
insmod efi_gop
|
||||
insmod efi_uga
|
||||
insmod video_bochs
|
||||
insmod video_cirrus
|
||||
insmod all_video
|
||||
}
|
||||
set basicgfx="nomodeset"
|
||||
|
||||
load_video
|
||||
set gfxpayload=keep
|
||||
insmod gzio
|
||||
insmod part_gpt
|
||||
insmod ext2
|
||||
|
||||
terminal_input console
|
||||
terminal_output ${terminal_output}
|
||||
|
||||
set timeout=${boot_timeout}
|
||||
set timeout_style=${boot_timeout_style}
|
||||
|
||||
search ${search_params}
|
||||
|
||||
menuentry "Start ${title}" --class fedora --class gnu-linux --class gnu --class os {
|
||||
linux ($$root)${bootpath}/${kernel_file} ${boot_options}
|
||||
initrd ($$root)${bootpath}/${initrd_file}
|
||||
}
|
||||
menuentry "Test this media & start ${title}" --class fedora --class gnu-linux --class gnu --class os {
|
||||
linux ($$root)${bootpath}/${kernel_file} ${boot_options} rd.live.check
|
||||
initrd ($$root)${bootpath}/${initrd_file}
|
||||
}
|
||||
submenu "Troubleshooting -->" {
|
||||
menuentry "Start ${title} in basic graphics mode" --class fedora --class gnu-linux --class gnu --class os {
|
||||
linux ($$root)${bootpath}/${kernel_file} ${boot_options} $${basicgfx}
|
||||
initrd ($$root)${bootpath}/${initrd_file}
|
||||
}
|
||||
}
|
30
grub-ppc.cfg.iso-template
Normal file
30
grub-ppc.cfg.iso-template
Normal file
@ -0,0 +1,30 @@
|
||||
# Inspired by the config used for lorax-built live media
|
||||
|
||||
set default="1"
|
||||
|
||||
insmod gzio
|
||||
insmod part_gpt
|
||||
insmod ext2
|
||||
|
||||
terminal_input console
|
||||
terminal_output ${terminal_output}
|
||||
|
||||
set timeout=${boot_timeout}
|
||||
set timeout_style=${boot_timeout_style}
|
||||
|
||||
search ${search_params}
|
||||
|
||||
menuentry "Start ${title}" --class fedora --class gnu-linux --class gnu --class os {
|
||||
linux ($$root)${bootpath}/${kernel_file} ${boot_options}
|
||||
initrd ($$root)${bootpath}/${initrd_file}
|
||||
}
|
||||
menuentry "Test this media & start ${title}" --class fedora --class gnu-linux --class gnu --class os {
|
||||
linux ($$root)${bootpath}/${kernel_file} ${boot_options} rd.live.check
|
||||
initrd ($$root)${bootpath}/${initrd_file}
|
||||
}
|
||||
submenu "Troubleshooting -->" {
|
||||
menuentry "Start ${title} in basic graphics mode" --class fedora --class gnu-linux --class gnu --class os {
|
||||
linux ($$root)${bootpath}/${kernel_file} ${boot_options} $${basicgfx}
|
||||
initrd ($$root)${bootpath}/${initrd_file}
|
||||
}
|
||||
}
|
41
grub-riscv64.cfg.iso-template
Normal file
41
grub-riscv64.cfg.iso-template
Normal file
@ -0,0 +1,41 @@
|
||||
# Inspired by the config used for lorax-built live media
|
||||
|
||||
set default="1"
|
||||
|
||||
function load_video {
|
||||
insmod efi_gop
|
||||
insmod efi_uga
|
||||
insmod video_bochs
|
||||
insmod video_cirrus
|
||||
insmod all_video
|
||||
}
|
||||
set basicgfx="nomodeset"
|
||||
|
||||
load_video
|
||||
set gfxpayload=keep
|
||||
insmod gzio
|
||||
insmod part_gpt
|
||||
insmod ext2
|
||||
|
||||
terminal_input console
|
||||
terminal_output ${terminal_output}
|
||||
|
||||
set timeout=${boot_timeout}
|
||||
set timeout_style=${boot_timeout_style}
|
||||
|
||||
search ${search_params}
|
||||
|
||||
menuentry "Start ${title}" --class fedora --class gnu-linux --class gnu --class os {
|
||||
linux ($$root)${bootpath}/${kernel_file} ${boot_options}
|
||||
initrd ($$root)${bootpath}/${initrd_file}
|
||||
}
|
||||
menuentry "Test this media & start ${title}" --class fedora --class gnu-linux --class gnu --class os {
|
||||
linux ($$root)${bootpath}/${kernel_file} ${boot_options} rd.live.check
|
||||
initrd ($$root)${bootpath}/${initrd_file}
|
||||
}
|
||||
submenu "Troubleshooting -->" {
|
||||
menuentry "Start ${title} in basic graphics mode" --class fedora --class gnu-linux --class gnu --class os {
|
||||
linux ($$root)${bootpath}/${kernel_file} ${boot_options} $${basicgfx}
|
||||
initrd ($$root)${bootpath}/${initrd_file}
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Inspired by the config used for lorax-built live media
|
||||
|
||||
set default=${default_boot}
|
||||
set default="1"
|
||||
|
||||
if [ "$$grub_platform" == "efi" ]; then
|
||||
function load_video {
|
||||
@ -25,7 +25,7 @@ insmod part_gpt
|
||||
insmod ext2
|
||||
|
||||
terminal_input console
|
||||
terminal_output ${terminal_setup}
|
||||
terminal_output ${terminal_output}
|
||||
|
||||
set timeout=${boot_timeout}
|
||||
set timeout_style=${boot_timeout_style}
|
||||
@ -36,6 +36,10 @@ menuentry "Start ${title}" --class fedora --class gnu-linux --class gnu --class
|
||||
linux ($$root)${bootpath}/${kernel_file} ${boot_options}
|
||||
initrd ($$root)${bootpath}/${initrd_file}
|
||||
}
|
||||
menuentry "Test this media & start ${title}" --class fedora --class gnu-linux --class gnu --class os {
|
||||
linux ($$root)${bootpath}/${kernel_file} ${boot_options} rd.live.check
|
||||
initrd ($$root)${bootpath}/${initrd_file}
|
||||
}
|
||||
submenu "Troubleshooting -->" {
|
||||
menuentry "Start ${title} in basic graphics mode" --class fedora --class gnu-linux --class gnu --class os {
|
||||
linux ($$root)${bootpath}/${kernel_file} ${boot_options} $${basicgfx}
|
48
kiwi-build
48
kiwi-build
@ -6,42 +6,65 @@
|
||||
set -eu -o pipefail
|
||||
|
||||
kiwibuildsh="$(basename "$0")"
|
||||
kiwibuild_scriptdir="$(dirname "$0")"
|
||||
|
||||
usage() {
|
||||
echo >&2 "usage: $kiwibuildsh [--kiwi-description-dir=DIR] --output-dir=DIR --image-type=TYPE --image-profile=PROFILE [--debug]"
|
||||
echo >&2 " eg: $kiwibuildsh --kiwi-description-dir=/var/tmp/desc --output-dir=/var/tmp/work --image-type=oem --image-profile=cloud --debug"
|
||||
echo >&2 " eg: $kiwibuildsh --output-dir=/var/tmp/work --image-type=oem --image-profile=cloud"
|
||||
echo >&2 "usage: $kiwibuildsh [--kiwi-description-dir=DIR] [--kiwi-file=FILE] [--isolated] --output-dir=DIR --image-type=TYPE --image-profile=PROFILE [--image-release=RELEASEID] [--debug]"
|
||||
echo >&2 " eg: $kiwibuildsh --kiwi-description-dir=/var/tmp/desc --kiwi-file=config.kiwi --output-dir=/var/tmp/work --image-type=oem --image-profile=Cloud-Base-Generic --image-release=0 --debug"
|
||||
echo >&2 " eg: $kiwibuildsh --output-dir=/var/tmp/work --image-type=oem --image-profile=Cloud-Base-Generic"
|
||||
echo >&2 " eg: $kiwibuildsh --isolated --output-dir=/var/tmp/work --image-type=oem --image-profile=Cloud-Base-Generic"
|
||||
exit 255
|
||||
}
|
||||
|
||||
optTemp=$(getopt --options '+k:,o:,t:,p:,d,h' --longoptions 'kiwi-description-dir:,output-dir:,image-type:,image-profile:,debug,help' --name "$kiwibuildsh" -- "$@")
|
||||
optTemp=$(getopt --options '+k:,f:,i,o:,t:,p:,r:,d,h' --longoptions 'kiwi-description-dir:,kiwi-file:,isolated,output-dir:,image-type:,image-profile:,image-release:,debug,help' --name "$kiwibuildsh" -- "$@")
|
||||
eval set -- "$optTemp"
|
||||
unset optTemp
|
||||
|
||||
kiwi_description_dir="./"
|
||||
output_dir=
|
||||
image_type=
|
||||
image_profile=
|
||||
image_release=
|
||||
debug=
|
||||
kiwi_isolated=
|
||||
# For compatibility with older scripts where these did not exist
|
||||
kiwi_description_dir="./"
|
||||
kiwi_file="Fedora.kiwi"
|
||||
kiwibuild_extra_args=
|
||||
|
||||
while true; do
|
||||
case "$1" in
|
||||
-i|--isolated) kiwi_isolated=1; shift ;;
|
||||
-k|--kiwi-description-dir) kiwi_description_dir="$2" ; shift 2 ;;
|
||||
-f|--kiwi-file) kiwi_file="$2" ; shift 2 ;;
|
||||
-o|--output-dir) output_dir="$2" ; shift 2 ;;
|
||||
-t|--image-type) image_type="$2" ; shift 2 ;;
|
||||
-p|--image-profile) image_profile="$2" ; shift 2 ;;
|
||||
-r|--image-release) image_release="$2" ; shift 2 ;;
|
||||
-d|--debug) debug="--debug" ; shift ;;
|
||||
-h|--help) usage ;;
|
||||
--) shift ; break ;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ -z "$output_dir" ] || [ -z "$image_type" ] || [ -z "$image_profile" ]; then
|
||||
if [ -z "$output_dir" ] || [ -z "$image_type" ] || [ -z "$image_profile" ] || [ -z "$kiwi_file" ]; then
|
||||
echo "Options not set!"
|
||||
usage
|
||||
fi
|
||||
|
||||
if [ -e "/sys/fs/selinux/enforce" ]; then
|
||||
# Set the bundle format after we know the profile
|
||||
kiwi_bundle_format=$("${kiwibuild_scriptdir}/scripts/fedora-kiwi-bundle-format-generator" "${kiwi_file}" "${image_profile}")
|
||||
|
||||
if [ "$image_type" = "iso" ]; then
|
||||
# Add parameters for embedded ISO IDs
|
||||
kiwibuild_extra_args=$("${kiwibuild_scriptdir}/scripts/fedora-live-iso-label-generator" "${kiwi_file}" "${image_profile}" --output-kiwi-args)
|
||||
fi
|
||||
|
||||
if [ "$image_type" = "oci" ]; then
|
||||
# Extend for OCI images
|
||||
kiwi_bundle_format="${kiwi_bundle_format}.%T"
|
||||
fi
|
||||
|
||||
if [ ! ${kiwi_isolated} ] && [ -e "/sys/fs/selinux/enforce" ]; then
|
||||
# Disable SELinux enforcement during the image build if it's enforcing
|
||||
selinux_enforcing="$(cat /sys/fs/selinux/enforce)"
|
||||
if [ "$selinux_enforcing" = "1" ]; then
|
||||
@ -50,15 +73,22 @@ if [ -e "/sys/fs/selinux/enforce" ]; then
|
||||
fi
|
||||
|
||||
set +e
|
||||
kiwi-ng ${debug} --type="${image_type}" --profile="${image_profile}" --color-output system build --description "${kiwi_description_dir}" --target-dir "${output_dir}"
|
||||
if [ ! ${kiwi_isolated} ]; then
|
||||
kiwi-ng ${debug} --type="${image_type}" --profile="${image_profile}" --kiwi-file="${kiwi_file}" --color-output system build --description "${kiwi_description_dir}" --target-dir "${output_dir}-build" ${kiwibuild_extra_args}
|
||||
else
|
||||
kiwi-ng ${debug} --type="${image_type}" --profile="${image_profile}" --kiwi-file="${kiwi_file}" --color-output system boxbuild --box universal --sshfs-sharing -- --description "${kiwi_description_dir}" --target-dir "${output_dir}-build" ${kiwibuild_extra_args}
|
||||
fi
|
||||
kiwi_status=$?
|
||||
set -e
|
||||
|
||||
if [ -e "/sys/fs/selinux/enforce" ]; then
|
||||
if [ ! ${kiwi_isolated} ] && [ -e "/sys/fs/selinux/enforce" ]; then
|
||||
# Re-enable SELinux enforcement now that image build is done
|
||||
if [ "$selinux_enforcing" = "1" ]; then
|
||||
setenforce 1
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${kiwi_status}" = "0" ] && [ -n "$image_release" ]; then
|
||||
kiwi-ng ${debug} result bundle --bundle-format="${kiwi_bundle_format}" --target-dir "${output_dir}-build" --bundle-dir "${output_dir}" --id="${image_release}"
|
||||
fi
|
||||
exit $kiwi_status
|
||||
|
@ -16,6 +16,10 @@ maintainers = [ "Mukundan Ragavan", "Kevin Fenzi", "Adam Miller" ]
|
||||
fas = [ "rdieter", "marcdeop", "ngompa" ]
|
||||
maintainers = [ "Rex Dieter", "Marc Deop", "Neal Gompa" ]
|
||||
|
||||
[spins.kde-mobile.x86_64]
|
||||
fas = [ "tdawson", "ngompa" ]
|
||||
maintainers = [ "Troy Dawson", "Neal Gompa" ]
|
||||
|
||||
[spins.cinnamon.x86_64]
|
||||
fas = [ "grinnz" ]
|
||||
maintainers = [ "Dan Book" ]
|
||||
|
22
repositories/core-eln.xml
Normal file
22
repositories/core-eln.xml
Normal file
@ -0,0 +1,22 @@
|
||||
<image>
|
||||
<repository type="rpm-md" alias="extras" sourcetype="metalink">
|
||||
<source path="https://mirrors.fedoraproject.org/metalink?repo=eln-extras-1&arch=$basearch">
|
||||
<signing key="file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-rawhide-primary"/>
|
||||
</source>
|
||||
</repository>
|
||||
<repository type="rpm-md" alias="crb" sourcetype="metalink">
|
||||
<source path="https://mirrors.fedoraproject.org/metalink?repo=eln-crb-1&arch=$basearch">
|
||||
<signing key="file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-rawhide-primary"/>
|
||||
</source>
|
||||
</repository>
|
||||
<repository type="rpm-md" alias="appstream" sourcetype="metalink">
|
||||
<source path="https://mirrors.fedoraproject.org/metalink?repo=eln-appstream-1&arch=$basearch">
|
||||
<signing key="file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-rawhide-primary"/>
|
||||
</source>
|
||||
</repository>
|
||||
<repository type="rpm-md" alias="baseos" sourcetype="metalink">
|
||||
<source path="https://mirrors.fedoraproject.org/metalink?repo=eln-baseos-1&arch=$basearch">
|
||||
<signing key="file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-rawhide-primary"/>
|
||||
</source>
|
||||
</repository>
|
||||
</image>
|
@ -1,12 +1,29 @@
|
||||
<image>
|
||||
<repository type="rpm-md" alias="fedora" sourcetype="metalink">
|
||||
<repository type="rpm-md" alias="fedora" sourcetype="metalink" arch="x86_64,aarch64,ppc64le,s390x">
|
||||
<source path="https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch">
|
||||
<signing key="file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-$releasever-primary"/>
|
||||
</source>
|
||||
</repository>
|
||||
<repository type="rpm-md" alias="updates" sourcetype="metalink">
|
||||
<source path="https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch">
|
||||
<signing key="file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-$releasever-primary"/>
|
||||
</source>
|
||||
</repository>
|
||||
<repository type="rpm-md" alias="updates" sourcetype="metalink" arch="x86_64,aarch64,ppc64le,s390x">
|
||||
<source path="https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch">
|
||||
<signing key="file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-$releasever-primary"/>
|
||||
</source>
|
||||
</repository>
|
||||
<!-- For folks to enable for building images with content in test update repositories -->
|
||||
<!--
|
||||
<repository type="rpm-md" alias="updates-testing" sourcetype="metalink" arch="x86_64,aarch64,ppc64le,s390x">
|
||||
<source path="https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch">
|
||||
<signing key="file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-$releasever-primary"/>
|
||||
</source>
|
||||
</repository>
|
||||
-->
|
||||
<repository type="rpm-md" alias="fedora" sourcetype="baseurl" arch="riscv64">
|
||||
<source path="http://fedora.riscv.rocks/repos-dist/f$releasever-staging/latest/$basearch"/>
|
||||
</repository>
|
||||
<!-- For folks to enable for building images with content in Koji working repos -->
|
||||
<!--
|
||||
<repository type="rpm-md" alias="fedora-koji" sourcetype="baseurl" arch="riscv64">
|
||||
<source path="http://fedora.riscv.rocks/repos/f$releasever-staging/latest/$basearch"/>
|
||||
</repository>
|
||||
-->
|
||||
</image>
|
||||
|
11
repositories/core-p550.xml
Normal file
11
repositories/core-p550.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<image>
|
||||
<repository type="rpm-md" alias="fedora" sourcetype="baseurl">
|
||||
<source path="http://fedora.riscv.rocks/repos-dist/f$releasever-p550/latest/$basearch"/>
|
||||
</repository>
|
||||
<!-- For folks to enable for building images with content in Koji working repos -->
|
||||
<!--
|
||||
<repository type="rpm-md" alias="fedora-koji" sourcetype="baseurl">
|
||||
<source path="http://fedora.riscv.rocks/repos/f$releasever-staging/latest/$basearch"/>
|
||||
</repository>
|
||||
-->
|
||||
</image>
|
@ -1 +1 @@
|
||||
core-rawhide.xml
|
||||
core-nonrawhide.xml
|
31
scripts/fedora-kiwi-bundle-format-generator
Executable file
31
scripts/fedora-kiwi-bundle-format-generator
Executable file
@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# Simple tool to generate bundle formats for kiwi image builds
|
||||
# Author: Neal Gompa <ngompa@fedoraproject.org>
|
||||
# SPDX-3.0-License-Identifier: GPL-3.0-or-later
|
||||
# SPDX-2.0-License-Identifier: GPL-3.0+
|
||||
|
||||
from argparse import ArgumentParser
|
||||
from pathlib import Path
|
||||
|
||||
import xml.etree.ElementTree as ET
|
||||
|
||||
|
||||
parser = ArgumentParser(description="Generator of kiwi bundle formats for Fedora image builds")
|
||||
parser.add_argument("kiwi_file", type=Path, default="Fedora.kiwi", help="kiwi description file")
|
||||
parser.add_argument("image_profile", type=str, help="kiwi image profile")
|
||||
parser.add_argument("--oci-variant", "-o", action="store_true", help="generate oci variant")
|
||||
args = parser.parse_args()
|
||||
|
||||
xml_tree = ET.parse(args.kiwi_file)
|
||||
image_root = xml_tree.getroot()
|
||||
|
||||
image_basename = image_root.attrib["name"]
|
||||
image_profile = args.image_profile
|
||||
|
||||
image_bundle_format = f"{image_basename}-{image_profile}-%v.%I.%A"
|
||||
|
||||
if args.oci_variant:
|
||||
print(f"{image_bundle_format}.%T")
|
||||
else:
|
||||
print(image_bundle_format)
|
108
scripts/fedora-live-iso-label-generator
Executable file
108
scripts/fedora-live-iso-label-generator
Executable file
@ -0,0 +1,108 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# Simple tool to generate volume IDs and application IDs for ISOs for kiwi image builds
|
||||
# Author: Neal Gompa <ngompa@fedoraproject.org>
|
||||
# SPDX-3.0-License-Identifier: GPL-3.0-or-later
|
||||
# SPDX-2.0-License-Identifier: GPL-3.0+
|
||||
|
||||
# Used to map kiwi profiles to application IDs (which may also
|
||||
# may be used for connecting to volume ID substitutions).
|
||||
profile_to_application_id = {
|
||||
"KDE-Desktop": "KDE_Desktop",
|
||||
"KDE-Mobile": "KDE_Mobile",
|
||||
}
|
||||
|
||||
# Used by Pungi to replace "Cloud" with "C" (etc.) in ISO volume IDs.
|
||||
# There is a hard 32-character limit on ISO volume IDs, so we use
|
||||
# these to try and produce short enough but legible IDs. Note this is
|
||||
# duplicated in Koji for live images, as livemedia-creator does not
|
||||
# allow Pungi to tell it what volume ID to use. Note:
|
||||
# https://fedoraproject.org/wiki/User:Adamwill/Draft_fedora_image_naming_policy
|
||||
# "-Workstation-" is a temporary workaround. See
|
||||
# https://pagure.io/pungi-fedora/pull-request/525
|
||||
# Replace "Cloud" with "C" in volume id etc.
|
||||
# WARNING: This list *MUST* remain in sync with pungi-fedora!
|
||||
# https://pagure.io/pungi-fedora/blob/main/f/general.conf
|
||||
volume_id_substitutions = {
|
||||
"Beta": "B",
|
||||
"Rawhide": "rawh",
|
||||
"Astronomy_KDE": "AstK",
|
||||
"Silverblue": "SB",
|
||||
"Kinoite": "Knt",
|
||||
"Cinnamon": "Cinn",
|
||||
"Cloud": "C",
|
||||
"Comp_Neuro": "CNr",
|
||||
"COSMIC": "COSMIC",
|
||||
"Design_suite": "Dsgn",
|
||||
"Electronic_Lab": "Elec",
|
||||
"Everything": "E",
|
||||
"Games": "Game",
|
||||
"Images": "img",
|
||||
"Jam_KDE": "Jam",
|
||||
"KDE_Desktop": "KDE",
|
||||
"KDE_Mobile": "KDEM",
|
||||
"MATE_Compiz": "MATE",
|
||||
"MiracleWM": "MirWM",
|
||||
"Onyx": "Onyx",
|
||||
# Note https://pagure.io/pungi-fedora/issue/533
|
||||
"Python-Classroom": "Clss",
|
||||
"Python_Classroom": "Clss",
|
||||
"Robotics": "Robo",
|
||||
"Scientific_KDE": "SciK",
|
||||
"Security": "Sec",
|
||||
"Sericea": "Src",
|
||||
"Server": "S",
|
||||
"Workstation": "WS",
|
||||
"-Workstation-": "-WS-",
|
||||
}
|
||||
|
||||
|
||||
|
||||
from argparse import ArgumentParser
|
||||
from pathlib import Path
|
||||
|
||||
import xml.etree.ElementTree as ET
|
||||
|
||||
|
||||
parser = ArgumentParser(description="Generator of ISO labels for Fedora live media builds")
|
||||
parser.add_argument("kiwi_file", type=Path, default="Fedora.kiwi", help="kiwi description file")
|
||||
parser.add_argument("image_profile", type=str, help="kiwi image profile")
|
||||
parser.add_argument("--output-kiwi-args", "-k", action="store_true", help="generate kiwi args instead of csv")
|
||||
args = parser.parse_args()
|
||||
|
||||
xml_tree = ET.parse(args.kiwi_file)
|
||||
image_root = xml_tree.getroot()
|
||||
|
||||
image_basename = image_root.attrib["name"]
|
||||
image_version = image_root.find("preferences/version").text
|
||||
|
||||
image_volid_version = image_version
|
||||
|
||||
if image_volid_version == "Rawhide":
|
||||
image_volid_version = "rawh"
|
||||
|
||||
image_profile = args.image_profile
|
||||
if image_profile.endswith("-Live"):
|
||||
image_profile_baseprefix = image_profile[:-5]
|
||||
else:
|
||||
image_profile_baseprefix = image_profile
|
||||
|
||||
image_profile_variant_appid_prefix = image_profile_baseprefix
|
||||
|
||||
if image_profile_baseprefix in profile_to_application_id.keys():
|
||||
image_profile_variant_appid_prefix = profile_to_application_id[image_profile_baseprefix]
|
||||
else:
|
||||
image_profile_variant_appid_prefix = image_profile_baseprefix
|
||||
|
||||
if image_profile_variant_appid_prefix in volume_id_substitutions.keys():
|
||||
image_profile_variant_volid_prefix = volume_id_substitutions[image_profile_variant_appid_prefix]
|
||||
else:
|
||||
image_profile_variant_volid_prefix = image_profile_variant_appid_prefix
|
||||
|
||||
image_appid = f"{image_basename}-{image_profile_variant_appid_prefix}-Live-{image_version}"
|
||||
image_volid = f"{image_basename}-{image_profile_variant_volid_prefix}-Live-{image_volid_version}"
|
||||
|
||||
if args.output_kiwi_args:
|
||||
print(f"--set-type-attr=application_id={image_appid} --set-type-attr=volid={image_volid}")
|
||||
else:
|
||||
print(f"application_id,{image_appid},volid,{image_volid}")
|
38
simple-kiwi-build
Executable file
38
simple-kiwi-build
Executable file
@ -0,0 +1,38 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
image_profile="$1"
|
||||
shift
|
||||
|
||||
if [ -z "${image_profile}" ]; then
|
||||
echo "Usage: $0 PROFILE [KIWI-OPTIONS...]" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
case "${image_profile}" in
|
||||
*P550*) kiwi_file="Fedora-P550.kiwi" ;;
|
||||
*) kiwi_file="Fedora.kiwi" ;;
|
||||
esac
|
||||
|
||||
case "${image_profile}" in
|
||||
*Live*) image_type="iso" ;;
|
||||
*Container*) image_type="oci" ;;
|
||||
* ) image_type="oem" ;;
|
||||
esac
|
||||
|
||||
commit="$(git rev-parse --short=12 HEAD)"
|
||||
today="$(date '+%Y%m%d')"
|
||||
outdir="${today}-${image_profile}-${commit}"
|
||||
|
||||
rm -rf "${outdir}-build" "${outdir}"
|
||||
|
||||
./kiwi-build \
|
||||
--output-dir="${outdir}" \
|
||||
--kiwi-file="${kiwi_file}" \
|
||||
--image-type="${image_type}" \
|
||||
--image-profile="${image_profile}" \
|
||||
--image-release="${today}-${commmit}" \
|
||||
"$@"
|
||||
|
||||
rm -rf "${outdir}-build"
|
185
teams/asahi.xml
Normal file
185
teams/asahi.xml
Normal file
@ -0,0 +1,185 @@
|
||||
<image>
|
||||
<profiles>
|
||||
<profile name="FEX-RootFS" description="FEX RootFS packages"/>
|
||||
</profiles>
|
||||
<preferences profiles="FEX-RootFS" arch="x86_64">
|
||||
<type image="erofs" erofscompression="lz4"/>
|
||||
<timezone>Etc/UTC</timezone>
|
||||
<locale>en_US</locale>
|
||||
<rpm-locale-filtering>true</rpm-locale-filtering>
|
||||
<rpm-excludedocs>true</rpm-excludedocs>
|
||||
</preferences>
|
||||
<packages type="image" profiles="FEX-RootFS">
|
||||
<file name="fex-excludes.yaml" target="image/exclude_files.yaml"/>
|
||||
</packages>
|
||||
<packages type="bootstrap" profiles="FEX-RootFS">
|
||||
<package name="dnf5-plugins"/>
|
||||
<package name="util-linux-core"/>
|
||||
<package name="glibc.x86_64"/>
|
||||
<package name="glibc.i686"/>
|
||||
<package name="dbus-libs.x86_64"/>
|
||||
<package name="dbus-libs.i686"/>
|
||||
<package name="systemd.x86_64"/>
|
||||
<package name="systemd.i686"/>
|
||||
<package name="systemd-libs.x86_64"/>
|
||||
<package name="systemd-libs.i686"/>
|
||||
<package name="pulseaudio-libs.x86_64"/>
|
||||
<package name="pulseaudio-libs.i686"/>
|
||||
<package name="mesa-libGL.x86_64"/>
|
||||
<package name="mesa-libGL.i686"/>
|
||||
<package name="mesa-libEGL.x86_64"/>
|
||||
<package name="mesa-libEGL.i686"/>
|
||||
<package name="mesa-libGLU.x86_64"/>
|
||||
<package name="mesa-libGLU.i686"/>
|
||||
<package name="mesa-dri-drivers.x86_64"/>
|
||||
<package name="mesa-dri-drivers.i686"/>
|
||||
<package name="mesa-vulkan-drivers.x86_64"/>
|
||||
<package name="mesa-vulkan-drivers.i686"/>
|
||||
<package name="mesa-va-drivers.x86_64"/>
|
||||
<package name="mesa-va-drivers.i686"/>
|
||||
<package name="mesa-demos.x86_64"/>
|
||||
<package name="libglvnd-opengl.x86_64"/>
|
||||
<package name="libglvnd-opengl.i686"/>
|
||||
<package name="libglvnd-egl.x86_64"/>
|
||||
<package name="libglvnd-egl.i686"/>
|
||||
<package name="libglvnd-gles.x86_64"/>
|
||||
<package name="libglvnd-gles.i686"/>
|
||||
<package name="libatomic.x86_64"/>
|
||||
<package name="libatomic.i686"/>
|
||||
<package name="libatomic_ops.x86_64"/>
|
||||
<package name="libatomic_ops.i686"/>
|
||||
<package name="libunwind.x86_64"/>
|
||||
<package name="libunwind.i686"/>
|
||||
<package name="libnsl.x86_64"/>
|
||||
<package name="libnsl.i686"/>
|
||||
<package name="flac-libs.x86_64"/>
|
||||
<package name="flac-libs.i686"/>
|
||||
<package name="sdl2-compat.x86_64"/>
|
||||
<package name="sdl2-compat.i686"/>
|
||||
<package name="SDL2_gfx.x86_64"/>
|
||||
<package name="SDL2_gfx.i686"/>
|
||||
<package name="SDL2_ttf.x86_64"/>
|
||||
<package name="SDL2_ttf.i686"/>
|
||||
<package name="SDL2_image.x86_64"/>
|
||||
<package name="SDL2_image.i686"/>
|
||||
<package name="SDL2_mixer.x86_64"/>
|
||||
<package name="SDL2_mixer.i686"/>
|
||||
<package name="SDL2_net.x86_64"/>
|
||||
<package name="SDL2_net.i686"/>
|
||||
<package name="SDL2_sound.x86_64"/>
|
||||
<package name="SDL2_sound.i686"/>
|
||||
<package name="sdl12-compat.x86_64"/>
|
||||
<package name="sdl12-compat.i686"/>
|
||||
<package name="protobuf-compiler.x86_64"/>
|
||||
<package name="protobuf-compiler.i686"/>
|
||||
<package name="protobuf-c.x86_64"/>
|
||||
<package name="protobuf-c.i686"/>
|
||||
<package name="openal-soft.x86_64"/>
|
||||
<package name="openal-soft.i686"/>
|
||||
<package name="speex.x86_64"/>
|
||||
<package name="speex.i686"/>
|
||||
<package name="libvorbis.x86_64"/>
|
||||
<package name="libvorbis.i686"/>
|
||||
<package name="usbutils"/>
|
||||
<package name="pciutils"/>
|
||||
<package name="libpciaccess.x86_64"/>
|
||||
<package name="libpciaccess.x86_64"/>
|
||||
<package name="libGLEW.x86_64"/>
|
||||
<package name="libGLEW.i686"/>
|
||||
<package name="libX11-xcb.x86_64"/>
|
||||
<package name="libX11-xcb.i686"/>
|
||||
<package name="xcb-util.x86_64"/>
|
||||
<package name="xcb-util.i686"/>
|
||||
<package name="xcb-util-cursor.x86_64"/>
|
||||
<package name="xcb-util-cursor.i686"/>
|
||||
<package name="xcb-util-image.x86_64"/>
|
||||
<package name="xcb-util-image.i686"/>
|
||||
<package name="xcb-util-keysyms.x86_64"/>
|
||||
<package name="xcb-util-keysyms.i686"/>
|
||||
<package name="xcb-util-wm.x86_64"/>
|
||||
<package name="xcb-util-wm.i686"/>
|
||||
<package name="xcb-util-xrm.x86_64"/>
|
||||
<package name="xcb-util-xrm.i686"/>
|
||||
<package name="xcb-imdkit.x86_64"/>
|
||||
<package name="xcb-imdkit.i686"/>
|
||||
<package name="libxkbcommon.x86_64"/>
|
||||
<package name="libxkbcommon.i686"/>
|
||||
<package name="libwayland-client.x86_64"/>
|
||||
<package name="libwayland-client.i686"/>
|
||||
<package name="libwayland-egl.x86_64"/>
|
||||
<package name="libwayland-egl.i686"/>
|
||||
<package name="libXext.x86_64"/>
|
||||
<package name="libXext.i686"/>
|
||||
<package name="libXdamage.x86_64"/>
|
||||
<package name="libXdamage.i686"/>
|
||||
<package name="libxcb.x86_64"/>
|
||||
<package name="libxcb.i686"/>
|
||||
<package name="libxshmfence.x86_64"/>
|
||||
<package name="libxshmfence.i686"/>
|
||||
<package name="libXxf86vm.x86_64"/>
|
||||
<package name="libXxf86vm.i686"/>
|
||||
<package name="libXrandr.x86_64"/>
|
||||
<package name="libXrandr.i686"/>
|
||||
<package name="clang-libs.x86_64"/>
|
||||
<package name="clang-libs.i686"/>
|
||||
<package name="clang18-libs.x86_64"/>
|
||||
<package name="clang18-libs.i686"/>
|
||||
<package name="llvm-libs.x86_64"/>
|
||||
<package name="llvm-libs.i686"/>
|
||||
<package name="llvm18-libs.x86_64"/>
|
||||
<package name="llvm18-libs.i686"/>
|
||||
<package name="libclc.x86_64"/>
|
||||
<package name="libclc.i686"/>
|
||||
<package name="spirv-tools-libs.x86_64"/>
|
||||
<package name="spirv-tools-libs.i686"/>
|
||||
<package name="spirv-llvm-translator.x86_64"/>
|
||||
<package name="spirv-llvm-translator.i686"/>
|
||||
<package name="harfbuzz.x86_64"/>
|
||||
<package name="harfbuzz.i686"/>
|
||||
<package name="libva.x86_64"/>
|
||||
<package name="libva.i686"/>
|
||||
<package name="libvdpau.x86_64"/>
|
||||
<package name="libvdpau.i686"/>
|
||||
<package name="fuse-libs.x86_64"/>
|
||||
<package name="fuse-libs.i686"/>
|
||||
<package name="fuse3-libs.x86_64"/>
|
||||
<package name="fuse3-libs.i686"/>
|
||||
<package name="mangohud.x86_64"/>
|
||||
<package name="mangohud.i686"/>
|
||||
<package name="nss.x86_64"/>
|
||||
<package name="nss.i686"/>
|
||||
<package name="nspr.x86_64"/>
|
||||
<package name="nspr.i686"/>
|
||||
<package name="python3.x86_64"/>
|
||||
<package name="python3.i686"/>
|
||||
<package name="openssl-libs.x86_64"/>
|
||||
<package name="openssl-libs.i686"/>
|
||||
<package name="curl"/>
|
||||
<package name="xterm"/>
|
||||
<package name="xz"/>
|
||||
<package name="wine.x86_64"/>
|
||||
<package name="wine.i686"/>
|
||||
<package name="vulkan-tools"/>
|
||||
<package name="vulkan-loader.i686"/>
|
||||
<package name="vulkan-loader.x86_64"/>
|
||||
<package name="pkgconf.x86_64"/>
|
||||
<package name="pkgconf.i686"/>
|
||||
<package name="clinfo"/>
|
||||
<package name="gobject-introspection"/>
|
||||
<package name="kbd-misc"/> <!-- needed by kiwi -->
|
||||
<package name="glibc-langpack-en"/> <!-- needed by kiwi -->
|
||||
<package name="zlib-ng.x86_64"/>
|
||||
<package name="zlib-ng.i686"/>
|
||||
<package name="libxslt.x86_64"/>
|
||||
<package name="libxslt.i686"/>
|
||||
<!--
|
||||
Remove these if we choose to drop GTK2/GTK3 (currently there are other dependencies above).
|
||||
These are useful for muvm X11 passthrough. Modern apps should use Wayland protocols, so
|
||||
other IM support packages are hopefully not needed in the rootfs.
|
||||
-->
|
||||
<package name="gtk2-immodule-xim.x86_64"/>
|
||||
<package name="gtk2-immodule-xim.i686"/>
|
||||
<package name="gtk3-immodule-xim.x86_64"/>
|
||||
<!-- unavailable <package name="gtk3-immodule-xim.i686"/> -->
|
||||
</packages>
|
||||
</image>
|
17
teams/base.xml
Normal file
17
teams/base.xml
Normal file
@ -0,0 +1,17 @@
|
||||
<image>
|
||||
<profiles>
|
||||
<profile name="Minimal-Disk" description="Minimal Install Disk">
|
||||
<requires profile="BootDiskCore"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="Minimal-Disk">
|
||||
<package name="fedora-release"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="Minimal-Disk">
|
||||
<namedCollection name="core"/>
|
||||
<namedCollection name="standard"/>
|
||||
<namedCollection name="networkmanager-submodules"/>
|
||||
<package name="initial-setup"/>
|
||||
<ignore name="initial-setup-gui"/>
|
||||
</packages>
|
||||
</image>
|
@ -4,8 +4,12 @@
|
||||
<requires profile="Budgie-Desktop"/>
|
||||
<requires profile="LiveInstall"/>
|
||||
</profile>
|
||||
<profile name="Budgie-Disk" description="Budgie Spin Install Disk">
|
||||
<requires profile="Budgie-Desktop"/>
|
||||
<requires profile="BootDiskCore"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="Budgie-Live">
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="Budgie-Live,Budgie-Disk">
|
||||
<package name="fedora-release-budgie"/>
|
||||
</packages>
|
||||
</image>
|
||||
|
@ -4,8 +4,12 @@
|
||||
<requires profile="Cinnamon-Desktop"/>
|
||||
<requires profile="LiveInstall"/>
|
||||
</profile>
|
||||
<profile name="Cinnamon-Disk" description="Cinnamon Spin Install Disk">
|
||||
<requires profile="Cinnamon-Desktop"/>
|
||||
<requires profile="BootDiskCore"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="Cinnamon-Live">
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="Cinnamon-Live,Cinnamon-Disk">
|
||||
<package name="fedora-release-cinnamon"/>
|
||||
</packages>
|
||||
</image>
|
||||
|
@ -31,7 +31,7 @@
|
||||
<preferences profiles="Cloud-Base-Azure" arch="x86_64,aarch64">
|
||||
<type image="oem" format="vhd-fixed" formatoptions="force_size"
|
||||
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="compress=zstd:1"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8 earlyprintk=ttyS0"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8 earlyprintk=ttyS0 systemd.firstboot=off"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="100" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
@ -51,7 +51,7 @@
|
||||
<preferences profiles="Cloud-Base-AmazonEC2" arch="x86_64,aarch64">
|
||||
<type image="oem"
|
||||
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="compress=zstd:1"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8 systemd.firstboot=off"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="100" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
@ -71,7 +71,7 @@
|
||||
<preferences profiles="Cloud-Base-GCE" arch="x86_64,aarch64">
|
||||
<type image="oem" format="gce"
|
||||
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="compress=zstd:1"
|
||||
kernelcmdline="no_timer_check console=ttyS0,38400n8d"
|
||||
kernelcmdline="no_timer_check console=ttyS0,38400n8d systemd.firstboot=off"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="100" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
@ -89,10 +89,10 @@
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="Cloud-Base-Generic" arch="x86_64,aarch64">
|
||||
<preferences profiles="Cloud-Base-Generic" arch="x86_64,aarch64,riscv64">
|
||||
<type image="oem" format="qcow2"
|
||||
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="compress=zstd:1"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8 systemd.firstboot=off"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="100" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
@ -112,8 +112,8 @@
|
||||
<preferences profiles="Cloud-Base-Generic" arch="ppc64le">
|
||||
<type image="oem" format="qcow2"
|
||||
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="compress=zstd:1"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
devicepersistency="by-uuid" target_blocksize="4096"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8 systemd.firstboot=off"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" firmware="ofw"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
@ -132,12 +132,12 @@
|
||||
<preferences profiles="Cloud-Base-Generic" arch="s390x">
|
||||
<type image="oem" format="qcow2"
|
||||
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="compress=zstd:1"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8 dasd_mod.dasd=ipldev"
|
||||
devicepersistency="by-uuid" target_blocksize="4096"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8 systemd.firstboot=off"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="ext4"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="zipl" targettype="CDL" timeout="1"/>
|
||||
<bootloader name="zipl" timeout="1"/>
|
||||
<size unit="G">5</size>
|
||||
<systemdisk>
|
||||
<volume name="@root=root"/>
|
||||
@ -149,11 +149,12 @@
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="Cloud-Base-UEFI-UKI" arch="x86_64,aarch64">
|
||||
<preferences profiles="Cloud-Base-UEFI-UKI" arch="x86_64,aarch64,riscv64">
|
||||
<type image="oem" format="qcow2"
|
||||
firmware="uefi" efipartsize="1000"
|
||||
bootpartition="false"
|
||||
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="true"
|
||||
kernelcmdline="systemd.firstboot=off"
|
||||
devicepersistency="by-uuid"
|
||||
rootfs_label="fedora"
|
||||
initrd_system="none"
|
||||
@ -184,6 +185,7 @@
|
||||
<ignore name="geolite2-city"/>
|
||||
<ignore name="geolite2-country"/>
|
||||
<ignore name="plymouth"/>
|
||||
<package name="btrfs-progs"/>
|
||||
<package name="python3-dnf-plugin-tracer"/>
|
||||
<package name="glibc-langpack-en"/>
|
||||
</packages>
|
||||
@ -197,11 +199,18 @@
|
||||
<ignore name="geolite2-city"/>
|
||||
<ignore name="geolite2-country"/>
|
||||
<ignore name="plymouth"/>
|
||||
<package name="btrfs-progs"/>
|
||||
<package name="python3-dnf-plugin-tracer"/>
|
||||
<package name="glibc-langpack-en"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="Cloud-Base-AmazonEC2">
|
||||
<package name="amazon-ec2-utils"/>
|
||||
<package name="awscli2"/>
|
||||
<package name="ec2-instance-connect"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="Cloud-Base-Azure">
|
||||
<package name="WALinuxAgent"/>
|
||||
<package name="azure-vm-utils"/>
|
||||
<package name="kernel-modules"/>
|
||||
<package name="hyperv-daemons"/>
|
||||
</packages>
|
||||
|
@ -8,13 +8,16 @@
|
||||
<profile name="Container-Base-Generic" description="Generic Base Container Image">
|
||||
<requires profile="ContainerCore"/>
|
||||
</profile>
|
||||
<profile name="Container-Base-Generic-Init" description="Generic Init Base Container Image">
|
||||
<requires profile="ContainerCore"/>
|
||||
</profile>
|
||||
<profile name="Container-Toolbox" description="Toolbox Container Image"/>
|
||||
</profiles>
|
||||
<preferences profiles="Container-Base-Generic">
|
||||
<type image="oci">
|
||||
<containerconfig
|
||||
name="fedora"
|
||||
tag="rawhide"
|
||||
tag="41"
|
||||
maintainer="Fedora Project Contributors <devel@lists.fedoraproject.org>"
|
||||
>
|
||||
<subcommand execute="/bin/bash"/>
|
||||
@ -23,13 +26,16 @@
|
||||
<label name="org.opencontainers.image.url" value="https://fedoraproject.org/"/>
|
||||
<label name="org.opencontainers.image.license" value="MIT"/>
|
||||
<label name="org.opencontainers.image.name" value="fedora"/>
|
||||
<label name="org.opencontainers.image.version" value="rawhide"/>
|
||||
<label name="org.opencontainers.image.version" value="41"/>
|
||||
<!-- Legacy attributes for backward compatibility -->
|
||||
<label name="vendor" value="Fedora Project"/>
|
||||
<label name="license" value="MIT"/>
|
||||
<label name="name" value="fedora"/>
|
||||
<label name="version" value="rawhide"/>
|
||||
<label name="version" value="41"/>
|
||||
</labels>
|
||||
<environment>
|
||||
<env name="container" value="oci"/>
|
||||
</environment>
|
||||
</containerconfig>
|
||||
</type>
|
||||
<timezone>Etc/UTC</timezone>
|
||||
@ -41,7 +47,7 @@
|
||||
<type image="oci">
|
||||
<containerconfig
|
||||
name="fedora-minimal"
|
||||
tag="rawhide"
|
||||
tag="41"
|
||||
maintainer="Fedora Project Contributors <devel@lists.fedoraproject.org>"
|
||||
>
|
||||
<subcommand execute="/bin/bash"/>
|
||||
@ -50,13 +56,44 @@
|
||||
<label name="org.opencontainers.image.url" value="https://fedoraproject.org/"/>
|
||||
<label name="org.opencontainers.image.license" value="MIT"/>
|
||||
<label name="org.opencontainers.image.name" value="fedora-minimal"/>
|
||||
<label name="org.opencontainers.image.version" value="rawhide"/>
|
||||
<label name="org.opencontainers.image.version" value="41"/>
|
||||
<!-- Legacy attributes for backward compatibility -->
|
||||
<label name="vendor" value="Fedora Project"/>
|
||||
<label name="license" value="MIT"/>
|
||||
<label name="name" value="fedora-minimal"/>
|
||||
<label name="version" value="rawhide"/>
|
||||
<label name="version" value="41"/>
|
||||
</labels>
|
||||
<environment>
|
||||
<env name="container" value="oci"/>
|
||||
</environment>
|
||||
</containerconfig>
|
||||
</type>
|
||||
<timezone>Etc/UTC</timezone>
|
||||
<locale>en_US</locale>
|
||||
<rpm-locale-filtering>true</rpm-locale-filtering>
|
||||
<rpm-excludedocs>true</rpm-excludedocs>
|
||||
</preferences>
|
||||
<preferences profiles="Container-Base-Generic-Init">
|
||||
<type image="oci">
|
||||
<containerconfig
|
||||
name="fedora-init"
|
||||
tag="41"
|
||||
maintainer="Fedora Project Contributors <devel@lists.fedoraproject.org>"
|
||||
>
|
||||
<subcommand execute="/sbin/init"/>
|
||||
<labels>
|
||||
<label name="org.opencontainers.image.vendor" value="Fedora Project"/>
|
||||
<label name="org.opencontainers.image.url" value="https://fedoraproject.org/"/>
|
||||
<label name="org.opencontainers.image.license" value="MIT"/>
|
||||
<label name="org.opencontainers.image.name" value="fedora-init"/>
|
||||
<label name="org.opencontainers.image.version" value="41"/>
|
||||
<!-- Legacy attributes for backward compatibility -->
|
||||
<label name="vendor" value="Fedora Project"/>
|
||||
<label name="license" value="MIT"/>
|
||||
<label name="name" value="fedora-init"/>
|
||||
<label name="version" value="41"/>
|
||||
</labels>
|
||||
<stopsignal>SIGRTMIN+3</stopsignal>
|
||||
</containerconfig>
|
||||
</type>
|
||||
<timezone>Etc/UTC</timezone>
|
||||
@ -68,7 +105,7 @@
|
||||
<type image="oci">
|
||||
<containerconfig
|
||||
name="fedora-toolbox"
|
||||
tag="rawhide"
|
||||
tag="41"
|
||||
maintainer="Fedora Project Contributors <devel@lists.fedoraproject.org>"
|
||||
>
|
||||
<subcommand execute="/bin/bash"/>
|
||||
@ -77,14 +114,17 @@
|
||||
<label name="org.opencontainers.image.url" value="https://fedoraproject.org/"/>
|
||||
<label name="org.opencontainers.image.license" value="MIT"/>
|
||||
<label name="org.opencontainers.image.name" value="fedora-toolbox"/>
|
||||
<label name="org.opencontainers.image.version" value="rawhide"/>
|
||||
<label name="org.opencontainers.image.version" value="41"/>
|
||||
<label name="com.github.containers.toolbox" value="true"/>
|
||||
<!-- Legacy attributes for backward compatibility -->
|
||||
<label name="vendor" value="Fedora Project"/>
|
||||
<label name="license" value="MIT"/>
|
||||
<label name="name" value="fedora-toolbox"/>
|
||||
<label name="version" value="rawhide"/>
|
||||
<label name="version" value="41"/>
|
||||
</labels>
|
||||
<environment>
|
||||
<env name="container" value="oci"/>
|
||||
</environment>
|
||||
</containerconfig>
|
||||
</type>
|
||||
<timezone>Etc/UTC</timezone>
|
||||
@ -121,10 +161,14 @@
|
||||
<ignore name="glibc-langpack-en"/>
|
||||
<ignore name="langpacks-en"/>
|
||||
<ignore name="tzdata"/>
|
||||
<package name="microdnf"/>
|
||||
<package name="dnf5"/>
|
||||
<package name="glibc-minimal-langpack"/>
|
||||
<package name="systemd-standalone-sysusers"/>
|
||||
</packages>
|
||||
<packages type="bootstrap" profiles="Container-Base-Generic">
|
||||
<package name="systemd-standalone-sysusers"/>
|
||||
</packages>
|
||||
<packages type="bootstrap" profiles="Container-Base-Generic,Container-Base-Generic-Init">
|
||||
<ignore name="glibc-langpack-en"/>
|
||||
<ignore name="langpacks-en"/>
|
||||
<package name="bzip2"/>
|
||||
@ -133,13 +177,18 @@
|
||||
<package name="rootfiles"/>
|
||||
<package name="tar"/> <!-- https://bugzilla.redhat.com/show_bug.cgi?id=1409920 -->
|
||||
<package name="vim-minimal"/>
|
||||
<package name="dnf"/>
|
||||
<package name="dnf-yum"/> <!-- https://pagure.io/fesco/issue/1312#comment-30991 -->
|
||||
<package name="dnf5"/>
|
||||
<package name="dnf5-plugins"/>
|
||||
<package name="glibc-minimal-langpack"/>
|
||||
<package name="tzdata"/>
|
||||
<package name="xz"/>
|
||||
<package name="zstd"/>
|
||||
</packages>
|
||||
<packages type="image" profiles="Container-Base-Generic-Init">
|
||||
<package name="glibc-langpack-en"/>
|
||||
<package name="kbd"/>
|
||||
<package name="systemd"/>
|
||||
</packages>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="Container-Toolbox">
|
||||
<ignore name="dosfstools"/>
|
||||
<ignore name="e2fsprogs"/>
|
||||
@ -169,9 +218,8 @@
|
||||
<package name="curl"/>
|
||||
<package name="default-editor"/>
|
||||
<package name="diffutils"/>
|
||||
<package name="dnf"/>
|
||||
<package name="dnf-yum"/> <!-- https://pagure.io/fesco/issue/1312#comment-30991 -->
|
||||
<package name="dnf-plugins-core"/>
|
||||
<package name="dnf5"/>
|
||||
<package name="dnf5-plugins"/>
|
||||
<package name="fedora-release-toolbx"/>
|
||||
<package name="file"/>
|
||||
<package name="findutils"/>
|
||||
@ -198,7 +246,7 @@
|
||||
<package name="man-db"/>
|
||||
<package name="man-pages"/>
|
||||
<package name="mesa-dri-drivers"/>
|
||||
<package name="mesa-va-drivers" arch="aarch64,ppc64le,x86_64"/> <!-- doesn't exist in s390x -->
|
||||
<package name="mesa-va-drivers" arch="aarch64,ppc64le,x86_64,riscv64"/> <!-- doesn't exist in s390x -->
|
||||
<package name="mesa-vulkan-drivers"/>
|
||||
<package name="mtr"/>
|
||||
<package name="nss-mdns"/>
|
||||
|
@ -58,7 +58,6 @@
|
||||
<user password="$1$wYJUgpM5$RXMMeASDc035eX.NbYWFl0" home="/root" name="root" groups="root"/>
|
||||
</users>
|
||||
<packages type="image" patternType="plusRecommended" profiles="VagrantCore">
|
||||
<package name="dnf-yum"/>
|
||||
<package name="rsync"/>
|
||||
<package name="fuse-sshfs"/>
|
||||
<package name="gdisk"/>
|
||||
|
15
teams/cosmic.xml
Normal file
15
teams/cosmic.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<image>
|
||||
<profiles>
|
||||
<profile name="COSMIC-Live" description="COSMIC Spin Live DVD">
|
||||
<requires profile="COSMIC-Desktop"/>
|
||||
<requires profile="LiveInstall"/>
|
||||
</profile>
|
||||
<profile name="COSMIC-Disk" description="COSMIC Spin Install Disk">
|
||||
<requires profile="COSMIC-Desktop"/>
|
||||
<requires profile="BootDiskCore"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="COSMIC-Live,COSMIC-Disk">
|
||||
<package name="fedora-release-cosmic"/>
|
||||
</packages>
|
||||
</image>
|
197
teams/eln/cloud.xml
Normal file
197
teams/eln/cloud.xml
Normal file
@ -0,0 +1,197 @@
|
||||
<image>
|
||||
<profiles>
|
||||
<profile name="CloudCore" description="Cloud spin core packages">
|
||||
<requires profile="BootCore"/>
|
||||
</profile>
|
||||
<profile name="CloudCoreUKI" description="Cloud spin core packages for UKI">
|
||||
<requires profile="BootCoreUKI"/>
|
||||
</profile>
|
||||
<profile name="Cloud-Base-Azure" description="Azure Base Guest Image">
|
||||
<requires profile="CloudCore"/>
|
||||
</profile>
|
||||
<profile name="Cloud-Base-AmazonEC2" description="Amazon EC2 HVM Base Guest Image">
|
||||
<requires profile="CloudCore"/>
|
||||
</profile>
|
||||
<profile name="Cloud-Base-GCE" description="GCE Base Guest Image">
|
||||
<requires profile="CloudCore"/>
|
||||
</profile>
|
||||
<profile name="Cloud-Base-Generic" description="Generic Base Guest Image">
|
||||
<requires profile="CloudCore"/>
|
||||
</profile>
|
||||
<profile name="Cloud-Base-UEFI-UKI" description="UEFI Base Guest Image using UKIs">
|
||||
<requires profile="CloudCoreUKI"/>
|
||||
</profile>
|
||||
<profile name="Cloud-Base-OpenStack" description="OpenStack Base Guest Image">
|
||||
<requires profile="Cloud-Base-Generic"/>
|
||||
</profile>
|
||||
<profile name="Cloud-Base-Oracle" description="Oracle Cloud Base Guest Image">
|
||||
<requires profile="Cloud-Base-Generic"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<preferences profiles="Cloud-Base-Azure" arch="x86_64,aarch64">
|
||||
<type image="oem" format="vhd-fixed" formatoptions="force_size"
|
||||
filesystem="xfs"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8 earlyprintk=ttyS0 systemd.firstboot=off"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" efipartsize="100" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" console="serial" timeout="0"/>
|
||||
<size unit="G">5</size>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="Cloud-Base-AmazonEC2" arch="x86_64,aarch64">
|
||||
<type image="oem"
|
||||
filesystem="xfs"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8 systemd.firstboot=off"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" efipartsize="100" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" timeout="0"/>
|
||||
<size unit="G">5</size>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="Cloud-Base-GCE" arch="x86_64,aarch64">
|
||||
<type image="oem" format="gce"
|
||||
filesystem="xfs"
|
||||
kernelcmdline="no_timer_check console=ttyS0,38400n8d systemd.firstboot=off"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" efipartsize="100" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" timeout="0"/>
|
||||
<!-- GCP engineers have told us the disk images have bad performance if they are anything less than 10G -->
|
||||
<size unit="G">10</size>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="Cloud-Base-Generic" arch="x86_64,aarch64">
|
||||
<type image="oem" format="qcow2"
|
||||
filesystem="xfs"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8 systemd.firstboot=off"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" efipartsize="100" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" console="serial" timeout="0"/>
|
||||
<size unit="G">5</size>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="Cloud-Base-Generic" arch="ppc64le">
|
||||
<type image="oem" format="qcow2"
|
||||
filesystem="xfs"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8 systemd.firstboot=off"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" firmware="ofw"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" console="serial" timeout="0"/>
|
||||
<size unit="G">5</size>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="Cloud-Base-Generic" arch="s390x">
|
||||
<type image="oem" format="qcow2"
|
||||
filesystem="xfs"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8 systemd.firstboot=off"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="zipl" timeout="1"/>
|
||||
<size unit="G">5</size>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="Cloud-Base-UEFI-UKI" arch="x86_64,aarch64">
|
||||
<type image="oem" format="qcow2"
|
||||
firmware="uefi" efipartsize="1000"
|
||||
bootpartition="false"
|
||||
filesystem="xfs"
|
||||
kernelcmdline="systemd.firstboot=off"
|
||||
devicepersistency="by-uuid"
|
||||
rootfs_label="fedora"
|
||||
initrd_system="none"
|
||||
editbootconfig="uki-editbootconfig.sh"
|
||||
>
|
||||
<bootloader name="custom"/>
|
||||
<size unit="G">5</size>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="CloudCore,CloudCoreUKI">
|
||||
<package name="fedora-release-eln"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="CloudCore">
|
||||
<namedCollection name="cloud-server-environment"/>
|
||||
<ignore name="dracut-config-rescue"/>
|
||||
<ignore name="firewalld"/>
|
||||
<ignore name="fwupd"/>
|
||||
<ignore name="kernel"/>
|
||||
<ignore name="*-firmware"/>
|
||||
<ignore name="geolite2-city"/>
|
||||
<ignore name="geolite2-country"/>
|
||||
<ignore name="plymouth"/>
|
||||
<package name="glibc-langpack-en"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="CloudCoreUKI">
|
||||
<namedCollection name="cloud-server-environment"/>
|
||||
<ignore name="dracut-config-rescue"/>
|
||||
<ignore name="firewalld"/>
|
||||
<ignore name="fwupd"/>
|
||||
<ignore name="kernel"/>
|
||||
<ignore name="[a-oq-z]*-firmware"/>
|
||||
<ignore name="geolite2-city"/>
|
||||
<ignore name="geolite2-country"/>
|
||||
<ignore name="plymouth"/>
|
||||
<package name="glibc-langpack-en"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="Cloud-Base-AmazonEC2">
|
||||
<package name="awscli2"/>
|
||||
<!-- These packages aren't available in Fedora ELN
|
||||
<package name="amazon-ec2-utils"/>
|
||||
<package name="ec2-instance-connect"/>
|
||||
-->
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="Cloud-Base-Azure">
|
||||
<package name="WALinuxAgent"/>
|
||||
<package name="kernel-modules"/>
|
||||
<package name="hyperv-daemons"/>
|
||||
</packages>
|
||||
<!-- These packages aren't available in Fedora ELN
|
||||
<packages type="image" patternType="plusRecommended" profiles="Cloud-Base-GCE">
|
||||
<package name="google-compute-engine-guest-configs"/>
|
||||
<package name="google-compute-engine-oslogin"/>
|
||||
<package name="google-guest-agent"/>
|
||||
</packages>
|
||||
-->
|
||||
<packages type="image" patternType="plusRecommended" profiles="Cloud-Base-Generic">
|
||||
<package name="qemu-guest-agent"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="Cloud-Base-UEFI-UKI">
|
||||
<package name="qemu-guest-agent"/>
|
||||
</packages>
|
||||
<!-- We don't have the Google support tools above, so we need cloud-init
|
||||
<packages type="uninstall" profiles="Cloud-Base-GCE">
|
||||
<package name="cloud-init"/>
|
||||
</packages>
|
||||
-->
|
||||
</image>
|
80
teams/eln/container.xml
Normal file
80
teams/eln/container.xml
Normal file
@ -0,0 +1,80 @@
|
||||
<image>
|
||||
<profiles>
|
||||
<profile name="ContainerCore" description="Container core packages">
|
||||
</profile>
|
||||
<profile name="Container-Base-Generic" description="Generic Base Container Image">
|
||||
<requires profile="ContainerCore"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<preferences profiles="Container-Base-Generic">
|
||||
<type image="oci">
|
||||
<containerconfig
|
||||
name="fedora"
|
||||
tag="eln"
|
||||
maintainer="Fedora Project Contributors <devel@lists.fedoraproject.org>"
|
||||
>
|
||||
<subcommand execute="/bin/bash"/>
|
||||
<labels>
|
||||
<label name="org.opencontainers.image.vendor" value="Fedora Project"/>
|
||||
<label name="org.opencontainers.image.url" value="https://fedoraproject.org/"/>
|
||||
<label name="org.opencontainers.image.license" value="MIT"/>
|
||||
<label name="org.opencontainers.image.name" value="fedora"/>
|
||||
<label name="org.opencontainers.image.version" value="eln"/>
|
||||
<!-- Legacy attributes for backward compatibility -->
|
||||
<label name="vendor" value="Fedora Project"/>
|
||||
<label name="license" value="MIT"/>
|
||||
<label name="name" value="fedora"/>
|
||||
<label name="version" value="eln"/>
|
||||
</labels>
|
||||
<environment>
|
||||
<env name="container" value="oci"/>
|
||||
</environment>
|
||||
</containerconfig>
|
||||
</type>
|
||||
<timezone>Etc/UTC</timezone>
|
||||
<locale>en_US</locale>
|
||||
<rpm-locale-filtering>true</rpm-locale-filtering>
|
||||
<rpm-excludedocs>true</rpm-excludedocs>
|
||||
</preferences>
|
||||
<packages type="bootstrap" profiles="ContainerCore">
|
||||
<ignore name="dosfstools"/>
|
||||
<ignore name="e2fsprogs"/>
|
||||
<ignore name="fuse-libs"/>
|
||||
<ignore name="gnupg2-smime"/>
|
||||
<ignore name="libss"/>
|
||||
<ignore name="kernel"/>
|
||||
<ignore name="*-firmware"/>
|
||||
<ignore name="geolite2-city"/>
|
||||
<ignore name="geolite2-country"/>
|
||||
<ignore name="pinentry"/>
|
||||
<ignore name="shared-mime-info"/>
|
||||
<ignore name="pinentry"/>
|
||||
<ignore name="trousers"/>
|
||||
<ignore name="xkeyboard-config"/>
|
||||
<ignore name="grubby"/>
|
||||
<ignore name="langpacks-en_GB"/>
|
||||
<ignore name="sssd-client"/>
|
||||
<package name="fedora-release-eln"/>
|
||||
<package name="bash"/>
|
||||
<package name="coreutils"/>
|
||||
<package name="rpm"/>
|
||||
<package name="util-linux-core"/>
|
||||
</packages>
|
||||
<packages type="bootstrap" profiles="Container-Base-Generic">
|
||||
<ignore name="glibc-langpack-en"/>
|
||||
<ignore name="langpacks-en"/>
|
||||
<package name="bzip2"/>
|
||||
<package name="gzip"/>
|
||||
<package name="sudo"/>
|
||||
<package name="rootfiles"/>
|
||||
<package name="tar"/>
|
||||
<package name="vim-minimal"/>
|
||||
<package name="dnf5"/>
|
||||
<package name="dnf5-plugins"/>
|
||||
<package name="glibc-minimal-langpack"/>
|
||||
<package name="systemd-standalone-sysusers"/>
|
||||
<package name="tzdata"/>
|
||||
<package name="xz"/>
|
||||
<package name="zstd"/>
|
||||
</packages>
|
||||
</image>
|
@ -4,8 +4,12 @@
|
||||
<requires profile="i3-Desktop"/>
|
||||
<requires profile="LiveInstall"/>
|
||||
</profile>
|
||||
<profile name="i3-Disk" description="i3 Spin Install Disk">
|
||||
<requires profile="i3-Desktop"/>
|
||||
<requires profile="BootDiskCore"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="i3-Live">
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="i3-Live,i3-Disk">
|
||||
<package name="fedora-release-i3"/>
|
||||
</packages>
|
||||
</image>
|
||||
|
@ -1,11 +1,29 @@
|
||||
<image>
|
||||
<profiles>
|
||||
<profile name="KDE-Live" description="KDE Plasma Spin Live DVD">
|
||||
<profile name="KDE-Desktop-Live" description="KDE Plasma Desktop Spin Live DVD">
|
||||
<requires profile="KDE-Desktop"/>
|
||||
<requires profile="LiveInstall"/>
|
||||
</profile>
|
||||
<profile name="KDE-Desktop-Disk" description="KDE Plasma Desktop Spin Install Disk">
|
||||
<requires profile="BootDiskCore"/>
|
||||
<requires profile="KDE-Desktop"/>
|
||||
</profile>
|
||||
<profile name="KDE-Mobile-Live" description="KDE Plasma Mobile Spin Live DVD">
|
||||
<requires profile="KDE-Mobile"/>
|
||||
<requires profile="LiveInstall"/>
|
||||
</profile>
|
||||
<profile name="KDE-Mobile-Disk" description="KDE Plasma Mobile Spin Install Disk">
|
||||
<requires profile="BootDiskCore"/>
|
||||
<requires profile="KDE-Mobile"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="KDE-Live">
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="KDE-Desktop-Disk,KDE-Desktop-Live">
|
||||
<package name="fedora-release-kde"/>
|
||||
</packages>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="KDE-Mobile-Disk,KDE-Mobile-Live">
|
||||
<package name="fedora-release-kde-mobile"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="KDE-Desktop-Disk,KDE-Desktop-Live">
|
||||
<package name="plasma-welcome-fedora"/>
|
||||
</packages>
|
||||
</image>
|
||||
|
@ -4,8 +4,12 @@
|
||||
<requires profile="LXDE-Desktop"/>
|
||||
<requires profile="LiveInstall"/>
|
||||
</profile>
|
||||
<profile name="LXDE-Disk" description="LXDE Spin Install Disk">
|
||||
<requires profile="LXDE-Desktop"/>
|
||||
<requires profile="BootDiskCore"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="LXDE-Live">
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="LXDE-Live,LXDE-Disk">
|
||||
<package name="fedora-release-lxde"/>
|
||||
</packages>
|
||||
</image>
|
||||
|
@ -4,8 +4,12 @@
|
||||
<requires profile="LXQt-Desktop"/>
|
||||
<requires profile="LiveInstall"/>
|
||||
</profile>
|
||||
<profile name="LXQt-Disk" description="LXQt Spin Install Disk">
|
||||
<requires profile="LXQt-Desktop"/>
|
||||
<requires profile="BootDiskCore"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="LXQt-Live">
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="LXQt-Live,LXQt-Disk">
|
||||
<package name="fedora-release-lxqt"/>
|
||||
</packages>
|
||||
</image>
|
||||
|
@ -4,8 +4,12 @@
|
||||
<requires profile="MATE-Desktop"/>
|
||||
<requires profile="LiveInstall"/>
|
||||
</profile>
|
||||
<profile name="MATE_Compiz-Disk" description="MATE-Compiz Spin Install Disk">
|
||||
<requires profile="MATE-Desktop"/>
|
||||
<requires profile="BootDiskCore"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="MATE_Compiz-Live">
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="MATE_Compiz-Live,MATE_Compiz-Disk">
|
||||
<package name="fedora-release-matecompiz"/>
|
||||
</packages>
|
||||
</image>
|
||||
|
15
teams/miraclewm.xml
Normal file
15
teams/miraclewm.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<image>
|
||||
<profiles>
|
||||
<profile name="MiracleWM-Live" description="MiracleWM Spin Live DVD">
|
||||
<requires profile="MiracleWM-Desktop"/>
|
||||
<requires profile="LiveInstall"/>
|
||||
</profile>
|
||||
<profile name="MiracleWM-Disk" description="MiracleWM Spin Install Disk">
|
||||
<requires profile="BootDiskCore"/>
|
||||
<requires profile="MiracleWM-Desktop"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="MiracleWM-Live,MiracleWM-Disk">
|
||||
<package name="fedora-release-miraclewm"/>
|
||||
</packages>
|
||||
</image>
|
96
teams/python.xml
Normal file
96
teams/python.xml
Normal file
@ -0,0 +1,96 @@
|
||||
<image>
|
||||
<profiles>
|
||||
<profile name="PythonClassroomCore" description="Core packages for Python Classroom">
|
||||
</profile>
|
||||
<profile name="PythonClassroomGNOMEDesktop" description="Desktop packages for Python Classroom">
|
||||
<requires profile="PythonClassroomCore"/>
|
||||
<requires profile="DesktopCommon"/>
|
||||
</profile>
|
||||
<profile name="Python-Classroom-Live" description="Python Classroom Lab Live DVD">
|
||||
<requires profile="PythonClassroomGNOMEDesktop"/>
|
||||
<requires profile="LiveInstall"/>
|
||||
</profile>
|
||||
<profile name="Python-Classroom-Disk" description="Python Classroom Lab Install Disk">
|
||||
<requires profile="PythonClassroomGNOMEDesktop"/>
|
||||
<requires profile="BootDiskCore"/>
|
||||
</profile>
|
||||
<profile name="Python-Classroom-Vagrant-libvirt" description="Python Classroom Lab Vagrant box for libvirt">
|
||||
<requires profile="PythonClassroomCore"/>
|
||||
<requires profile="Cloud-Base-Vagrant-libvirt"/>
|
||||
</profile>
|
||||
<profile name="Python-Classroom-Vagrant-VirtualBox" description="Python Classroom Lab Vagrant box for VirtualBox">
|
||||
<requires profile="PythonClassroomCore"/>
|
||||
<requires profile="Cloud-Base-Vagrant-VirtualBox"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="PythonClassroomCore">
|
||||
<package name="fedora-release"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="PythonClassroomCore">
|
||||
<namedCollection name="core"/>
|
||||
<namedCollection name="standard"/>
|
||||
<namedCollection name="python-classroom"/>
|
||||
<namedCollection name="python-science"/>
|
||||
<package name="langpacks-en"/>
|
||||
<package name="nano"/>
|
||||
<package name="openssh-clients"/>
|
||||
<package name="vim-enhanced"/>
|
||||
<package name="wget2-wget"/>
|
||||
<!-- No abrt -->
|
||||
<ignore name="abrt*"/>
|
||||
<!-- No legacy crontab -->
|
||||
<ignore name="cron*"/>
|
||||
<!-- Block unwanted Pythons from being installed with tox -->
|
||||
<ignore name="python2*"/>
|
||||
<ignore name="pypy"/>
|
||||
<ignore name="pypy2*"/>
|
||||
<!-- Block unnecessary extra Pythons from being installed with tox -->
|
||||
<ignore name="python3.8"/>
|
||||
<ignore name="python3.9"/>
|
||||
<ignore name="pypy3.9"/>
|
||||
<ignore name="python3.10"/>
|
||||
<ignore name="python3.11"/>
|
||||
<ignore name="python3.12"/>
|
||||
<!-- Remove LaTeX stack (rhbz#1862450, rhbz#1902354) -->
|
||||
<ignore name="texlive-base"/>
|
||||
<ignore name="texlive-latex"/>
|
||||
<!-- Remove gdal and proj to save ~600MB of space -->
|
||||
<!-- Cf. https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/LGC5IMMHZ4DM7GQNPAFC6GU362PPTN7O/ -->
|
||||
<ignore name="python3-gdal"/>
|
||||
<ignore name="proj"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="PythonClassroomGNOMEDesktop">
|
||||
<namedCollection name="base-graphical"/>
|
||||
<namedCollection name="desktop-accessibility"/>
|
||||
<namedCollection name="firefox"/>
|
||||
<namedCollection name="gnome-desktop"/>
|
||||
<namedCollection name="guest-desktop-agents"/>
|
||||
<namedCollection name="networkmanager-submodules"/>
|
||||
<package name="emacs"/>
|
||||
<package name="python3-matplotlib-tk"/>
|
||||
<package name="python3-pillow-tk"/>
|
||||
<package name="desktop-backgrounds-gnome"/>
|
||||
<!-- No printing -->
|
||||
<ignore name="system-config-printer*"/>
|
||||
<!-- No user docs -->
|
||||
<ignore name="gnome-user-docs"/>
|
||||
<!-- No inkscape -->
|
||||
<ignore name="inkscape*"/>
|
||||
<ignore name="GraphicsMagick*"/>
|
||||
<ignore name="ImageMagick*"/>
|
||||
<!-- Block extra GNOME applications -->
|
||||
<ignore name="gnome-boxes"/>
|
||||
<ignore name="gnome-calendar"/>
|
||||
<ignore name="gnome-clocks"/>
|
||||
<ignore name="gnome-contacts"/>
|
||||
<ignore name="gnome-disk-utility"/>
|
||||
<ignore name="gnome-documents"/>
|
||||
<ignore name="gnome-font-viewer"/>
|
||||
<ignore name="gnome-maps"/>
|
||||
<ignore name="gnome-photos"/>
|
||||
<ignore name="gnome-weather"/>
|
||||
<ignore name="grilo-plugins"/>
|
||||
<ignore name="totem"/>
|
||||
<ignore name="totem-nautilus"/>
|
||||
</packages>
|
||||
</image>
|
168
teams/scitech.xml
Normal file
168
teams/scitech.xml
Normal file
@ -0,0 +1,168 @@
|
||||
<image>
|
||||
<profiles>
|
||||
<profile name="ScientificCore" description="Core packages for Scientific">
|
||||
</profile>
|
||||
<profile name="ScientificDesktop" description="Desktop packages for Scientific">
|
||||
<requires profile="ScientificCore"/>
|
||||
<requires profile="KDE-Desktop"/>
|
||||
</profile>
|
||||
<profile name="Scientific_KDE-Live" description="Scientific KDE Lab Live DVD">
|
||||
<requires profile="ScientificDesktop"/>
|
||||
<requires profile="LiveInstall"/>
|
||||
</profile>
|
||||
<profile name="Scientific_KDE-Disk" description="Scientific KDE Lab Install Disk">
|
||||
<requires profile="ScientificDesktop"/>
|
||||
<requires profile="BootDiskCore"/>
|
||||
</profile>
|
||||
<profile name="Scientific-Vagrant-libvirt" description="Scientific Lab Vagrant box for libvirt">
|
||||
<requires profile="ScientificCore"/>
|
||||
<requires profile="VagrantCore"/>
|
||||
</profile>
|
||||
<profile name="Scientific-Vagrant-VirtualBox" description="Scientific Lab Vagrant box for VirtualBox">
|
||||
<requires profile="ScientificCore"/>
|
||||
<requires profile="VagrantCore"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<preferences profiles="Scientific-Vagrant-libvirt" arch="x86_64,aarch64">
|
||||
<type image="oem" format="vagrant"
|
||||
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="compress=zstd:1"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="100" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" console="serial" timeout="1"/>
|
||||
<size unit="G">30</size>
|
||||
<vagrantconfig provider="libvirt" virtualsize="30"/>
|
||||
<systemdisk>
|
||||
<volume name="@root=root"/>
|
||||
<volume name="home" parent="/"/>
|
||||
<volume name="var" parent="/"/>
|
||||
</systemdisk>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="Scientific-Vagrant-VirtualBox" arch="x86_64">
|
||||
<type image="oem" format="vagrant"
|
||||
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="compress=zstd:1"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="100" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" console="serial" timeout="1"/>
|
||||
<size unit="G">30</size>
|
||||
<vagrantconfig provider="virtualbox" virtualbox_guest_additions_present="true" virtualsize="30"/>
|
||||
<systemdisk>
|
||||
<volume name="@root=root"/>
|
||||
<volume name="home" parent="/"/>
|
||||
<volume name="var" parent="/"/>
|
||||
</systemdisk>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="ScientificDesktop">
|
||||
<package name="fedora-release-kde"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="ScientificCore">
|
||||
<namedCollection name="core"/>
|
||||
<namedCollection name="standard"/>
|
||||
<namedCollection name="engineering-and-scientific"/>
|
||||
<!-- Install the mandatory packages from dev-tools and dev-libs -->
|
||||
<namedCollection name="development-tools"/>
|
||||
<namedCollection name="development-libs"/>
|
||||
<namedCollection name="c-development"/>
|
||||
<namedCollection name="rpm-development-tools"/>
|
||||
<package name="langpacks-en"/>
|
||||
<!-- Other C++ libraries not included in groups -->
|
||||
<package name="blitz-devel"/>
|
||||
<package name="armadillo-devel"/>
|
||||
<!-- Misc related utilities -->
|
||||
<package name="ddd"/>
|
||||
<package name="valgrind"/>
|
||||
<!-- Python 3 and tools/libraries not included from the groups -->
|
||||
<package name="python3"/>
|
||||
<package name="python3-tools"/>
|
||||
<package name="python3-matplotlib"/>
|
||||
<package name="python3-scipy"/>
|
||||
<package name="python3-numpy"/>
|
||||
<package name="python3-ipython"/>
|
||||
<package name="python3-ipython-console"/>
|
||||
<package name="python3-ipython-notebook"/>
|
||||
<package name="python3-sympy"/>
|
||||
<package name="python3-networkx"/>
|
||||
<package name="python3-pandas"/>
|
||||
<!-- Include Java development tools -->
|
||||
<namedCollection name="java-development"/>
|
||||
<package name="apache-commons-math"/>
|
||||
<!-- fortran compiler -->
|
||||
<package name="gcc-gfortran"/>
|
||||
<!-- Julia -->
|
||||
<package name="julia" arch="x86_64"/>
|
||||
<package name="julia-doc" arch="x86_64"/>
|
||||
<package name="julia-devel" arch="x86_64"/>
|
||||
<!-- <package name="python3-spyder"/> --> <!-- FTI with Python 3.12, see rhbz#2220598 -->
|
||||
<package name="python3-spyder-kernels"/>
|
||||
<!-- writing & publishing -->
|
||||
<package name="emacs-nw"/>
|
||||
<package name="emacs-color-theme"/>
|
||||
<package name="vim-enhanced"/>
|
||||
<!-- Presentation, Bibliography & Document arrangement tools -->
|
||||
<package name="BibTool"/>
|
||||
<package name="pdfshuffler"/>
|
||||
<!-- Parallel/Distributed computing libraries/tools -->
|
||||
<package name="openmpi"/>
|
||||
<package name="openmpi-devel"/>
|
||||
<package name="valgrind-openmpi"/>
|
||||
<package name="libgomp"/>
|
||||
<package name="python3-mpi4py-openmpi"/>
|
||||
<package name="python3-mpi4py-mpich"/>
|
||||
<!-- Version control - A GUI for each as well -->
|
||||
<package name="subversion"/>
|
||||
<package name="git"/>
|
||||
<package name="mercurial"/>
|
||||
<!-- Deal with conflict between openmpi and emacs -->
|
||||
<!-- Cf. https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/3HFNRNDK52FP3O2IEX5MUBQEFS56U5PZ/ -->
|
||||
<package name="libotf"/>
|
||||
<package name="root"/>
|
||||
<!-- Misc tools -->
|
||||
<package name="screen"/>
|
||||
<package name="tmux"/>
|
||||
<package name="rlwrap"/>
|
||||
<package name="fig2ps"/>
|
||||
<package name="hevea"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="ScientificDesktop">
|
||||
<namedCollection name="firefox"/>
|
||||
<!-- Matplotlib backend -->
|
||||
<package name="python3-matplotlib-qt6"/>
|
||||
<!-- GUI for R -->
|
||||
<package name="rkward"/>
|
||||
<!-- writing & publishing -->
|
||||
<package name="emacs"/>
|
||||
<package name="scribus"/>
|
||||
<package name="lyx"/>
|
||||
<package name="kile"/>
|
||||
<!-- Version control GUIs -->
|
||||
<package name="rapidsvn"/>
|
||||
<package name="git-gui"/>
|
||||
<package name="mercurial-hgk"/>
|
||||
<package name="backintime-qt"/>
|
||||
<package name="root-gui-fitpanel"/>
|
||||
<!-- Drawing, picture viewing tools, visualization tools -->
|
||||
<package name="dia"/>
|
||||
<package name="inkscape"/>
|
||||
<package name="xzgv"/>
|
||||
<package name="gimp"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="Scientific-Vagrant-libvirt">
|
||||
<package name="qemu-guest-agent"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="Scientific-Vagrant-VirtualBox">
|
||||
<package name="virtualbox-guest-additions"/>
|
||||
</packages>
|
||||
</image>
|
56
teams/server/premier-p550.xml
Normal file
56
teams/server/premier-p550.xml
Normal file
@ -0,0 +1,56 @@
|
||||
<image>
|
||||
<profiles>
|
||||
<profile name="ServerCore" description="Server Edition core packages">
|
||||
<requires profile="BaseCommon"/>
|
||||
<requires profile="BootCore"/>
|
||||
</profile>
|
||||
<profile name="ServerDisk" description="Server Edition disk configuration">
|
||||
<requires profile="ServerCore"/>
|
||||
</profile>
|
||||
<profile name="Server-Host-PremierP550" description="SiFive HiFive Premier P550 Server Host Image">
|
||||
<requires profile="ServerDisk"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<preferences profiles="ServerDisk" arch="riscv64">
|
||||
<type image="oem"
|
||||
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="x-systemd.growfs,compress=zstd:1"
|
||||
kernelcmdline="earlycon console=ttyS0,115200n8"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="100" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" console="serial" timeout="3" timeout_style="countdown"/>
|
||||
<size unit="G">10</size>
|
||||
<systemdisk>
|
||||
<volume name="@root=root"/>
|
||||
<volume name="home" parent="/"/>
|
||||
<volume name="var" parent="/"/>
|
||||
</systemdisk>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="ServerCore">
|
||||
<package name="fedora-release-server"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="ServerCore">
|
||||
<namedCollection name="server-product-environment"/>
|
||||
<namedCollection name="domain-client"/>
|
||||
<namedCollection name="arm-tools" arch="aarch64"/>
|
||||
<ignore name="initial-setup-gui"/>
|
||||
<ignore name="plymouth"/>
|
||||
<package name="btrfs-progs" arch="riscv64"/>
|
||||
<package name="glibc-all-langpacks"/>
|
||||
<package name="haveged" arch="riscv64"/>
|
||||
<package name="initial-setup"/>
|
||||
<package name="lvm2"/>
|
||||
<package name="xfsprogs"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="Server-Host-PremierP550">
|
||||
<namedCollection name="container-management"/>
|
||||
<package name="dracut-config-rescue"/>
|
||||
<package name="kernel"/>
|
||||
<package name="linux-firmware"/>
|
||||
</packages>
|
||||
</image>
|
212
teams/server/server.xml
Normal file
212
teams/server/server.xml
Normal file
@ -0,0 +1,212 @@
|
||||
<image>
|
||||
<profiles>
|
||||
<profile name="ServerCore" description="Server Edition core packages">
|
||||
<requires profile="BaseCommon"/>
|
||||
<requires profile="BootCore"/>
|
||||
</profile>
|
||||
<profile name="ServerVMDisk" description="Server Edition VM disk configuration">
|
||||
<requires profile="ServerCore"/>
|
||||
</profile>
|
||||
<profile name="ServerDisk" description="Server Edition disk configuration">
|
||||
<requires profile="ServerCore"/>
|
||||
</profile>
|
||||
<profile name="Server-Guest-Generic" description="Generic Server Guest Image">
|
||||
<requires profile="ServerVMDisk"/>
|
||||
</profile>
|
||||
<profile name="Server-Host-Generic" description="Generic Server Host Image">
|
||||
<requires profile="ServerDisk"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<preferences profiles="ServerVMDisk" arch="x86_64,aarch64">
|
||||
<type image="oem" format="qcow2"
|
||||
filesystem="xfs"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" efipartsize="100" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" console="serial" timeout="0"/>
|
||||
<size unit="G">10</size>
|
||||
<systemdisk>
|
||||
<volume name="@root"/>
|
||||
</systemdisk>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="ServerVMDisk" arch="ppc64le">
|
||||
<type image="oem" format="qcow2"
|
||||
filesystem="xfs"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" firmware="ofw"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" console="serial" timeout="0"/>
|
||||
<size unit="G">10</size>
|
||||
<systemdisk>
|
||||
<volume name="@root"/>
|
||||
</systemdisk>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="ServerVMDisk" arch="s390x">
|
||||
<type image="oem" format="qcow2"
|
||||
filesystem="xfs"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="zipl" timeout="1"/>
|
||||
<size unit="G">10</size>
|
||||
<systemdisk>
|
||||
<volume name="@root"/>
|
||||
</systemdisk>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="ServerVMDisk" arch="riscv64">
|
||||
<type image="oem" format="qcow2"
|
||||
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="x-systemd.growfs,compress=zstd:1"
|
||||
kernelcmdline="earlycon console=ttyS0,115200n8"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="100" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" console="serial" timeout="0"/>
|
||||
<size unit="G">10</size>
|
||||
<systemdisk>
|
||||
<volume name="@root=root"/>
|
||||
<volume name="home" parent="/"/>
|
||||
<volume name="var" parent="/"/>
|
||||
</systemdisk>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="ServerDisk" arch="x86_64">
|
||||
<type image="oem"
|
||||
filesystem="xfs"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" efipartsize="100" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" console="serial" timeout="3" timeout_style="menu"/>
|
||||
<size unit="G">10</size>
|
||||
<systemdisk>
|
||||
<volume name="@root"/>
|
||||
</systemdisk>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="ServerDisk" arch="aarch64">
|
||||
<type image="oem"
|
||||
filesystem="xfs"
|
||||
devicepersistency="by-uuid" force_mbr="true"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" efipartsize="100" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" console="serial" timeout="3" timeout_style="menu"/>
|
||||
<size unit="G">10</size>
|
||||
<systemdisk>
|
||||
<volume name="@root"/>
|
||||
</systemdisk>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="ServerDisk" arch="ppc64le">
|
||||
<type image="oem"
|
||||
filesystem="xfs"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" firmware="ofw"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" console="serial" timeout="3" timeout_style="menu"/>
|
||||
<size unit="G">10</size>
|
||||
<systemdisk>
|
||||
<volume name="@root"/>
|
||||
</systemdisk>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="ServerDisk" arch="s390x">
|
||||
<type image="oem"
|
||||
filesystem="xfs"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="zipl" timeout="3"/>
|
||||
<size unit="G">10</size>
|
||||
<systemdisk>
|
||||
<volume name="@root"/>
|
||||
</systemdisk>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<preferences profiles="ServerDisk" arch="riscv64">
|
||||
<type image="oem"
|
||||
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="x-systemd.growfs,compress=zstd:1"
|
||||
kernelcmdline="earlycon console=ttyS0,115200n8"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="100" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" console="serial" timeout="3" timeout_style="menu"/>
|
||||
<size unit="G">10</size>
|
||||
<systemdisk>
|
||||
<volume name="@root=root"/>
|
||||
<volume name="home" parent="/"/>
|
||||
<volume name="var" parent="/"/>
|
||||
</systemdisk>
|
||||
<oemconfig>
|
||||
<oem-resize>false</oem-resize>
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="ServerCore">
|
||||
<package name="fedora-release-server"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="ServerCore">
|
||||
<namedCollection name="server-product-environment"/>
|
||||
<namedCollection name="domain-client"/>
|
||||
<namedCollection name="arm-tools" arch="aarch64"/>
|
||||
<ignore name="initial-setup-gui"/>
|
||||
<ignore name="plymouth"/>
|
||||
<package name="btrfs-progs" arch="riscv64"/>
|
||||
<package name="glibc-all-langpacks"/>
|
||||
<package name="haveged" arch="riscv64"/>
|
||||
<package name="initial-setup"/>
|
||||
<package name="lvm2"/>
|
||||
<package name="xfsprogs"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="Server-Guest-Generic">
|
||||
<ignore name="dracut-config-rescue"/>
|
||||
<ignore name="kernel"/>
|
||||
<ignore name="*-firmware"/>
|
||||
<ignore name="smartmontools"/>
|
||||
<ignore name="smartmontools-selinux"/>
|
||||
<namedCollection name="guest-agents"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="Server-Host-Generic">
|
||||
<namedCollection name="container-management"/>
|
||||
<package name="dracut-config-rescue"/>
|
||||
<package name="kernel"/>
|
||||
<package name="linux-firmware"/>
|
||||
</packages>
|
||||
</image>
|
@ -4,8 +4,12 @@
|
||||
<requires profile="SoaS-Desktop"/>
|
||||
<requires profile="LiveInstall"/>
|
||||
</profile>
|
||||
<profile name="SoaS-Disk" description="Sugar on a Stick Install Disk">
|
||||
<requires profile="SoaS-Desktop"/>
|
||||
<requires profile="BootDiskCore"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="SoaS-Live">
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="SoaS-Live,SoaS-Disk">
|
||||
<package name="fedora-release-soas"/>
|
||||
</packages>
|
||||
</image>
|
||||
|
@ -4,8 +4,12 @@
|
||||
<requires profile="Sway-Desktop"/>
|
||||
<requires profile="LiveInstall"/>
|
||||
</profile>
|
||||
<profile name="Sway-Disk" description="Sway Spin Install Disk">
|
||||
<requires profile="Sway-Desktop"/>
|
||||
<requires profile="BootDiskCore"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="Sway-Live">
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="Sway-Live,Sway-Disk">
|
||||
<package name="fedora-release-sway"/>
|
||||
</packages>
|
||||
</image>
|
||||
|
@ -4,8 +4,15 @@
|
||||
<requires profile="GNOME-Desktop"/>
|
||||
<requires profile="LiveInstall"/>
|
||||
</profile>
|
||||
<profile name="Workstation-Disk" description="Workstation Edition Install Disk">
|
||||
<requires profile="GNOME-Desktop"/>
|
||||
<requires profile="BootDiskCore"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="Workstation-Live">
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="Workstation-Live,Workstation-Disk">
|
||||
<package name="fedora-release-workstation"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="Workstation-Live">
|
||||
<package name="anaconda-webui"/>
|
||||
</packages>
|
||||
</image>
|
||||
|
@ -4,8 +4,12 @@
|
||||
<requires profile="Xfce-Desktop"/>
|
||||
<requires profile="LiveInstall"/>
|
||||
</profile>
|
||||
<profile name="Xfce-Disk" description="Xfce Spin Install Disk">
|
||||
<requires profile="Xfce-Desktop"/>
|
||||
<requires profile="BootDiskCore"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="Xfce-Live">
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="Xfce-Live,Xfce-Disk">
|
||||
<package name="fedora-release-xfce"/>
|
||||
</packages>
|
||||
</image>
|
||||
|
12
tmt/plans/asahi/build-fex-rootfs.fmf
Normal file
12
tmt/plans/asahi/build-fex-rootfs.fmf
Normal file
@ -0,0 +1,12 @@
|
||||
summary: Build FEX RootFS
|
||||
discover:
|
||||
how: fmf
|
||||
adjust:
|
||||
enabled: false
|
||||
when: arch != x86_64
|
||||
environment:
|
||||
image_type: erofs
|
||||
image_profile: FEX-RootFS
|
||||
kiwi_file: Fedora.kiwi
|
||||
execute:
|
||||
how: tmt
|
9
tmt/plans/base/minimal-disk.fmf
Normal file
9
tmt/plans/base/minimal-disk.fmf
Normal file
@ -0,0 +1,9 @@
|
||||
summary: Build Minimal disk image
|
||||
discover:
|
||||
how: fmf
|
||||
environment:
|
||||
image_type: oem
|
||||
image_profile: Minimal-Disk
|
||||
kiwi_file: Fedora.kiwi
|
||||
execute:
|
||||
how: tmt
|
@ -4,5 +4,6 @@ discover:
|
||||
environment:
|
||||
image_type: oem
|
||||
image_profile: Cloud-Base-AmazonEC2
|
||||
kiwi_file: Fedora.kiwi
|
||||
execute:
|
||||
how: tmt
|
||||
|
@ -4,5 +4,6 @@ discover:
|
||||
environment:
|
||||
image_type: oem
|
||||
image_profile: Cloud-Base-Azure
|
||||
kiwi_file: Fedora.kiwi
|
||||
execute:
|
||||
how: tmt
|
||||
|
@ -4,5 +4,6 @@ discover:
|
||||
environment:
|
||||
image_type: oem
|
||||
image_profile: Cloud-Base-GCE
|
||||
kiwi_file: Fedora.kiwi
|
||||
execute:
|
||||
how: tmt
|
||||
|
@ -4,5 +4,6 @@ discover:
|
||||
environment:
|
||||
image_type: oem
|
||||
image_profile: Cloud-Base-Generic
|
||||
kiwi_file: Fedora.kiwi
|
||||
execute:
|
||||
how: tmt
|
||||
|
@ -4,5 +4,6 @@ discover:
|
||||
environment:
|
||||
image_type: oem
|
||||
image_profile: Cloud-Base-UEFI-UKI
|
||||
kiwi_file: Fedora.kiwi
|
||||
execute:
|
||||
how: tmt
|
||||
|
9
tmt/plans/container/base/build-generic-init.fmf
Normal file
9
tmt/plans/container/base/build-generic-init.fmf
Normal file
@ -0,0 +1,9 @@
|
||||
summary: Build Init Generic base container image
|
||||
discover:
|
||||
how: fmf
|
||||
environment:
|
||||
image_type: oci
|
||||
image_profile: Container-Base-Generic-Init
|
||||
kiwi_file: Fedora.kiwi
|
||||
execute:
|
||||
how: tmt
|
@ -4,5 +4,6 @@ discover:
|
||||
environment:
|
||||
image_type: oci
|
||||
image_profile: Container-Base-Generic-Minimal
|
||||
kiwi_file: Fedora.kiwi
|
||||
execute:
|
||||
how: tmt
|
||||
|
@ -4,5 +4,6 @@ discover:
|
||||
environment:
|
||||
image_type: oci
|
||||
image_profile: Container-Base-Generic
|
||||
kiwi_file: Fedora.kiwi
|
||||
execute:
|
||||
how: tmt
|
||||
|
@ -4,5 +4,6 @@ discover:
|
||||
environment:
|
||||
image_type: oci
|
||||
image_profile: Container-Toolbox
|
||||
kiwi_file: Fedora.kiwi
|
||||
execute:
|
||||
how: tmt
|
||||
|
9
tmt/plans/desktop/kde/build-desktop-disk.fmf
Normal file
9
tmt/plans/desktop/kde/build-desktop-disk.fmf
Normal file
@ -0,0 +1,9 @@
|
||||
summary: Build KDE Desktop disk image
|
||||
discover:
|
||||
how: fmf
|
||||
environment:
|
||||
image_type: oem
|
||||
image_profile: KDE-Desktop-Disk
|
||||
kiwi_file: Fedora.kiwi
|
||||
execute:
|
||||
how: tmt
|
18
tmt/plans/desktop/kde/build-desktop-live.fmf
Normal file
18
tmt/plans/desktop/kde/build-desktop-live.fmf
Normal file
@ -0,0 +1,18 @@
|
||||
summary: Build KDE Desktop live image
|
||||
discover:
|
||||
how: fmf
|
||||
environment:
|
||||
image_type: iso
|
||||
image_profile: KDE-Desktop-Live
|
||||
kiwi_file: Fedora.kiwi
|
||||
execute:
|
||||
how: tmt
|
||||
provision:
|
||||
how: artemis
|
||||
hardware:
|
||||
cpu:
|
||||
# Add more CPUs to make mksquashfs faster
|
||||
processors: ">= 8"
|
||||
disk:
|
||||
# Increase disk size for better IO performance
|
||||
- size: '>=500 GiB'
|
9
tmt/plans/desktop/workstation/build-disk.fmf
Normal file
9
tmt/plans/desktop/workstation/build-disk.fmf
Normal file
@ -0,0 +1,9 @@
|
||||
summary: Build Workstation disk image
|
||||
discover:
|
||||
how: fmf
|
||||
environment:
|
||||
image_type: oem
|
||||
image_profile: Workstation-Disk
|
||||
kiwi_file: Fedora.kiwi
|
||||
execute:
|
||||
how: tmt
|
18
tmt/plans/desktop/workstation/build-live.fmf
Normal file
18
tmt/plans/desktop/workstation/build-live.fmf
Normal file
@ -0,0 +1,18 @@
|
||||
summary: Build Workstation live image
|
||||
discover:
|
||||
how: fmf
|
||||
environment:
|
||||
image_type: iso
|
||||
image_profile: Workstation-Live
|
||||
kiwi_file: Fedora.kiwi
|
||||
execute:
|
||||
how: tmt
|
||||
provision:
|
||||
how: artemis
|
||||
hardware:
|
||||
cpu:
|
||||
# Add more CPUs to make mksquashfs faster
|
||||
processors: ">= 8"
|
||||
disk:
|
||||
# Increase disk size for better IO performance
|
||||
- size: '>=500 GiB'
|
9
tmt/plans/server/guest/build-generic.fmf
Normal file
9
tmt/plans/server/guest/build-generic.fmf
Normal file
@ -0,0 +1,9 @@
|
||||
summary: Build Generic guest image
|
||||
discover:
|
||||
how: fmf
|
||||
environment:
|
||||
image_type: oem
|
||||
image_profile: Server-Guest-Generic
|
||||
kiwi_file: Fedora.kiwi
|
||||
execute:
|
||||
how: tmt
|
9
tmt/plans/server/host/build-generic.fmf
Normal file
9
tmt/plans/server/host/build-generic.fmf
Normal file
@ -0,0 +1,9 @@
|
||||
summary: Build Generic host image
|
||||
discover:
|
||||
how: fmf
|
||||
environment:
|
||||
image_type: oem
|
||||
image_profile: Server-Host-Generic
|
||||
kiwi_file: Fedora.kiwi
|
||||
execute:
|
||||
how: tmt
|
@ -4,5 +4,6 @@ discover:
|
||||
environment:
|
||||
image_type: oem
|
||||
image_profile: Cloud-Base-Vagrant-libvirt
|
||||
kiwi_file: Fedora.kiwi
|
||||
execute:
|
||||
how: tmt
|
||||
|
@ -7,5 +7,6 @@ adjust:
|
||||
environment:
|
||||
image_type: oem
|
||||
image_profile: Cloud-Base-Vagrant-VirtualBox
|
||||
kiwi_file: Fedora.kiwi
|
||||
execute:
|
||||
how: tmt
|
||||
|
@ -9,6 +9,7 @@ require:
|
||||
framework: shell
|
||||
path: /
|
||||
test: |
|
||||
./kiwi-build --debug --image-type="$image_type" --image-profile="$image_profile" --kiwi-description-dir="${TMT_TREE}" --output-dir="${TMT_TEST_DATA}"
|
||||
rm -rf "${TMT_TEST_DATA}/build/image-root"
|
||||
./kiwi-build --debug --image-type="$image_type" --image-profile="$image_profile" --kiwi-description-dir="${TMT_TREE}" --kiwi-file="$kiwi_file" --output-dir="${TMT_TEST_DATA}" --image-release="$(date --utc +'%Y%m%d.%H%M')"
|
||||
mv ${TMT_TEST_DATA}-build/build/image-root.log ${TMT_TEST_DATA}
|
||||
rm -rf "${TMT_TEST_DATA}-build"
|
||||
duration: 60m
|
||||
|
@ -3,8 +3,9 @@ echo "###" "$0" "$@"
|
||||
|
||||
# set arch-specific variables
|
||||
case "$(uname -m)" in
|
||||
aarch64) arch="aa64"; ARCH="AA64";;
|
||||
x86_64) arch="x64"; ARCH="X64";;
|
||||
aarch64) arch="aa64"; ARCH="AA64";;
|
||||
riscv64) arch="riscv64"; ARCH="RISCV64";;
|
||||
x86_64) arch="x64"; ARCH="X64";;
|
||||
esac
|
||||
|
||||
# figure where shim.efi and BOOT.CSV are located
|
||||
|
Loading…
x
Reference in New Issue
Block a user