Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tar.xz for portage download if xzdec is present #40

Open
globalcitizen opened this issue Feb 2, 2013 · 7 comments
Open

Use tar.xz for portage download if xzdec is present #40

globalcitizen opened this issue Feb 2, 2013 · 7 comments
Labels

Comments

@globalcitizen
Copy link
Owner

This speeds up download (smaller file size)

@globalcitizen
Copy link
Owner Author

Also requested in #43 for custom stage3 tarball specification.

@PoPoutdoor
Copy link
Contributor

Ideal script can be split into program logic as:

  1. Processing of Interactive/command line parameters
  2. Generates the lxc.conf file (from error checked parameters)
  3. (future version) partition management (something like lvm with snapshot features?)
  4. source image (tarball) management

I don't see any technical difficulties for other compression format, if current script updates to a more modular friendly way.

The truth is it is harder to do things right for bash.

@globalcitizen
Copy link
Owner Author

The script structure is a remnant of the other lxc-distro scripts at the moment. I agree it's not really logical as a standalone thing.

As for partitioning, I think this is too low level for this script.

I don't have time to widen the scope that far (or to LV management). But I agree, it's related.

The truth is it is harder to do things right for bash.

Couldn't agree more.

@PoPoutdoor
Copy link
Contributor

Update point 3:

(future version) partition management (something like lvm with snapshot features?)

(future version) storage management (auto magically create mount points, includes portage sharing, allocate partition with disk manager like LVM)

@specing
Copy link
Contributor

specing commented Jul 10, 2015

ok

The truth is it is harder to do things right for bash.

Do you want me to migrate everything to AdaScript? Though it would require a GNAT install on the host.

@globalcitizen
Copy link
Owner Author

If we skip out on bash then we destroy too much portability. So it's a non-option, unfortunately.

@specing
Copy link
Contributor

specing commented Jul 11, 2015

yes :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants