Fedora Build ACS ACS Override Patch Kernel
Add RPM Fusion
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
Install the dependencies to start building your own kernel.
<g class="gr_ gr_36 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling" id="36" data-gr-id="36">sudo</g> <g class="gr_ gr_37 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling" id="37" data-gr-id="37">dnf</g> install <g class="gr_ gr_38 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling" id="38" data-gr-id="38"><g class="gr_ gr_38 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling" id="38" data-gr-id="38"><g class="gr_ gr_38 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling" id="38" data-gr-id="38">fedpkg</g></g></g> fedora-packager <g class="gr_ gr_39 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling" id="39" data-gr-id="39">rpmdevtools</g> <g class="gr_ gr_40 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling" id="40" data-gr-id="40"><g class="gr_ gr_40 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling" id="40" data-gr-id="40"><g class="gr_ gr_40 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling" id="40" data-gr-id="40">ncurses</g></g></g>-devel <g class="gr_ gr_35 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling ins-del multiReplace" id="35" data-gr-id="35">pesign</g> koji
Set up your home build directory (if you haven't ever built any RPMs before)
<g class="gr_ gr_63 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" id="63" data-gr-id="63">rpmdev</g>-<g class="gr_ gr_64 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" id="64" data-gr-id="64"><g class="gr_ gr_64 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling ins-del multiReplace" id="64" data-gr-id="64"><g class="gr_ gr_64 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling ins-del multiReplace" id="64" data-gr-id="64">setuptree</g></g></g>
Install the kernel source and finish installing dependencies.
koji download-build --arch=src kernel-4.18.5-200.fc28
rpm -Uvh kernel-4.18.5-200.fc28.src.rpm
vim ~/rpmbuild/SPECS/kernel.spec
Add the two lines near the top of the spec file.
# Set buildid
%define buildid .acs# ACS override patch
Patch1000: add-acs-override.patch
Create a new .src.rpm file
rpmbuild -bs ~/rpmbuild/SPECS/kernel.spec
Upload and build in copr
Create a new build
Select upload
Upload file located in ~rpmbuild/SRPMS/kernel-X.acs.fc28.src.rpm