provide a script to download kernels and filesystems ?

Bug #1124072 reported by Lucas Nussbaum
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
marionnet
New
Undecided
Unassigned

Bug Description

Hi,

I can't really include kernels and filesystems in the Debian package itself. What I'd like to do is provide a script that automatically downloads kernels and filesystems to the /usr/share/marionnet/ dir.
This script doesn't really have a reason to be specific to Debian, and it would probably be easier to maintain if it was included in the upstream bzr repository and tarball.

What are your thoughts on that?

(I would work on the script myself, by reusing parts of marionnet-from-scratch).

Related branches

Revision history for this message
Jean-Vincent Loddo (loddo) wrote : Re: [Marionnet-dev] [Bug 1124072] [NEW] provide a script to download kernels and filesystems ?

Yes, of course, essentially because the file systems may be heavy. There
are three options in my opinion :
1) have some distinct optional (recommended?) packages, one per filesystem
2) have a script as you propose
3) have a feature "file-system installations" integrated in marionnet
I don't have a preference, but at least one method should be provided to
the user. If you are willing, the point 2) could be also a good starting
point for 3).

Le 13/02/2013 13:40, Lucas Nussbaum a écrit :
> Public bug reported:
>
> Hi,
>
> I can't really include kernels and filesystems in the Debian package itself. What I'd like to do is provide a script that automatically downloads kernels and filesystems to the /usr/share/marionnet/ dir.
> This script doesn't really have a reason to be specific to Debian, and it would probably be easier to maintain if it was included in the upstream bzr repository and tarball.
>
> What are your thoughts on that?
>
> (I would work on the script myself, by reusing parts of marionnet-from-
> scratch).
>
> ** Affects: marionnet
> Importance: Undecided
> Status: New
>

Revision history for this message
Lucas Nussbaum (lucas) wrote : Re: [Marionnet-dev] [Bug 1124072] [NEW] provide a script to download kernels and filesystems ?

On 14/02/13 at 13:34 -0000, Jean-Vincent Loddo wrote:
> 3) have a feature "file-system installations" integrated in marionnet
> I don't have a preference, but at least one method should be provided to
> the user. If you are willing, the point 2) could be also a good starting
> point for 3).

System-wide installations are probably much better in the context of
universities. We don't really want each and every student to store the
filesystems in its home directory.

Lucas

Revision history for this message
Lucas Nussbaum (lucas) wrote :

On 15/02/13 at 08:10 +0100, Franck Butelle wrote:
> Hi,
>
> >From my point of view, I would prefer to have a -core (or -common)
> package with binaries, icons etc.
> and additional packages with kernels, filesystems (virtual machines) etc.
> this have the advantage to be able to benefit of the package system
> to take care of versions of filesystems etc. as well.
> And, moreover, it may be possible to give minimal packages and extended
> ones with specific filesystems.
>
> Well, this is just my preference.

The problem with that is that it would be a huge package whose content
cannot be easily rebuilt from source (the content of filesystems is not
generated by scripts AFAIK?). An alternative could be to provide a
"marionnet-downloader" package that downloads filesystems and kernels at
installation time (similarly to what is done with the proprietary flash
plugin).

Anyway, my first goal is to get a working marionnet package, with a
script making it easy to download kernels/filesystems. There are still
some big blockers for that, such as https://bugs.launchpad.net/bugs/1124055.

When that first goal is achieved, I will investigate how to provide
kernels and filesystems.

Lucas

Revision history for this message
Lucas Nussbaum (lucas) wrote :

Hi,

Attached is an attempt at a patch for marionnet_from_scratch that adds a --download-only option, that skips all steps except the download of filesystems and kernels.

It was hard to integrate properly -- it should be possible to improve the patch with some refactoring of marionnet_from_scratch.

Please let me know what you think.

Lucas

Revision history for this message
Jean-Vincent Loddo (loddo) wrote : Re: [Bug 1124072] Re: provide a script to download kernels and filesystems ?

Hi Lucas,

I have modified the script as described in your patch, trying to
integrate it properly as you suggest. I tested it and it seems to run
correctly with or without --download-only (and also according to options
-F, -P and -K). I pushed the bzr version 424.
Thank you for the patch proposal,
Jean-Vincent

Le 01/07/2013 17:57, Lucas Nussbaum a écrit :
> Hi,
>
> Attached is an attempt at a patch for marionnet_from_scratch that adds a
> --download-only option, that skips all steps except the download of
> filesystems and kernels.
>
> It was hard to integrate properly -- it should be possible to improve
> the patch with some refactoring of marionnet_from_scratch.
>
> Please let me know what you think.
>
> Lucas
>
> ** Patch added: "0003-Hack-marionnet-from-scratch-to-download-only.patch"
> https://bugs.launchpad.net/marionnet/+bug/1124072/+attachment/3720647/+files/0003-Hack-marionnet-from-scratch-to-download-only.patch
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.