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 Template: rely on existing tool for base image creation #1055
Comments
adrelanos
referenced this issue
Jul 7, 2015
Closed
debian 8 troubles after 'apt-get upgrade' (R3 rc1) #1033
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
nrgaway
Jul 7, 2015
Sounds awesome! I remember look at at that package long time ago when playing around with encrypting the Whonix partitions.
The basic Debian install is pretty much standard; install base, a few required packages, and some configurations like keyboard and locale. Then add on Qubes.
Will this be able to handle Ubuntu install as well?
nrgaway
commented
Jul 7, 2015
|
Sounds awesome! I remember look at at that package long time ago when playing around with encrypting the Whonix partitions. The basic Debian install is pretty much standard; install base, a few required packages, and some configurations like keyboard and locale. Then add on Qubes. Will this be able to handle Ubuntu install as well? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hartwork
Jul 7, 2015
Hi! image-bootstrap does support Ubuntu, yes. This is what I run to install (a rather minimal Ubuntu) trusty to a (>=2GB) loop device:
sudo http_proxy=http://127.0.0.1:8123/ image-bootstrap \
--hostname uv --password .... --verbose --debug \
ubuntu --release trusty SOME_LOOP_DEVICE
hartwork
commented
Jul 7, 2015
|
Hi! image-bootstrap does support Ubuntu, yes. This is what I run to install (a rather minimal Ubuntu) trusty to a (>=2GB) loop device:
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mika
Jul 8, 2015
Hi, with my grml-debootstrap hat on: if there should be something specific missing in grml-debootstrap please let me/us know.
mika
commented
Jul 8, 2015
|
Hi, with my grml-debootstrap hat on: if there should be something specific missing in grml-debootstrap please let me/us know. |
nrgaway
self-assigned this
Jul 14, 2015
nrgaway
added
the
enhancement
label
Jul 14, 2015
adrelanos
changed the title from
rely on existing tool for Debian base image creation
to
Debian Template: rely on existing tool for base image creation
Jul 14, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 18, 2015
Member
One possible issue with grml-debootstrap is that we currently use Fedora as distribution used to build Qubes templates. There is debootrap package available, but not grml-debootstrap. So builder-debian plugin needs to handle it somehow.
But generally reusing existing code is a good idea :)
|
One possible issue with grml-debootstrap is that we currently use Fedora as distribution used to build Qubes templates. There is debootrap package available, but not grml-debootstrap. So builder-debian plugin needs to handle it somehow. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Jul 19, 2015
Member
Depends when this gets implemented and when Fedora gets thrown out. (The plan is to throw out Fedora anyhow. Source: #1054 (comment))
The earlier it's thrown out, the better. You also would not have to figure out how to upgrade dom0 from Fedora 20 to Fedora 21 then.
No idea how much work throwing out Fedora is, though. Just wanted to mention this.
|
Depends when this gets implemented and when Fedora gets thrown out. (The plan is to throw out Fedora anyhow. Source: #1054 (comment)) |
adrelanos commentedJul 7, 2015
Creation of Debian base (raw) images is non-trivial. That's usually done by people dedicating maintenance to separate projects. Such as grml-debootstrap [bash] installable from official Debian repositories or image-bootstrap [python] [it's developer is more active and really cares about doing-things-right(tm)] [hopefully one day in Debian]. [image-bootstrap might even one day get Fedora base image creation support. (https://github.com/hartwork/image-bootstrap/issues/14)]
You are basically re-inventing the wheel here. Going through the learning process that for example grml-deboostrap went through.
I am wondering if we should use such a dedicated tool for the Debian base image creation. It would most likely solve issues such as #1033. And if not, we could dumb down issues to pure Debian issues and consult developers such as @mika, @hartwork @grml community, Debian community, etc. that are experienced with Debian base image creation.
What me made this argument:
If these tools don't work for us yet, we should reports bugs/feature requests and contribute patches upstream. I made good experiences with these upstreams. If all cords break, we'll still be better off using a temporary fork until patches are merged upstream.