Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -16,20 +16,20 @@ Used in [Fedora KIWI descriptions, modified by me for Surface Pro 12"](https://s ## Configuration The starting point is `config/base-aarch64.config`: Fedora's own aarch64 -kernel config, taken verbatim from the `config` file inside -`kernel-core-7.2.0-61.fc45.aarch64.rpm`. It is vendored rather than downloaded, -so the build depends on no third-party host and a refresh shows up as a -reviewable diff. To refresh it for a newer Fedora, replace everything below the -comment header with: +kernel config, taken verbatim from the `config` file. It is vendored rather +than downloaded, so the build depends on no third-party host and a refresh +shows up as a reviewable diff. To refresh it for a newer Fedora, replace +everything below the comment header with: ```bash dnf download kernel-core --arch aarch64 -rpm2cpio kernel-core-*.aarch64.rpm | cpio -idm './usr/lib/modules/*/config' +rpm2archive -n - < kernel-core-*.aarch64.rpm | + tar -xO --wildcards '*/modules/*/config' | + wl-copy ``` -The overlay's ebuild seeds itself from the same Fedora config by way of a -Gentoo-side fork, `projg2/fedora-kernel-config-for-gentoo`. That repository no -longer exists, which is why the base config lives here instead. +If the extraction comes up empty, `rpm -qlp kernel-core-*.aarch64.rpm | grep +config` says whether the package still carries the file at all. Three fragments are merged on top with `scripts/kconfig/merge_config.sh`: @@ -62,7 +62,7 @@ matches the ISO (the project README notes Secure Boot is not available for it). ```bash dnf config-manager addrepo --from-repofile=\ - https://f003.backblazeb2.com/file/dist-sayagit-fedora-rpm/fedora/45/kernel-sp12in.repo + https://f003.backblazeb2.com/file/dist-sayagit-fedora-rpm/fedora/46/kernel-sp12in.repo ``` ## Building |