diff --git a/build-packages.sh b/build-packages.sh index da5f693..05cb843 100755 --- a/build-packages.sh +++ b/build-packages.sh @@ -1,7 +1,7 @@ #!/usr/bin/bash set -e -packages=( "t2linux-config" "t2linux-repo" "t2linux-audio" "rust-tiny-dfr" "kernel" ) +packages=( "t2linux-config" "t2linux-audio" "rust-tiny-dfr" "kernel" "copr-sharpenedblade-t2linux-release" ) mkdir -p /repo/builddir builddir=$(mktemp -d -p "/repo/builddir"); export builddir diff --git a/copr-sharpenedblade-t2linux-release/copr-sharpenedblade-t2linux-release.spec b/copr-sharpenedblade-t2linux-release/copr-sharpenedblade-t2linux-release.spec new file mode 100644 index 0000000..2c82847 --- /dev/null +++ b/copr-sharpenedblade-t2linux-release/copr-sharpenedblade-t2linux-release.spec @@ -0,0 +1,24 @@ +Name: copr-sharpenedblade-t2linux-release +Version: 1.0.0 +Release: 1%{?dist} +Summary: Copr repo for t2linux owned by sharpenedblade. +License: MIT +URL: https://copr.fedorainfracloud.org/coprs/sharpenedblade/t2linux + +Obsoletes: t2linux-repo < 7.0.0-2 + +Source0: copr-sharpenedblade-t2linux.repo + +%description +Patched kernel and supporting packages for hardware enablement on t2 +macs. + +%prep + +%build + +%install +install -D -m 644 %{SOURCE0} %{buildroot}/etc/yum.repos.d/copr-sharpenedblade-t2linux.repo + +%files +/etc/yum.repos.d/copr-sharpenedblade-t2linux.repo diff --git a/copr-sharpenedblade-t2linux-release/copr-sharpenedblade-t2linux.repo b/copr-sharpenedblade-t2linux-release/copr-sharpenedblade-t2linux.repo new file mode 100644 index 0000000..25cfd53 --- /dev/null +++ b/copr-sharpenedblade-t2linux-release/copr-sharpenedblade-t2linux.repo @@ -0,0 +1,11 @@ +[copr:copr.fedorainfracloud.org:sharpenedblade:t2linux] +name=Copr repo for t2linux owned by sharpenedblade +baseurl=https://download.copr.fedorainfracloud.org/results/sharpenedblade/t2linux/fedora-$releasever-$basearch/ +type=rpm-md +skip_if_unavailable=True +gpgcheck=1 +gpgkey=https://download.copr.fedorainfracloud.org/results/sharpenedblade/t2linux/pubkey.gpg +repo_gpgcheck=0 +enabled=1 +enabled_metadata=1 +priority=80 diff --git a/t2linux-repo/t2linux-fedora-39.pub b/t2linux-repo/t2linux-fedora-39.pub deleted file mode 100644 index 4c76a76..0000000 --- a/t2linux-repo/t2linux-fedora-39.pub +++ /dev/null @@ -1,13 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- - -mDMEZR4VUBYJKwYBBAHaRw8BAQdAblZulgVHddCPHvfbGGYWyA4vNt49lZMxRS+R -6OSrWWi0E3QybGludXggRmVkb3JhICgzOSmImQQTFgoAQRYhBPjRUuPH2y7Vt7Kb -bUmoYbkRXcpTBQJlHhVQAhsDBQkBPAkABQsJCAcCAiICBhUKCQgLAgQWAgMBAh4H -AheAAAoJEEmoYbkRXcpTrj0A/jRot/c8fhcXeYDWzK/06mvuYQ2oCOE64QHcAb4u -FnukAP9O+vyAKwn9jOlQD60tuTXOuT76BvUBQwSPHbRTKzOwCLg4BGUeFVASCisG -AQQBl1UBBQEBB0DqNFySYjXeS4Yw3xgJh3NMxdcFSgsk4srbCvsjGhFiXQMBCAeI -fgQYFgoAJhYhBPjRUuPH2y7Vt7KbbUmoYbkRXcpTBQJlHhVQAhsMBQkBPAkAAAoJ -EEmoYbkRXcpTAxcA/imAxR9lDpz1jbVZnKIbh3xU+EN8XU1qfbPuxI9vxqjtAQC+ -zVRSC6jt/FGOMMXXn10khuqTFV4YVP3GjY9TQM5LDw== -=h+cy ------END PGP PUBLIC KEY BLOCK----- diff --git a/t2linux-repo/t2linux-fedora-40.pub b/t2linux-repo/t2linux-fedora-40.pub deleted file mode 100644 index e4e2f1b..0000000 --- a/t2linux-repo/t2linux-fedora-40.pub +++ /dev/null @@ -1,13 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- - -mDMEZR4bgBYJKwYBBAHaRw8BAQdAmGKYIOjI0YDnR/ekWcdv7YpkzkmN+xQiqxXo -rsfN24C0E3QybGludXggRmVkb3JhICg0MCmImQQTFgoAQRYhBEXmu22+Z1uD3lb6 -1aiT31W2qs5qBQJlHhuAAhsDBQkCLVNQBQsJCAcCAiICBhUKCQgLAgQWAgMBAh4H -AheAAAoJEKiT31W2qs5qnBkBAKtP646Pj+FQfuorGLxbYosswMc8N6S3r3zhWIk9 -2xtpAPkBrjDSEngqVsHBB7hxr/43Ub0N4LOA+bAHOuIyxpJFCLg4BGUeG4ASCisG -AQQBl1UBBQEBB0Bw82vstR2Q5CVUHu6x+xCv0IFJWIICYvJAh+SYxHbneAMBCAeI -fgQYFgoAJhYhBEXmu22+Z1uD3lb61aiT31W2qs5qBQJlHhuAAhsMBQkCLVNQAAoJ -EKiT31W2qs5qFk0A/3RzgwLgibuoIuiFEJ4KAOFRMCQs0V+aS4umvW7Y+oxQAQDu -vAZ9/SsdqSCXqTHhrLcb6ROFluUeanxGvHVJaZdOAg== -=o7QJ ------END PGP PUBLIC KEY BLOCK----- diff --git a/t2linux-repo/t2linux-fedora.repo b/t2linux-repo/t2linux-fedora.repo deleted file mode 100644 index 4d332a2..0000000 --- a/t2linux-repo/t2linux-fedora.repo +++ /dev/null @@ -1,8 +0,0 @@ -[t2linux-fedora] -name=t2linux Fedora -baseurl=https://t2linux-fedora-repo.netlify.app/ -enabled=True -gpgcheck=True -cost=800 -priority=80 -gpgkey=file:///etc/pki/rpm-gpg/t2linux-fedora-39.pub diff --git a/t2linux-repo/t2linux-repo.spec b/t2linux-repo/t2linux-repo.spec deleted file mode 100644 index 3e67c88..0000000 --- a/t2linux-repo/t2linux-repo.spec +++ /dev/null @@ -1,27 +0,0 @@ -Name: t2linux-repo -Version: 7.0.0 -Release: 1%{?dist} -Summary: DNF Repo for linux on t2 macs. -License: MIT -URL: https://github.com/t2linux/fedora-kernel - -Source0: t2linux-fedora.repo -Source2: t2linux-fedora-39.pub -Source3: t2linux-fedora-40.pub - -%description -DNF repo files for linux on t2 macs. - -%prep - -%build - -%install -install -D -m 644 %{SOURCE0} %{buildroot}/etc/yum.repos.d/t2linux-fedora.repo -install -D -m 644 %{SOURCE2} %{buildroot}/etc/pki/rpm-gpg/t2linux-fedora-39.pub -install -D -m 644 %{SOURCE3} %{buildroot}/etc/pki/rpm-gpg/t2linux-fedora-40.pub - -%files -/etc/yum.repos.d/t2linux-fedora.repo -/etc/pki/rpm-gpg/t2linux-fedora-39.pub -/etc/pki/rpm-gpg/t2linux-fedora-40.pub