On Thursday, September 22, 2016 4:07 AM, Ranjan Maitra 
<[email protected]> wrote:

> My question is: how does the livecd know to install/use this kernel as 
> opposed to the Fedora distribution stock kernel?


The latest version is chosen, so your "custom" kernel needs to have a higher 
version than the one available in the official Fedora repositories. It can be 
either really be newer or if I'm not mistaking have a higher Epoch which is 
more important than the version.

A workaround would be to create your own custom repository with all the 
required packages including that kernel, and then using only that repository. I 
create it like this from my local cache:

    mkdir -p /tmp/local-repo/packages
    ln -s /var/cache/dnf/*/packages/*.rpm /tmp/local-repo/packages/
    createrepo_c -o /tmp/local-repo --skip-stat --changelog-limit 1 \
                 --compress-type gz --general-compress-type gz --checksum 
md5sum \
                 -g 
/var/cache/dnf/fedora-d02ca361e1b58501/repodata/gen/groups.xml \
                 /tmp/local-repo

Hope this helps,
Cristian Ciupitu
_______________________________________________
livecd mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to