[Fedora-livecd-list] Re: creating a livecd using the vanilla kernel

2016-09-21 Thread Ranjan Maitra
On Thu, 22 Sep 2016 02:38:24 + (UTC) Cristian Ciupitu 
 wrote:

> 
> 
> On Thursday, September 22, 2016 4:07 AM, Ranjan Maitra 
>  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,

Thank you very much again! I will see how it works out tomorrow and report back.

Best wishes,
Ranjan


FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth

___
livecd mailing list -- livecd@lists.fedoraproject.org
To unsubscribe send an email to livecd-le...@lists.fedoraproject.org


[Fedora-livecd-list] Re: creating a livecd using the vanilla kernel

2016-09-21 Thread Cristian Ciupitu


On Thursday, September 22, 2016 4:07 AM, Ranjan Maitra 
 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 -- livecd@lists.fedoraproject.org
To unsubscribe send an email to livecd-le...@lists.fedoraproject.org


[Fedora-livecd-list] Re: creating a livecd using the vanilla kernel

2016-09-21 Thread Ranjan Maitra
Cristian,

> > I wanted to make a Fedora livecd using the stable vanilla kernel. How do I 
> > make sure that this kernel (and not the fedora kernel) is pulled in by the 
> > livecd?
> 
> Create a custom kernel RPM, put it in a custom repository and use that 
> repository to create the live C

Thank you for this! I guess I was not clear earlier (sorry). I think that I 
have to add a repo such as:

repo --name=kernel-vanilla-stable 
--baseurl=http://repos.fedorapeople.org/repos/thl/kernel-vanilla-stable/fedora-$releasever/$basearch/

This will possibly bring in the latest kernel, etc from 
https://repos.fedorapeople.org/repos/thl/kernel-vanilla-stable/fedora-24/x86_64/

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

Many thanks and best wishes,
Ranjan


FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth

___
livecd mailing list -- livecd@lists.fedoraproject.org
To unsubscribe send an email to livecd-le...@lists.fedoraproject.org


[Fedora-livecd-list] Re: creating a livecd using the vanilla kernel

2016-09-21 Thread Cristian Ciupitu
> On Wednesday, September 21, 2016 11:25 PM, Ranjan Maitra 
>  wrote:
> I wanted to make a Fedora livecd using the stable vanilla kernel. How do I 
> make sure that this kernel (and not the fedora kernel) is pulled in by the 
> livecd?

Create a custom kernel RPM, put it in a custom repository and use that 
repository to create the live CD.
___
livecd mailing list -- livecd@lists.fedoraproject.org
To unsubscribe send an email to livecd-le...@lists.fedoraproject.org