Skip to content

Commit

Permalink
Fedora Linux v6.0.7 (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeeq authored Nov 5, 2022
1 parent 4adee28 commit 7103622
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# These are supported funding model platforms

---
github: [mikeeq]
14 changes: 9 additions & 5 deletions .github/workflows/build-iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on: [push]

jobs:
tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: "AgentInfo"
Expand Down Expand Up @@ -35,10 +35,10 @@ jobs:
&& shellcheck $(find . -type f -name "*.sh" | tr '\n' ' ')
"
build-gnome:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: "Build Fedora ISO"
- name: "Build Fedora Gnome ISO"
run: ./build_in_docker.sh
env:
FEDORA_DESKTOP_ENV: gnome
Expand All @@ -53,11 +53,13 @@ jobs:
./output_zip/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # You don't need to add this in secrets it's by default.
- name: "AgentInfo"
run: ./.github/agent-info.sh
build-kde:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: "Build Fedora ISO"
- name: "Build Fedora KDE ISO"
run: ./build_in_docker.sh
env:
FEDORA_DESKTOP_ENV: kde
Expand All @@ -72,3 +74,5 @@ jobs:
./output_zip/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # You don't need to add this in secrets it's by default.
- name: "AgentInfo"
run: ./.github/agent-info.sh
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,14 @@ macOS Mojave: 10.14.6 (18G103)
- There will be two/three boot options available, usually the last one works for me. (There are multiple boot options, because there are three different partitions in the ISO to make the ISO bootable on different set of computers: 1) ISO9660: with installer data, 2) fat32, 3) hfs+)
- I recommend using standard partition layout during partitioning your Disk in Anaconda (Fedora Installer) as I haven't tested other scenarios yet. <https://github.com/mikeeq/mbp-fedora/issues/2

- please create a separate partition for Linux EFI (Linux HFS+ ESP) as Anaconda installer requires separate partition on Mac devices and it'll be reformated to EFI (FAT32) during post-install scripts Anaconda's step (at the end of installation process).
- please create a separate partition for Linux EFI (Linux HFS+ ESP) as Anaconda installer requires separate partition on Mac devices, and it'll be reformatted to EFI (FAT32) during post-install scripts Anaconda's step (at the end of installation process).

```bash
/boot/efi - 1024MB Linux HFS+ ESP
/boot - 1024MB EXT4
/ - xxxGB EXT4
/boot/efi - 600MiB Linux HFS+ ESP
/boot - 2GiB EXT4
/ - xxxGiB EXT4
```
> You can leave the desired capacity value empty for the last partition, Anaconda will allocate all free disk space to that partition when defining it.

![anaconda partitioning](screenshots/anaconda-3.png)

Expand All @@ -80,7 +81,7 @@ macOS Mojave: 10.14.6 (18G103)

```bash
sudo -i
# /etc/modprobe.d/hid_apple.conf
options hid_apple swap_fn_leftctrl=1
options hid_apple swap_opt_cmd=1
Expand All @@ -101,7 +102,7 @@ sudo -i
# Upgrade kernel beforehand
## update_kernel_mbp has built-in selfupgrade function, so when it fails it's just due to script update - please rerun everything should be good on second run
KERNEL_VERSION="6.0.5-f37" UPDATE_SCRIPT_BRANCH="v6.0-f37" update_kernel_mbp
KERNEL_VERSION="6.0.7-f37" UPDATE_SCRIPT_BRANCH="v6.0-f37" update_kernel_mbp
# Upgrade your OS
dnf upgrade -y --refresh
Expand All @@ -110,7 +111,7 @@ dnf install -y dnf-plugin-system-upgrade
# Exclude official kernel from upgrade to not override mbp-fedora-kernel
## If you're trying to upgrade older version of mbp-fedora to latest version, please repeat a process by upgrading only to one major release of Fedora, i.e.: Fedora 33 -> 34, 34 -> 35, 35 -> 36
FEDORA_VERSION=37 dnf system-upgrade download -y --releasever=${FEDORA_VERSION} --exclude='kernel*'
dnf system-upgrade download -y --releasever=37 --exclude='kernel*'
# Reboot your Mac
dnf system-upgrade reboot
Expand Down
15 changes: 3 additions & 12 deletions fedora-mbp.ks
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
repo --name=fedora-mbp --baseurl=https://fedora-mbp-repo.herokuapp.com/

### Selinux in permissive mode
bootloader --append="enforcing=0 intel_iommu=on iommu=pt pcie_ports=compat"
bootloader --append="intel_iommu=on iommu=pt pcie_ports=compat"

### Accepting EULA
eula --agreed
Expand All @@ -13,9 +13,8 @@ eula --agreed

## Install mbp-fedora-kernel, mbp-fedora-t2-config, mbp-fedora-t2-repo
curl
wpa_supplicant
-kernel-5.*.fc37.x86_64
kernel-*.*[0-9].mbp.fc36.x86_64
kernel-*.*[0-9].mbp.fc37.x86_64
mbp-fedora-t2-config
mbp-fedora-t2-repo

Expand All @@ -36,17 +35,9 @@ echo 'nameserver 8.8.8.8' > /etc/resolv.conf
echo "===]> Info: Print /etc/resolv.conf"
cat /etc/resolv.conf
KERNEL_VERSION=6.0.5-200.mbp.fc36.x86_64
KERNEL_VERSION=6.0.7-300.mbp.fc37.x86_64
UPDATE_SCRIPT_BRANCH=v6.0-f37
/usr/sbin/depmod -a ${KERNEL_VERSION}
dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
### Adding fedora-mbp yum repo gpg key
curl -sSL "https://raw.githubusercontent.com/mikeeq/mbp-fedora-kernel/${UPDATE_SCRIPT_BRANCH}/yum-repo/fedora-mbp.gpg" > ./fedora-mbp.gpg
rpm --import ./fedora-mbp.gpg
rm -rf ./fedora-mbp.gpg
### Add update_kernel_mbp script
curl -L https://raw.githubusercontent.com/mikeeq/mbp-fedora-kernel/${UPDATE_SCRIPT_BRANCH}/update_kernel_mbp.sh -o /usr/bin/update_kernel_mbp
chmod +x /usr/bin/update_kernel_mbp
Expand Down

0 comments on commit 7103622

Please sign in to comment.