Compare commits
12
Commits
a877b9421f
...
horal
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
091641729e | ||
|
|
82193074ed | ||
|
|
dfc49a5a10 | ||
|
|
2eefd303c7 | ||
|
|
92b34d1d31 | ||
|
|
88762a0d1b | ||
|
|
25932f1e07 | ||
|
|
07be924499 | ||
|
|
a3e583adc1 | ||
|
|
1576599e80 | ||
|
|
749d86442a | ||
|
|
2240aa868e |
+3
-3
@@ -9,9 +9,9 @@
|
||||
<preferences>
|
||||
<version>44</version>
|
||||
<packagemanager>dnf5</packagemanager>
|
||||
<locale>en_US</locale>
|
||||
<keytable>us</keytable>
|
||||
<timezone>UTC</timezone>
|
||||
<locale>cs_CZ</locale>
|
||||
<keytable>cz</keytable>
|
||||
<timezone>MET</timezone>
|
||||
<release-version>44</release-version>
|
||||
</preferences>
|
||||
<include from="this://./repositories/core.xml"/>
|
||||
|
||||
@@ -23,7 +23,7 @@ Set up your development environment and run the image build (substitute `<image_
|
||||
# Install kiwi
|
||||
[]$ sudo dnf --assumeyes install kiwi kiwi-systemdeps distribution-gpg-keys
|
||||
# Run the image build
|
||||
[]$ sudo ./kiwi-build --kiwi-file=Fedora.kiwi --image-type=<image_type> --image-profile=<image_profile> --output-dir ./outdir
|
||||
[]$ sudo ./kiwi-build --kiwi-file=Fedora.kiwi --image-type=iso --image-profile=Workstation-Live --output-dir ./outdir
|
||||
```
|
||||
|
||||
## CI information
|
||||
|
||||
+15
-4
@@ -2,6 +2,7 @@
|
||||
<profiles>
|
||||
<profile name="BootCore" description="Boot core packages"/>
|
||||
<profile name="BootCoreUKI" description="Boot core packages for UKI"/>
|
||||
<profile name="BootCoreLive" description="Boot core packages for Live DVDs"/>
|
||||
<profile name="BootDiskCore" description="Boot disk core configuration">
|
||||
<requires profile="BaseCommon"/>
|
||||
<requires profile="HardwareCommon"/>
|
||||
@@ -81,10 +82,10 @@
|
||||
</oemconfig>
|
||||
</type>
|
||||
</preferences>
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="BootCore,BootCoreUKI">
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="BootCore,BootCoreUKI,BootCoreLive">
|
||||
<package name="grubby"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="BootCore">
|
||||
<packages type="image" patternType="plusRecommended" profiles="BootCore,BootCoreLive">
|
||||
<package name="grub2-efi-aa64" arch="aarch64"/>
|
||||
<package name="grub2-efi-aa64-modules" arch="aarch64"/>
|
||||
<package name="grub2-efi-riscv64" arch="riscv64"/>
|
||||
@@ -101,10 +102,19 @@
|
||||
<package name="shim-signed-ia32" arch="x86_64"/>
|
||||
<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"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="BootCore">
|
||||
<ignore name="kernel-*debug*"/>
|
||||
<package name="kernel-core"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="BootCoreLive">
|
||||
<ignore name="kernel-*debug*"/>
|
||||
<!-- Use kernel-uki-dtbloader for aarch64 -->
|
||||
<package name="kernel-core" arch="x86_64,riscv64,ppc64le,s390x"/>
|
||||
<package name="kernel-uki-dtbloader" arch="aarch64"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="BootCoreUKI">
|
||||
<package name="shim-signed-aa64" arch="aarch64"/>
|
||||
<package name="shim-signed-ia32" arch="x86_64"/>
|
||||
@@ -116,13 +126,14 @@
|
||||
<package name="python3-virt-firmware"/>
|
||||
<package name="uki-direct"/>
|
||||
</packages>
|
||||
<packages type="iso" patternType="plusRecommended" profiles="BootCore">
|
||||
<packages type="iso" patternType="plusRecommended" profiles="BootCore,BootCoreLive">
|
||||
<package name="grub2-efi-aa64-cdboot" arch="aarch64"/>
|
||||
<package name="grub2-efi-riscv64-cdboot" arch="riscv64"/>
|
||||
<package name="grub2-efi-ia32-cdboot" arch="x86_64"/>
|
||||
<package name="grub2-efi-x64-cdboot" arch="x86_64"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="BootDiskCore">
|
||||
<ignore name="kernel-*debug*"/>
|
||||
<package name="arm-image-installer" arch="aarch64"/>
|
||||
<package name="glibc-all-langpacks"/>
|
||||
<package name="kernel"/>
|
||||
|
||||
@@ -14,5 +14,98 @@
|
||||
<package name="mediawriter"/>
|
||||
<ignore name="gfs2-utils"/>
|
||||
<ignore name="reiserfs-utils"/>
|
||||
<!-- HoralOS -->
|
||||
<package name="rogue"/>
|
||||
<package name="ularn"/>
|
||||
<package name="nethack"/>
|
||||
<package name="nethack-vultures"/>
|
||||
<package name="slashem"/>
|
||||
<package name="angband"/>
|
||||
<!-- <package name="hyperrogue"/> -->
|
||||
<package name="bsd-games"/>
|
||||
<package name="fortune-mod"/>
|
||||
<!-- <package name="cataclysm-dda"/> -->
|
||||
<!-- <package name="cataclysm-dda-tiles"/> -->
|
||||
<!-- <package name="chocolate-doom"/> -->
|
||||
<!-- <package name="freedoom"/> -->
|
||||
<!-- <package name="freedoom-freedm"/> -->
|
||||
<!-- <package name="freedoom2"/> -->
|
||||
<package name=" gnome-mines"/>
|
||||
<package name="quadrapassel"/>
|
||||
<package name="gnome-robots"/>
|
||||
<package name="gnome-nibbles"/>
|
||||
<package name="gnome-chess"/>
|
||||
<package name="gnome-sudoku"/>
|
||||
<!-- <package name="pingus"/> -->
|
||||
<!-- <package name="minetest"/> -->
|
||||
<!-- <package name="assaultcube"/> -->
|
||||
<!-- <package name="xblast"/> -->
|
||||
<!-- <package name="armacycles-ad"/> -->
|
||||
<!-- <package name="armacycles-ad-dedicated"/> -->
|
||||
<!-- <package name="hedgewars"/> -->
|
||||
<!-- <package name="tuxanci"/> -->
|
||||
<!-- <package name="supertuxkart"/> -->
|
||||
<!-- <package name="supertux"/> -->
|
||||
<!-- dev version -->
|
||||
<!-- <package name="wesnoth"/> -->
|
||||
<package name="htop"/>
|
||||
<package name="vim"/>
|
||||
<package name="gvim"/>
|
||||
<package name="tmux"/>
|
||||
<package name="ranger"/>
|
||||
<package name="picocom"/>
|
||||
<package name="dos2unix"/>
|
||||
<package name="hexchat"/>
|
||||
<package name="fractal"/>
|
||||
<package name="bvi"/>
|
||||
<package name="bc"/>
|
||||
<!-- <package name="profile-sync-daemon"/> -->
|
||||
<package name="p7zip"/>
|
||||
<package name="unrar"/>
|
||||
<package name="borgbackup"/>
|
||||
<package name="remmina"/>
|
||||
<package name="libreoffice-langpack-cs"/>
|
||||
<package name="gcc"/>
|
||||
<package name="gcc-c++"/>
|
||||
<!-- <package name="geany"/> -->
|
||||
<package name="gdb"/>
|
||||
<package name="go"/>
|
||||
<package name="code"/>
|
||||
<package name="xournalpp"/>
|
||||
<package name="drawing"/>
|
||||
<package name="gimp"/>
|
||||
<!-- <package name="nomacs"/> -->
|
||||
<package name="decibels"/>
|
||||
<package name="testdisk"/>
|
||||
<package name="netcat"/>
|
||||
<package name="telnet"/>
|
||||
<package name="nmap"/>
|
||||
<package name="wireshark"/>
|
||||
<package name="tcpdump"/>
|
||||
<package name="aircrack-ng"/>
|
||||
<package name="tor"/>
|
||||
<package name="torsocks"/>
|
||||
<package name="wireguard-tools"/>
|
||||
<package name="transmission"/>
|
||||
<package name="ddrescue"/>
|
||||
<package name="gdu"/>
|
||||
<package name="virtualbox-guest-additions"/>
|
||||
<!-- <package name="openh264"/> -->
|
||||
<!-- <package name="mozilla-openh264"/> -->
|
||||
<package name="libavcodec-freeworld"/>
|
||||
<package name="mesa-va-drivers-freeworld"/>
|
||||
<!-- <package name="mesa-vdpau-drivers-freeworld"/> -->
|
||||
<package name="libva"/>
|
||||
<package name="libva-utils"/>
|
||||
<package name="libva-intel-driver"/>
|
||||
<package name="libva-nvidia-driver"/>
|
||||
<package name="intel-media-driver"/>
|
||||
<package name="gstreamer1-vaapi"/>
|
||||
<!-- <package name="nvidia-vaapi-driver"/> -->
|
||||
<namedCollection name="multimedia"/>
|
||||
|
||||
<!-- COPR-->
|
||||
<package name="umoria"/>
|
||||
<package name="ventoy"/>
|
||||
</packages>
|
||||
</image>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<profiles>
|
||||
<profile name="LiveInstall" description="Live Install ISO">
|
||||
<requires profile="BaseCommon"/>
|
||||
<requires profile="BootCore"/>
|
||||
<requires profile="BootCoreLive"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<preferences profiles="LiveInstall" arch="x86_64">
|
||||
|
||||
@@ -419,7 +419,7 @@ FOE
|
||||
chmod a+x /usr/share/applications/fedora-design-team.desktop
|
||||
|
||||
# Use Powerline in bash
|
||||
cat >> $HOME/.bashrc << FOE
|
||||
cat >> /etc/profile.d/powerline-shell.sh << FOE
|
||||
# Enable powerline daemon
|
||||
if [ -f `which powerline-daemon` ]; then
|
||||
powerline-daemon -q
|
||||
@@ -428,6 +428,7 @@ if [ -f `which powerline-daemon` ]; then
|
||||
. /usr/share/powerline/bash/powerline.sh
|
||||
fi
|
||||
FOE
|
||||
chmod 644 /etc/profile.d/powerline-shell.sh
|
||||
# End powerline override
|
||||
|
||||
# Override the favorite desktop application in Dash
|
||||
@@ -467,6 +468,36 @@ if [[ "$kiwi_profiles" == *"WSL"* ]] && [[ "$kiwi_iname" == *"ELN"* ]]; then
|
||||
wsl-setup --name Fedora-ELN
|
||||
fi
|
||||
|
||||
#======================================
|
||||
# Flatpak
|
||||
#--------------------------------------
|
||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
flatpak install flathub org.develz.Crawl -y
|
||||
flatpak install flathub net.wz2100.wz2100 -y
|
||||
flatpak install flathub org.openttd.OpenTTD -y
|
||||
flatpak install flathub io.github.spacingbat3.webcord -y
|
||||
flatpak install flathub com.github.tmewett.BrogueCE -y
|
||||
#flatpak install flathub org.cataclysmdda.CataclysmDDA -y
|
||||
flatpak install flathub org.wesnoth.Wesnoth -y
|
||||
flatpak install flathub org.gnome.World.PikaBackup -y
|
||||
flatpak install flathub com.github.tchx84.Flatseal -y
|
||||
#flatpak install flathub ca.desrt.dconf-editor -y
|
||||
#flatpak install flathub com.discordapp.Discord -y
|
||||
#flatpak install flathub net.supertuxkart.SuperTuxKart -y
|
||||
#flatpak install flathub org.wesnoth.Wesnoth//stable -y
|
||||
#flatpak install flathub net.minetest.Minetest -y
|
||||
#flatpak install flathub org.mozilla.firefox -y
|
||||
#flatpak install flathub org.gimp.GIMP -y
|
||||
#flatpak install flathub io.github.Hexchat -y
|
||||
#flatpak install flathub org.gnome.Nibbles -y
|
||||
#flatpak install flathub org.gnome.Mines -y
|
||||
#flatpak install flathub org.gnome.Robots -y
|
||||
#flatpak install flathub org.gnome.Quadrapassel -y
|
||||
#flatpak install flathub org.seul.pingus -y
|
||||
#flatpak install flathub org.hedgewars.Hedgewars -y
|
||||
# need own ffmpeg to work with vaapi
|
||||
flatpak install flathub org.videolan.VLC -y
|
||||
|
||||
#======================================
|
||||
# Finalization steps
|
||||
#--------------------------------------
|
||||
|
||||
+7
-22
@@ -16,7 +16,7 @@ usage() {
|
||||
exit 255
|
||||
}
|
||||
|
||||
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" -- "$@")
|
||||
optTemp=$(getopt --options '+k:,f:,i,b:,o:,t:,p:,r:,d,h' --longoptions 'kiwi-description-dir:,kiwi-file:,isolated,kiwi-bundle-format:,output-dir:,image-type:,image-profile:,image-release:,debug,help' --name "$kiwibuildsh" -- "$@")
|
||||
eval set -- "$optTemp"
|
||||
unset optTemp
|
||||
|
||||
@@ -29,6 +29,7 @@ kiwi_isolated=
|
||||
# For compatibility with older scripts where these did not exist
|
||||
kiwi_description_dir="./"
|
||||
kiwi_file="Fedora.kiwi"
|
||||
kiwi_bundle_format=
|
||||
kiwibuild_extra_args=
|
||||
|
||||
while true; do
|
||||
@@ -36,6 +37,7 @@ while true; do
|
||||
-i|--isolated) kiwi_isolated=1; shift ;;
|
||||
-k|--kiwi-description-dir) kiwi_description_dir="$2" ; shift 2 ;;
|
||||
-f|--kiwi-file) kiwi_file="$2" ; shift 2 ;;
|
||||
-b|--kiwi-bundle-format) kiwi_bundle_format="$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 ;;
|
||||
@@ -54,8 +56,10 @@ if [ -z "$output_dir" ] || [ -z "$image_type" ] || [ -z "$image_profile" ] || [
|
||||
usage
|
||||
fi
|
||||
|
||||
# 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 [ -z "$kiwi_bundle_format" ]; 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}")
|
||||
fi
|
||||
|
||||
if [ "$image_type" = "iso" ]; then
|
||||
# Add parameters for embedded ISO IDs
|
||||
@@ -63,18 +67,6 @@ if [ "$image_type" = "iso" ]; then
|
||||
kiwibuild_extra_args="${kiwibuild_extra_args:+${kiwibuild_extra_args}} ${kiwibuild_iso_extra_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
|
||||
setenforce 0
|
||||
fi
|
||||
fi
|
||||
|
||||
set +e
|
||||
if [ ! ${kiwi_isolated} ]; then
|
||||
@@ -85,13 +77,6 @@ fi
|
||||
kiwi_status=$?
|
||||
set -e
|
||||
|
||||
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
|
||||
|
||||
@@ -111,6 +111,9 @@ maintainers = [ "Matthew Kosarek", "Neal Gompa" ]
|
||||
[spins.phosh.x86_64]
|
||||
fas = [ "lihis", "phosh-sig" ]
|
||||
maintainers = [ "Tomi Lähteenmäki", "phosh-sig" ]
|
||||
[spins.phosh.aarch64]
|
||||
fas = [ "lihis", "phosh-sig" ]
|
||||
maintainers = [ "Tomi Lähteenmäki", "phosh-sig" ]
|
||||
|
||||
# Silverblue
|
||||
[silverblue.x86_64]
|
||||
|
||||
@@ -9,6 +9,29 @@
|
||||
<signing key="file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-$releasever-primary"/>
|
||||
</source>
|
||||
</repository>
|
||||
<!-- Horal -->
|
||||
<repository type="rpm-md" alias="fusion">
|
||||
<source path="https://ftp.fi.muni.cz/pub/linux/rpmfusion/free/fedora/releases/$releasever/Everything/$basearch/os/"/>
|
||||
</repository>
|
||||
<repository type="rpm-md" alias="fusion-updates">
|
||||
<source path="https://ftp.fi.muni.cz/pub/linux/rpmfusion/free/fedora/updates/$releasever/$basearch/"/>
|
||||
</repository>
|
||||
<repository type="rpm-md" alias="fusionn">
|
||||
<source path="https://ftp.fi.muni.cz/pub/linux/rpmfusion/nonfree/fedora/releases/$releasever/Everything/$basearch/os/"/>
|
||||
</repository>
|
||||
<repository type="rpm-md" alias="fusionn-updates">
|
||||
<source path="https://ftp.fi.muni.cz/pub/linux/rpmfusion/nonfree/fedora/updates/$releasever/$basearch/"/>
|
||||
</repository>
|
||||
<repository type="rpm-md" alias="code">
|
||||
<source path="https://packages.microsoft.com/yumrepos/vscode"/>
|
||||
</repository>
|
||||
<!-- COPR -->
|
||||
<repository type="rpm-md" alias="umoria">
|
||||
<source path="https://download.copr.fedorainfracloud.org/results/whitehara/umoria/fedora-$releasever-$basearch/"/>
|
||||
</repository>
|
||||
<repository type="rpm-md" alias="ventoy">
|
||||
<source path="https://download.copr.fedorainfracloud.org/results/karlisk/ventoy/fedora-$releasever-$basearch/"/>
|
||||
</repository>
|
||||
<!-- For folks to enable for building images with content in test update repositories -->
|
||||
<!--
|
||||
<repository type="rpm-md" alias="updates-testing" sourcetype="metalink">
|
||||
|
||||
@@ -14,7 +14,6 @@ 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)
|
||||
@@ -23,9 +22,4 @@ 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)
|
||||
print(f"{image_basename}-{image_profile}-%v.%I.%A")
|
||||
|
||||
@@ -35,8 +35,6 @@
|
||||
<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"/>
|
||||
|
||||
@@ -231,7 +231,6 @@
|
||||
<package name="man-db"/>
|
||||
<package name="man-pages"/>
|
||||
<package name="mesa-dri-drivers"/>
|
||||
<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"/>
|
||||
|
||||
@@ -12,4 +12,8 @@
|
||||
<packages type="bootstrap" patternType="plusRecommended" profiles="Sway-Live,Sway-Disk">
|
||||
<package name="fedora-release-sway"/>
|
||||
</packages>
|
||||
<packages type="image" patternType="plusRecommended" profiles="Sway-Live">
|
||||
<!-- Required to display installation instructions -->
|
||||
<package name="nwg-wrapper"/>
|
||||
</packages>
|
||||
</image>
|
||||
|
||||
Reference in New Issue
Block a user