[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Dragora-users] Proposal: flexible script to create different images
From: |
DustDFG |
Subject: |
Re: [Dragora-users] Proposal: flexible script to create different images |
Date: |
Thu, 2 Jun 2022 13:29:51 +0100 |
Hello Matias!
I apologize for coming back to this
On Thu, Apr 28, 2022 at 7:00 PM Matias Fonzo <selk@dragora.org> wrote:
>
> El 2022-04-27 04:12, DustDFG escribió:
> > Hi,
> >
> >> No, I was talking about to modify the output of packages by default
> >> (from Qi), but first I want to check if we can just include the
> >> packages
> >> in a ISO handling the category name in the packages, for e.g: all the
> >> @core.tlz packages for the ISO (CD 1).
> >
> > I think that if we don't worry about size of this iso image, it doesn't
> > look like
> > a problem because we can use 'find' utility. I still can't understand
> > what
> > you
> > mean. What does modification of packages by default means?
>
> The size of the ISO matters, since we have to create the images for
> several CDs, in 700mb maximum. To achieve this you have to adjust or
> change the output of the packages for the files containing the build
> orders. For example, the packages generated from 00-core.order would be
> installed to /var/cache/qi/packages/cd1/ with the rest continuing to
> wrap their output for the next CD number. So from stage 2 you can create
> the images for the CDs. It also gives the possibility of doing what you
> suggested before, once the packages are generated, they will be
> available in the packages/ directory, when chrooting in, Qi can be used
> to install directly, for example. the core from
> var/cache/qi/packages/cd1.
>
> Apart from this, my proposal is to create a rootfs, which you unpack
> directly, which is more direct and faster than having to install
> packages one by one via Qi.
>
What do you think the rootfs must contain?
> >> On your previous concern, it is possible to install the packages using
> >> --rootdir from Qi, for example install all *@core.tlz packages to
> >> compose the main system. This can also be avoided if we provide rootfs
> >> images (as in -alpha 1)...
> >
> > I thought that the rootfs is a core image. I am a little surprised. I
> > still
> > can't
> > understand core category. If we will add core category, we will need to
> > move
> > there some packages from other categories. It can break the logic.
>
> Sorry, what I was trying to say was the listed packages to be generated
> from "00-core.order".
>
> > On Tue, Apr 26, 2022 at 10:01 PM Matias Fonzo <selk@dragora.org> wrote:
> >
> >> Hi DustDFG,
> >>
> >> El 2022-04-26 12:39, DustDFG escribió:
> >> >
> >> > On Mon, Apr 25, 2022 at 8:35 PM Matias Fonzo <selk@dragora.org> wrote:
> >> >
> >> >> Hello DustDFG,
> >> >>
> >> >> Sorry for the delay.
> >> >>
> >> >> El 2022-04-21 09:01, DustDFG escribió:
> >> >> > On Thu, Apr 21, 2022 at 7:37 AM Matias Fonzo <selk@dragora.org>
> >> wrote:
> >> >> >
> >> >> >> Can you clarify under which scenario(s)?. I guess what you propose
> >> is
> >> >> >> to enter the temporary system by entering `enter-chroot` and install
> >> >> >> the
> >> >> >> packages instead of having to build the whole final system, right?.
> >> >> >>
> >> >> >
> >> >> > You are almost right. I wanted to say that when we have an instance of
> >> >> > qi
> >> >> > and set of binary packages, we can install only part of the packages.
> >> >> > It
> >> >> > will give us a filesystem representation of dragora but in this case
> >> we
> >> >> > can
> >> >> > decide what we want see in the live image. So it means that we can
> >> >> > provide
> >> >> > core dragora image. It also means that user can create custom image
> >> >> > with
> >> >> > only necessary for the user packages. In this situation we have one
> >> >> > special
> >> >> > case. If we will install all binary packages, we will get the whole
> >> >> > final
> >> >> > system but it doesn't have much sense because when we follow
> >> >> > instructions
> >> >> > from `CHEATSHEET.md` we compile all packages and install them so we
> >> get
> >> >> > the
> >> >> > whole final system in this way (It can be useful for the user when
> >> user
> >> >> > has
> >> >> > all binary packages and installed qi and wants to produce dvd iso
> >> >> > image).
> >> >>
> >> >> That is possible, but to facilitate the task I think it will be better
> >> >> to organize the output of the packages using the category name, so we
> >> >> could easily know which packages belong to the category of 'core' by
> >> >> just looking into the directory name. Especially, it would provide us
> >> >> with the selection for the ISOs split-ed in CDs...
> >> >>
> >> >> (I'm going to look now at the Qi code to see if it is feasible to have
> >> >> the output using the name of the category).
> >> >>
> >> >>
> >> > I am not sure that I understood you correctly. Did you talk about
> >> > organizing packages from /usr/pkg/ by category sub-folders?
> >>
> >> No, I was talking about to modify the output of packages by default
> >> (from Qi), but first I want to check if we can just include the
> >> packages
> >> in a ISO handling the category name in the packages, for e.g: all the
> >> @core.tlz packages for the ISO (CD 1).
> >>
> >> Right now Dragora can create a full DVD (the whole system with the
> >> binary packages inside), what is missing is to split the packages in
> >> several CDs (ISOs).
> >>
> >> On your previous concern, it is possible to install the packages using
> >> --rootdir from Qi, for example install all *@core.tlz packages to
> >> compose the main system. This can also be avoided if we provide rootfs
> >> images (as in -alpha 1)...
> >>
> >>
> >>
>
- Re: [Dragora-users] Proposal: flexible script to create different images,
DustDFG <=
- Re: [Dragora-users] Proposal: flexible script to create different images, Matías Fonzo, 2022/06/02
- Re: [Dragora-users] Proposal: flexible script to create different images, DustDFG, 2022/06/03
- Re: [Dragora-users] Proposal: flexible script to create different images, Matías Fonzo, 2022/06/03
- Re: [Dragora-users] Proposal: flexible script to create different images, DustDFG, 2022/06/03
- Re: [Dragora-users] Proposal: flexible script to create different images, Matías Fonzo, 2022/06/04
- Re: [Dragora-users] Proposal: flexible script to create different images, DustDFG, 2022/06/06
- Re: [Dragora-users] Proposal: flexible script to create different images, Matías Fonzo, 2022/06/06
- Re: [Dragora-users] Proposal: flexible script to create different images, DustDFG, 2022/06/06
- Re: [Dragora-users] Proposal: flexible script to create different images, DustDFG, 2022/06/06
- Re: [Dragora-users] Proposal: flexible script to create different images, Matías Fonzo, 2022/06/06