Re: Problem with createrepo for modified DVD ISO

2010-06-21 Thread Jesse Keating
On Sat, 2010-06-19 at 17:07 -0400, Digimer wrote:
> On 10-06-19 08:51 AM, mike cloaked wrote:
> > On Sat, Jun 19, 2010 at 5:37 AM, Bruno Wolff III  wrote:
> >> On Fri, Jun 18, 2010 at 09:15:09 -0400,
> >>   Digimer  wrote:
> >>> Hi all,
> >>>
> >>> I asked this on buildsys, so this is something of a repost. I'm not
> >>> sure where to turn at this point, so if this isn't the right list, would
> >>> anyone be able to point me in the right direction?
> >>
> >> Probably the question belongs on users.
> >>
> >>> I've been trying to create my own (minorly) custom distro for Fedora
> >>> 13. All it really is is a custom kickstart and a changed up set of RPMs.
> >>
> >> I think revisor is the tool that is best for making custom install DVDs.
> >> I usually make live images using livecd-creator and can't give you specific
> >> information on using revisor.
> >>
> >
> > Surely mock/pungi is the best tool chain for creating install isos?
> 
> Perhaps they are, and I will look into them. However, my curiosity has 
> been piqued, so I'd still like to know how it's supposed to be done. It 
> seems to me like it should be a somewhat straight forward task, so I am 
> curious about where my understanding has failed.
> 

Creating the right metadata involves using the --baseurl directive, and
something along the lines of --baseurl media://  That's what
will make the repodata have the right urls listed.

-- 
Jesse Keating
Fedora -- Freedom² is a feature!
identi.ca: http://identi.ca/jkeating


signature.asc
Description: This is a digitally signed message part
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Problem with createrepo for modified DVD ISO

2010-06-21 Thread seth vidal
On Sun, 2010-06-20 at 18:36 +0100, mike cloaked wrote:
> On Sun, Jun 20, 2010 at 3:26 PM, Bruno Wolff III  wrote:
> > On Sat, Jun 19, 2010 at 17:07:02 -0400,
> >  Digimer  wrote:
> >>
> >> Perhaps they are, and I will look into them. However, my curiosity has
> >> been piqued, so I'd still like to know how it's supposed to be done. It
> >> seems to me like it should be a somewhat straight forward task, so I am
> >> curious about where my understanding has failed.
> >
> > I think pungi is used for official releases, but that Fedora Unity uses
> > revisor for their respins. Either should be usable with mock to get
> > reproduceable builds. For one offs on the same arch as the builder,
> > you don't really need mock.
> 
> Mock helps to keep things in their own chroot!   By the way is there
> any way to build a 64 bit iso using mock/chroot running in a 32 bit
> version of Fedora?

No - not 64 on 32  - but 32 on 64 works.

-sv


-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: Problem with createrepo for modified DVD ISO

2010-06-20 Thread mike cloaked
On Sun, Jun 20, 2010 at 3:26 PM, Bruno Wolff III  wrote:
> On Sat, Jun 19, 2010 at 17:07:02 -0400,
>  Digimer  wrote:
>>
>> Perhaps they are, and I will look into them. However, my curiosity has
>> been piqued, so I'd still like to know how it's supposed to be done. It
>> seems to me like it should be a somewhat straight forward task, so I am
>> curious about where my understanding has failed.
>
> I think pungi is used for official releases, but that Fedora Unity uses
> revisor for their respins. Either should be usable with mock to get
> reproduceable builds. For one offs on the same arch as the builder,
> you don't really need mock.

Mock helps to keep things in their own chroot!   By the way is there
any way to build a 64 bit iso using mock/chroot running in a 32 bit
version of Fedora?

-- 
mike c
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: Problem with createrepo for modified DVD ISO

2010-06-20 Thread Bruno Wolff III
On Sat, Jun 19, 2010 at 17:07:02 -0400,
  Digimer  wrote:
> 
> Perhaps they are, and I will look into them. However, my curiosity has 
> been piqued, so I'd still like to know how it's supposed to be done. It 
> seems to me like it should be a somewhat straight forward task, so I am 
> curious about where my understanding has failed.

I think pungi is used for official releases, but that Fedora Unity uses
revisor for their respins. Either should be usable with mock to get
reproduceable builds. For one offs on the same arch as the builder,
you don't really need mock.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: Problem with createrepo for modified DVD ISO

2010-06-19 Thread Digimer
On 10-06-19 08:51 AM, mike cloaked wrote:
> On Sat, Jun 19, 2010 at 5:37 AM, Bruno Wolff III  wrote:
>> On Fri, Jun 18, 2010 at 09:15:09 -0400,
>>   Digimer  wrote:
>>> Hi all,
>>>
>>> I asked this on buildsys, so this is something of a repost. I'm not
>>> sure where to turn at this point, so if this isn't the right list, would
>>> anyone be able to point me in the right direction?
>>
>> Probably the question belongs on users.
>>
>>> I've been trying to create my own (minorly) custom distro for Fedora
>>> 13. All it really is is a custom kickstart and a changed up set of RPMs.
>>
>> I think revisor is the tool that is best for making custom install DVDs.
>> I usually make live images using livecd-creator and can't give you specific
>> information on using revisor.
>>
>
> Surely mock/pungi is the best tool chain for creating install isos?

