Skip to content

Commit

Permalink
Fedora 38 v6.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeeq committed Sep 20, 2023
1 parent c43085f commit deaeb25
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM fedora:38

ARG RPMBUILD_PATH=/root/rpmbuild
ARG FEDORA_KERNEL_VERSION=6.4.4-200.fc38 # https://bodhi.fedoraproject.org/updates/?search=&packages=kernel&releases=f38
ARG FEDORA_KERNEL_VERSION=6.5.4-200.fc38 # https://bodhi.fedoraproject.org/updates/?search=&packages=kernel&releases=f38

RUN dnf install -y fedpkg fedora-packager rpmdevtools ncurses-devel pesign git libkcapi libkcapi-devel libkcapi-static libkcapi-tools zip curl dwarves libbpf rpm-sign \
&& rpmdev-setuptree \
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ If the DNF fail, or you're updating your older `mbp-fedora`, you can still use p
```bash
### First run or if you want to update your copy of update_kernel_mbp script
sudo -i
curl -L https://raw.githubusercontent.com/mikeeq/mbp-fedora-kernel/v6.4-f38/update_kernel_mbp.sh -o /usr/bin/update_kernel_mbp
curl -L https://raw.githubusercontent.com/mikeeq/mbp-fedora-kernel/v6.5-f38/update_kernel_mbp.sh -o /usr/bin/update_kernel_mbp
chmod +x /usr/bin/update_kernel_mbp
update_kernel_mbp

Expand All @@ -42,13 +42,13 @@ update_kernel_mbp

### Update to specific version of kernel
sudo -i
KERNEL_VERSION="6.4.4-f38" update_kernel_mbp
KERNEL_VERSION="6.5.4-f38" update_kernel_mbp

### Update to specific version of kernel using specific version of update script
#### Usually not needed, because scripts are shared between branches, but you can use it to update your update_kernel_mbp script
##### If the script fails, try to rerun it - it's due to self-upgrading feature of this script
sudo -i
KERNEL_VERSION="6.4.4-f38" UPDATE_SCRIPT_BRANCH="v6.4-f38" update_kernel_mbp
KERNEL_VERSION="6.5.4-f38" UPDATE_SCRIPT_BRANCH="v6.5-f38" update_kernel_mbp

### If kernel update using dnf would file you can execute update_kernel_mbp script with `--github` argument, it will force it to use github to download kernel RPMs
sudo -i
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -eu -o pipefail
## Update fedora docker image tag, because kernel build is using `uname -r` when defining package version variable
RPMBUILD_PATH=/root/rpmbuild
MBP_VERSION=mbp
FEDORA_KERNEL_VERSION=6.4.4-200.fc38 # https://bodhi.fedoraproject.org/updates/?search=&packages=kernel&releases=f38
FEDORA_KERNEL_VERSION=6.5.4-200.fc38 # https://bodhi.fedoraproject.org/updates/?search=&packages=kernel&releases=f38
REPO_PWD=$(pwd)

### Debug commands
Expand Down
2 changes: 1 addition & 1 deletion kernel_patches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set -eu -o pipefail
APPLE_SMC_DRIVER_GIT_URL=https://github.com/t2linux/linux-t2-patches
APPLE_SMC_REPO_NAME=linux-t2-patches
APPLE_SMC_DRIVER_BRANCH_NAME=main
APPLE_SMC_DRIVER_COMMIT_HASH=c908e506346681139a844d41c40b295cfad17ea8
APPLE_SMC_DRIVER_COMMIT_HASH=3aeff9385079f5f362a5447cdb9f4e2b48962c92

TMP_DIR=/tmp/tmp_dir
REPO_PWD=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
Expand Down
2 changes: 1 addition & 1 deletion update_kernel_mbp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eu -o pipefail

KERNEL_PATCH_PATH=/tmp/kernel_patch

UPDATE_SCRIPT_BRANCH=${UPDATE_SCRIPT_BRANCH:-v6.4-f38}
UPDATE_SCRIPT_BRANCH=${UPDATE_SCRIPT_BRANCH:-v6.5-f38}
MBP_FEDORA_BRANCH=f38

if [ "$EUID" -ne 0 ]; then
Expand Down
2 changes: 1 addition & 1 deletion yum-repo/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM fedora:38

ARG RELEASE_VERSION=6.4.4-f38
ARG RELEASE_VERSION=6.5.4-f38

WORKDIR /var/repo

Expand Down
2 changes: 1 addition & 1 deletion yum-repo/specs/mbp-fedora-t2-config.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: mbp-fedora-t2-config
Version: 6.4.4
Version: 6.5.4
Release: 1%{?dist}
Summary: System configuration for mbp-fedora on Apple T2 Macs.

Expand Down

0 comments on commit deaeb25

Please sign in to comment.