Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upDebian Templates: fix / refactor 02_install_groups.sh #1112
Comments
adrelanos
referenced this issue
Aug 11, 2015
Closed
Debian Templates: Why change systemd default runlevel? #1111
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
nrgaway
Aug 11, 2015
stretch and jessie do not need a plugin script anymore; wheezy and some flavors of Ubuntu may.
- KEEP: the general template_debian/02_install_groups.sh
- KEEP: the specific template_debian/02_install_groups_wheezy.sh but remove multi-target lines
- REMOVE: the specific template_debian/02_install_groups_jessie.sh
- NOT NEEDED: specific template_debian/02_install_groups_stretch.sh (Seems like forgotten?)
The plugin scripts provide for additional rules as not to clutter the main scripts and allow other template flavors such as gnome or whonix
nrgaway
commented
Aug 11, 2015
|
stretch and jessie do not need a plugin script anymore; wheezy and some flavors of Ubuntu may.
The plugin scripts provide for additional rules as not to clutter the main scripts and allow other template flavors such as gnome or whonix |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Aug 11, 2015
Member
The plugin scripts provide for additional rules as not to clutter the main scripts and allow other template flavors such as gnome or whonix
Yes, generally speaking this looks like a nice feature.
KEEP: the general template_debian/02_install_groups.sh
Yes.
KEEP: the specific template_debian/02_install_groups_wheezy.sh but remove multi-target lines
I'd say let's keep it as is until wheezy gets finally deprecated. I personally wouldn't want to test and image after changing this.
REMOVE: the specific template_debian/02_install_groups_jessie.sh
Ok... But... What about...
- updateDebianSourceList
- aptUpdate
Those are no longer needed for some reason?
NOT NEEDED: specific template_debian/02_install_groups_stretch.sh (Seems like forgotten?)
Alright.
Yes, generally speaking this looks like a nice feature.
Yes.
I'd say let's keep it as is until wheezy gets finally deprecated. I personally wouldn't want to test and image after changing this.
Ok... But... What about...
Those are no longer needed for some reason?
Alright. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
nrgaway
Aug 11, 2015
Ya, you are right.
- updateDebianSourceList
- aptUpdate
Will be needed for both Jessie and Stretch. Anything version specific will
land in those files. Qubuntu also uses same base scripts as Debian
(sof-tlinked).
nrgaway
commented
Aug 11, 2015
|
Ya, you are right.
Will be needed for both Jessie and Stretch. Anything version specific will |
added a commit
to adrelanos/qubes-builder-debian
that referenced
this issue
Aug 11, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Aug 11, 2015
Member
Commit attached above. (related) Please check out the specific template_debian/02_install_groups_jessie.sh at this revision.
There is no specific template_debian/02_install_groups_stretch.sh yet. For now, template_debian/02_install_groups_stretch.sh should have the very same contents as template_debian/02_install_groups_jessie.sh. Do you prefer a copy a softlink?
|
Commit attached above. (related) Please check out the specific template_debian/02_install_groups_jessie.sh at this revision. There is no specific template_debian/02_install_groups_stretch.sh yet. For now, template_debian/02_install_groups_stretch.sh should have the very same contents as template_debian/02_install_groups_jessie.sh. Do you prefer a copy a softlink? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
nrgaway
Aug 11, 2015
On 11 August 2015 at 09:40, Patrick Schleizer notifications@github.com
wrote:
Commit attached above. (related
#1111 (reference))
Please check out the specific template_debian/02_install_groups_jessie.sh
https://github.com/adrelanos/qubes-builder-debian/blob/beb83db0c9e867b038b92943f03f274029deb37e/template_debian/02_install_groups_jessie.sh
at this revision.There is no specific template_debian/02_install_groups_stretch.sh yet. For
now, template_debian/02_install_groups_stretch.sh should have the very same
contents as template_debian/02_install_groups_jessie.sh
https://github.com/adrelanos/qubes-builder-debian/blob/beb83db0c9e867b038b92943f03f274029deb37e/template_debian/02_install_groups_jessie.sh.
Do you prefer a copy a softlink?
I would prefer a softlink
nrgaway
commented
Aug 11, 2015
|
On 11 August 2015 at 09:40, Patrick Schleizer notifications@github.com
I would prefer a softlink |
added a commit
to adrelanos/qubes-builder-debian
that referenced
this issue
Aug 11, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Ok, softlink added in above commit. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Sep 1, 2015
Member
@adrelanos Should I merge your builder-debian? Or you planning to make PR when its ready?
|
@adrelanos Should I merge your builder-debian? Or you planning to make PR when its ready? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Sep 1, 2015
Member
Yes. Whenever you are ready. I just postponed any new merge requests before other pull requests are merged. Also to prevent overloading you when you come back from holiday. Perhaps I was overthinking it. You can merge them as-is (preferred by me) or squash (also great; if you care about small git history, I don't know that yet).
|
Yes. Whenever you are ready. I just postponed any new merge requests before other pull requests are merged. Also to prevent overloading you when you come back from holiday. Perhaps I was overthinking it. You can merge them as-is (preferred by me) or squash (also great; if you care about small git history, I don't know that yet). |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Sep 6, 2015
Member
The following pull request also solves this ticket:
marmarek/qubes-builder-debian#20
|
The following pull request also solves this ticket: |
adrelanos commentedAug 11, 2015
There is,
I mostly care about jessie and further versions. I think rather than inventing template_debian/02_install_groups_stretch.sh, the whole template_debian/02_install_groups_jessie.sh can be abolished.
Let's go through all effective code of template_debian/02_install_groups_stretch.sh one by one and see what to do about it.
Can be moved to the general 02_install_groups.sh, since required for any suite?
sysvinit does no longer get installed on jessie and upwards by default. Therefore no need to remove it. And since systemd gets installed by default, no need to install it. This is also confirmed by a build log, which is attached. [1] So it can be removed?
Discussed in #1111 - maybe it can be removed (#1111 will tell) - or moved to the general 02_install_groups.sh?
From that perspective, that whole script can and should be abolished?
[1]