Perhaps they are, and I will look into them. However, my curiosity has 
been piqued, so I'd still like to know how it's supposed to be done. It 
seems to me like it should be a somewhat straight forward task, so I am 
curious about where my understanding has failed.

Cheers. :)

-- 
Digimer
E-Mail: li...@alteeve.com
AN!Whitepapers: http://alteeve.com
Node Assassin:  http://nodeassassin.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: Problem with createrepo for modified DVD ISO

2010-06-19 Thread Digimer
On 10-06-19 12:37 AM, Bruno Wolff III wrote:
> On Fri, Jun 18, 2010 at 09:15:09 -0400,
>Digimer  wrote:
>> Hi all,
>>
>> I asked this on buildsys, so this is something of a repost. I'm not
>> sure where to turn at this point, so if this isn't the right list, would
>> anyone be able to point me in the right direction?
>
> Probably the question belongs on users.

Noted, thank you. :)

>> I've been trying to create my own (minorly) custom distro for Fedora
>> 13. All it really is is a custom kickstart and a changed up set of RPMs.
>
> I think revisor is the tool that is best for making custom install DVDs.
> I usually make live images using livecd-creator and can't give you specific
> information on using revisor.

Revisor is currently broken on F13. I posted a bug for it, but I 
understand the maintainer is away. I waited for about a week before 
deciding to give it a shot manually.

>> My problem is; I've added some RPMs and removed others, so I need to
>> regenerate the files in dvd:/repodata to properly reflect what is in
>> dvd:/Packages. I've tried various incantations of 'createrepo Packages/'
>> but none seem to work. When I move the generated files into
>> dvd:/repodata, roll the ISO, burn and install, the installer complains
>> that the repo data is bad (sorry, I don't have the exact error at the
>> moment).
>
> The path to the packages might not be correct. If relative paths are used
> and the repodata directory is not related to the location of the rpms the
> same way, then you could see something like that.

I'd not considered paths before, thanks, I will explore that.

-- 
Digimer
E-Mail: li...@alteeve.com
AN!Whitepapers: http://alteeve.com
Node Assassin:  http://nodeassassin.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: Problem with createrepo for modified DVD ISO

2010-06-19 Thread mike cloaked
On Sat, Jun 19, 2010 at 5:37 AM, Bruno Wolff III  wrote:
> On Fri, Jun 18, 2010 at 09:15:09 -0400,
>  Digimer  wrote:
>> Hi all,
>>
>>    I asked this on buildsys, so this is something of a repost. I'm not
>> sure where to turn at this point, so if this isn't the right list, would
>> anyone be able to point me in the right direction?
>
> Probably the question belongs on users.
>
>>    I've been trying to create my own (minorly) custom distro for Fedora
>> 13. All it really is is a custom kickstart and a changed up set of RPMs.
>
> I think revisor is the tool that is best for making custom install DVDs.
> I usually make live images using livecd-creator and can't give you specific
> information on using revisor.
>

Surely mock/pungi is the best tool chain for creating install isos?

-- 
mike c
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: Problem with createrepo for modified DVD ISO

2010-06-18 Thread Bruno Wolff III
On Fri, Jun 18, 2010 at 09:15:09 -0400,
  Digimer  wrote:
> Hi all,
> 
>I asked this on buildsys, so this is something of a repost. I'm not 
> sure where to turn at this point, so if this isn't the right list, would 
> anyone be able to point me in the right direction?

Probably the question belongs on users.

>I've been trying to create my own (minorly) custom distro for Fedora 
> 13. All it really is is a custom kickstart and a changed up set of RPMs.

I think revisor is the tool that is best for making custom install DVDs.
I usually make live images using livecd-creator and can't give you specific
information on using revisor.

>My problem is; I've added some RPMs and removed others, so I need to 
> regenerate the files in dvd:/repodata to properly reflect what is in 
> dvd:/Packages. I've tried various incantations of 'createrepo Packages/' 
> but none seem to work. When I move the generated files into 
> dvd:/repodata, roll the ISO, burn and install, the installer complains 
> that the repo data is bad (sorry, I don't have the exact error at the 
> moment).

The path to the packages might not be correct. If relative paths are used
and the repodata directory is not related to the location of the rpms the
same way, then you could see something like that.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Problem with createrepo for modified DVD ISO

2010-06-18 Thread Digimer
Hi all,

   I asked this on buildsys, so this is something of a repost. I'm not 
sure where to turn at this point, so if this isn't the right list, would 
anyone be able to point me in the right direction?

   I've been trying to create my own (minorly) custom distro for Fedora 
13. All it really is is a custom kickstart and a changed up set of RPMs.

   My problem is; I've added some RPMs and removed others, so I need to 
regenerate the files in dvd:/repodata to properly reflect what is in 
dvd:/Packages. I've tried various incantations of 'createrepo Packages/' 
but none seem to work. When I move the generated files into 
dvd:/repodata, roll the ISO, burn and install, the installer complains 
that the repo data is bad (sorry, I don't have the exact error at the 
moment).

   So then, what is the magic incantation to properly regenerate the 
repodata for a modified Packages directory on a DVD?

Thanks!

-- 
Digimer
E-Mail: li...@alteeve.com
AN!Whitepapers: http://alteeve.com
Node Assassin:  http://nodeassassin.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel