remove asahi-specific stuff
This commit is contained in:
parent
55c7fc5760
commit
6bedd927b0
@ -129,9 +129,6 @@ def kiwiBuild(profile):
|
|||||||
|
|
||||||
|
|
||||||
def packageBuild(target):
|
def packageBuild(target):
|
||||||
# TODO: rewrite in python instead of shelling out
|
|
||||||
runCommand(["./make-asahi-installer-package.sh"])
|
|
||||||
|
|
||||||
base = f"fedora-{RELEASE}-{target['id']}-{BUILDVER}"
|
base = f"fedora-{RELEASE}-{target['id']}-{BUILDVER}"
|
||||||
os.rename(f"fedora-{RELEASE}-{BUILDVER}.zip", f"{base}.zip")
|
os.rename(f"fedora-{RELEASE}-{BUILDVER}.zip", f"{base}.zip")
|
||||||
os.rename(f"fedora-{RELEASE}-{BUILDVER}.logs.zip", f"{base}.logs.zip")
|
os.rename(f"fedora-{RELEASE}-{BUILDVER}.logs.zip", f"{base}.logs.zip")
|
||||||
|
@ -13,11 +13,5 @@
|
|||||||
<ignore name="dracut-config-rescue"/>
|
<ignore name="dracut-config-rescue"/>
|
||||||
<ignore name="generic-release*"/>
|
<ignore name="generic-release*"/>
|
||||||
<ignore name="generic-logos*"/>
|
<ignore name="generic-logos*"/>
|
||||||
<!-- Asahi packages -->
|
|
||||||
<package name="alsa-ucm-asahi"/>
|
|
||||||
<package name="asahi-platform-metapackage"/>
|
|
||||||
<package name="asahi-repos"/>
|
|
||||||
<package name="fedora-asahi-remix-scripts"/>
|
|
||||||
<package name="tiny-dfr"/>
|
|
||||||
</packages>
|
</packages>
|
||||||
</image>
|
</image>
|
||||||
|
@ -6,18 +6,9 @@
|
|||||||
<package name="grubby"/>
|
<package name="grubby"/>
|
||||||
</packages>
|
</packages>
|
||||||
<packages type="image" patternType="plusRecommended" profiles="BootCore">
|
<packages type="image" patternType="plusRecommended" profiles="BootCore">
|
||||||
<package name="grub2-efi-aa64" arch="aarch64"/>
|
<package name="kernel"/>
|
||||||
<package name="grub2-efi-aa64-modules" arch="aarch64"/>
|
<package name="kernel-modules-extra"/>
|
||||||
<package name="shim-signed-aa64" arch="aarch64"/>
|
|
||||||
<package name="grub2-efi-aa64" arch="aarch64"/>
|
|
||||||
<package name="uboot-images-armv8" arch="aarch64"/>
|
|
||||||
<package name="kernel-16k"/>
|
|
||||||
<package name="kernel-16k-modules-extra"/>
|
|
||||||
<package name="systemd-oomd-defaults"/>
|
<package name="systemd-oomd-defaults"/>
|
||||||
<package name="systemd-resolved"/>
|
<package name="systemd-resolved"/>
|
||||||
<!-- Asahi packages -->
|
|
||||||
<package name="asahi-fwextract" arch="aarch64"/>
|
|
||||||
<package name="dracut-asahi" arch="aarch64"/>
|
|
||||||
<package name="update-m1n1" arch="aarch64"/>
|
|
||||||
</packages>
|
</packages>
|
||||||
</image>
|
</image>
|
||||||
|
14
config.sh
14
config.sh
@ -71,13 +71,6 @@ elif [[ "$kiwi_profiles" != *"GNOME"* ]] && [[ "$kiwi_profiles" != *"KDE"* ]]; t
|
|||||||
touch /etc/reconfigSys
|
touch /etc/reconfigSys
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Enable swap setup on firstboot
|
|
||||||
systemctl enable asahi-setup-swap-firstboot.service
|
|
||||||
|
|
||||||
## Enable extras install on firstboot; this will only run if the extras are
|
|
||||||
## actually present (and self disable afterwards)
|
|
||||||
systemctl enable asahi-extras-firstboot.service
|
|
||||||
|
|
||||||
#======================================
|
#======================================
|
||||||
# Setup default target
|
# Setup default target
|
||||||
#--------------------------------------
|
#--------------------------------------
|
||||||
@ -99,11 +92,4 @@ rpm -qa --qf '%{size}\t%{name}-%{version}-%{release}.%{arch}\n' |sort -rn
|
|||||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||||
rm -f /var/lib/rpm/__db*
|
rm -f /var/lib/rpm/__db*
|
||||||
|
|
||||||
#======================================
|
|
||||||
# Generate boot.bin
|
|
||||||
#======================================
|
|
||||||
mkdir -p /boot/efi/m1n1
|
|
||||||
update-m1n1 /boot/efi/m1n1/boot.bin
|
|
||||||
rm /boot/.builder
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
<release-version>40</release-version>
|
<release-version>40</release-version>
|
||||||
</preferences>
|
</preferences>
|
||||||
<include from="this://./repositories/core.xml"/>
|
<include from="this://./repositories/core.xml"/>
|
||||||
<include from="this://./repositories/asahi.xml"/>
|
|
||||||
<include from="this://./components/boot.xml"/>
|
<include from="this://./components/boot.xml"/>
|
||||||
<include from="this://./components/base.xml"/>
|
<include from="this://./components/base.xml"/>
|
||||||
<include from="this://./components/desktop-environments.xml"/>
|
<include from="this://./components/desktop-environments.xml"/>
|
||||||
|
@ -1,12 +1,5 @@
|
|||||||
<image>
|
<image>
|
||||||
<repository type="rpm-md" alias="fedora" sourcetype="metalink">
|
<repository type="rpm-md" alias="fedora" sourcetype="baseurl">
|
||||||
<source path="https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch">
|
<source path="http://fedora.riscv.rocks/repos-dist/f$releasever/latest/$basearch"></source>
|
||||||
<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>
|
||||||
</image>
|
</image>
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
UPDATEDEFAULT=yes
|
UPDATEDEFAULT=yes
|
||||||
|
|
||||||
# DEFAULTKERNEL specifies the default kernel package type
|
# DEFAULTKERNEL specifies the default kernel package type
|
||||||
DEFAULTKERNEL=kernel-16k-core
|
DEFAULTKERNEL=kernel-core
|
||||||
|
Loading…
Reference in New Issue
Block a user