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

Look at making other distro's installers compatible with script #6

Open
ghfields opened this issue May 16, 2018 · 5 comments
Open

Look at making other distro's installers compatible with script #6

ghfields opened this issue May 16, 2018 · 5 comments
Labels
enhancement New feature or request

Comments

@ghfields
Copy link
Owner

No description provided.

@ghfields ghfields added the enhancement New feature or request label May 16, 2018
@ghfields
Copy link
Owner Author

ghfields commented Jul 1, 2018

This may make the Ubiquity installer able to install other Ubuntu flavors. A little skeptical though because you would think Ubiquity would give you an interactive choice if it were that easy.
https://help.ubuntu.com/lts/installation-guide/i386/apbs04.html (B.4.10. Package selection)

http://edge2.blogspot.com/2017/04/convert-ubuntu-desktop-to-server.html

@lloydie
Copy link

lloydie commented Feb 3, 2019

The determination of how to abstract the various parts of the install process is i assume the most critical issue. I certainly don't want to start hacking up the code in a manner that is inappropriate, that being said.

If the various components were put into functions this would provide a mechanism to support various features thru flags and still maintain code readability etc.

Looking thru the script however you don't seem to like functions :) i don't want to introduce a code style that you would be unhappy with.

I also think with the abstraction through functions all the various feature requests such as #15, #16, #25 would be a lot easier to implement.

@ghfields
Copy link
Owner Author

ghfields commented Feb 3, 2019

You're dead on. This grew from a simple pre/post ubiquity script. It was a very serialized process with many repeating strings. This has grown (or aspires) to be more than that. Functions would definitely help out.

I appreciate you looking under the hood.

@lloydie
Copy link

lloydie commented Feb 3, 2019

I appreciate the collaboration.

Awesome. Obviously keeping the script as contained as possible is the goal anything more would turn into a "full blown" installer. I don't believe either of us want that for this project.

The workflow in providing ZFS on root is very well defined.

  1. setup zfs modules "THANKS to that bs with CDDL and GPL"
  2. setup zfs root filesystem
  3. install system as per normal
  4. setup zfs boot environment / config grub
  • i'm aware of zfs boot environments but how they integrate or not with grub is still ?
  1. cleanup / make base snapshots etc.
  2. moving forward the ability to install / rollback / update the ROOTFS to X distribution would surely be desirable.

Ergo

function zfs_setup()
function zfs_config()
function sys_install() - simple jump to kickstart "standard" installer.
function sys_config()
function sys_cleanup()

I make a branch and get coding, please feel free to pick the crap out of my suggestions. The only goal ever is to become a better hacker personally :)

Cheers.

@lloydie
Copy link

lloydie commented Feb 3, 2019

Just quickly having a look at feature requests, if you are happy with the pull request. I think it goes without saying that all feature requests are relatively easy with the right abstractions.

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

No branches or pull requests

2 participants