Hi all
I'm new to Fedora and livecd (after several years of Debian).
I'm trying livecd for the first time. I want to create a custom ISO which includes the packages needed to build a specific package. I know that I can find the dependencies from the package .spec file.. My question is: instead of manually copying and pasting the package names, there's an elegant way to install the dependencies using an option in the .ks file? Maybe I can just add the line `dnf builddep <package>` in the .ks file?
I read carefully this chapter¹ but couldn't find anything about this specific topic.
Thanks in advance Federico
¹ https://github.com/rhinstaller/pykickstart/blob/master/docs/kickstart-docs.r...
On Tue, Sep 22, 2015 at 12:20:51AM +0200, Federico Bruni wrote:
Hi all
I'm new to Fedora and livecd (after several years of Debian).
I'm trying livecd for the first time. I want to create a custom ISO which includes the packages needed to build a specific package. I know that I can find the dependencies from the package .spec file.. My question is: instead of manually copying and pasting the package names, there's an elegant way to install the dependencies using an option in the .ks file? Maybe I can just add the line `dnf builddep <package>` in the .ks file?
I read carefully this chapter¹ but couldn't find anything about this specific topic.
Thanks in advance Federico
¹ https://github.com/rhinstaller/pykickstart/blob/master/docs/kickstart-docs.r...
First off, I'd recommend looking at livemedia-creator for any new iso creation projects:
https://rhinstaller.github.io/lorax/livemedia-creator.html
It is part of the lorax package.
To answer your question, you don't need to add dependencies yourself. That's the installer's job, so you just list the packages you want.
It is best to start out with an example working kickstart though, since there are packages that a basic system needs to have. eg.
https://github.com/rhinstaller/lorax/blob/master/docs/fedora-livemedia.ks
Il giorno mer 23 set 2015 alle 1:03, Brian C. Lane bcl@redhat.com ha scritto:
First off, I'd recommend looking at livemedia-creator for any new iso creation projects:
https://rhinstaller.github.io/lorax/livemedia-creator.html
It is part of the lorax package.
Thanks, I missed this.
To answer your question, you don't need to add dependencies yourself. That's the installer's job, so you just list the packages you want.
I'm not talking about the package dependencies to *run* the program. I want to install the packages to *build* a package. That's why I mentioned the command `dnf builddep`.
It is best to start out with an example working kickstart though, since there are packages that a basic system needs to have. eg.
https://github.com/rhinstaller/lorax/blob/master/docs/fedora-livemedia.ks
Thanks for the link, examples help a lot.
On Wed, Sep 23, 2015 at 01:19:14AM +0200, Federico Bruni wrote:
I'm not talking about the package dependencies to *run* the program. I want to install the packages to *build* a package. That's why I mentioned the command `dnf builddep`.
Whoops, I totally missed that. Yeah, for build deps you will have to do them manually.
Il giorno mer 23 set 2015 alle 18:00, Brian C. Lane bcl@redhat.com ha scritto:
On Wed, Sep 23, 2015 at 01:19:14AM +0200, Federico Bruni wrote:
I'm not talking about the package dependencies to *run* the program. I want to install the packages to *build* a package. That's why I mentioned the command `dnf builddep`.
Whoops, I totally missed that. Yeah, for build deps you will have to do them manually.
That's fine. As alternative, I was thinking about a %post script with `dnf builddep`.. but maybe listing the packages is safer.
Greetings,
----- Original Message -----
I'm trying livecd for the first time. I want to create a custom ISO which includes the packages needed to build a specific package.
[...]
First off, I'd recommend looking at livemedia-creator for any new iso creation projects:
https://rhinstaller.github.io/lorax/livemedia-creator.html
It is part of the lorax package.
To answer your question, you don't need to add dependencies yourself. That's the installer's job, so you just list the packages you want.
I think you misunderstood his question. He wants an iso that installs packages necessary to BUILD a specific package not just INSTALL a specific package.
I don't know the answer to that myself, so I didn't answer. :)
TYL,
livecd@lists.fedoraproject.org