<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=3332&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Installing Devuan Ascii 2.1 with virt-install]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3332</link>
		<description><![CDATA[The most recent posts in Installing Devuan Ascii 2.1 with virt-install.]]></description>
		<lastBuildDate>Sat, 22 Feb 2020 17:57:24 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Installing Devuan Ascii 2.1 with virt-install]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20178#p20178</link>
			<description><![CDATA[<p>Thanks, got it installed now, and apt-file installed as well.</p><p>Chris</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Sat, 22 Feb 2020 17:57:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20178#p20178</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing Devuan Ascii 2.1 with virt-install]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20169#p20169</link>
			<description><![CDATA[<div class="quotebox"><cite>chris2be8 wrote:</cite><blockquote><div><p>Which package contains isoinfo? And is there a way to search for packages containing a particular file?</p></div></blockquote></div><div class="codebox"><pre><code>empty@E485:~ $ apt-file search /usr/bin/isoinfo                                          
genisoimage: /usr/bin/isoinfo             
empty@E485:~ $</code></pre></div><p><a href="https://pkginfo.devuan.org/stage/ascii/ascii/apt-file_3.1.4.html" rel="nofollow">https://pkginfo.devuan.org/stage/ascii/ … 3.1.4.html</a></p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sat, 22 Feb 2020 00:09:20 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20169#p20169</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing Devuan Ascii 2.1 with virt-install]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20166#p20166</link>
			<description><![CDATA[<p>Which package contains isoinfo? And is there a way to search for packages containing a particular file?</p><p>Chris</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Fri, 21 Feb 2020 20:58:38 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20166#p20166</guid>
		</item>
		<item>
			<title><![CDATA[Installing Devuan Ascii 2.1 with virt-install]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20155#p20155</link>
			<description><![CDATA[<p>The branding of the ISO file was updated sometime after the devuan_ascii_2.0.0-beta_amd64_DVD.iso, so that it shows &quot;Devuan GNU/Linux&quot; as shown below.</p><div class="codebox"><pre><code>$ isoinfo -J -i devuan_ascii_2.0.0-beta_amd64_DVD.iso -x /.disk/info
Debian GNU/Linux 2.0.0-beta &quot;Ascii&quot; - Official amd64 DVD Binary-1 20180213-18:54
$ isoinfo -J -i devuan_ascii_2.1_amd64_dvd-1.iso -x /.disk/info
Devuan GNU/Linux 2.1 (ascii) amd64 DVD1 - 2019-12-21 07:24:54 UTC</code></pre></div><p>When this branding changed, virt-install could no longer identify this iso file as a Debian (or derivative) distro, so it could not pull from a built-in list of initrd and kernel files to load.</p><p>On my virtualization server (CentOS 7, virt-install-1.5.0-7.el7.noarch), I patched /usr/share/virt-manager/virtinst/urlfetcher.py to handle a Devuan disc.</p><div class="codebox"><pre class="vscroll"><code>--- /usr/share/virt-manager/virtinst/urlfetcher.py.2020-02-20.01	2020-02-20 21:06:53.515076802 -0500
+++ /usr/share/virt-manager/virtinst/urlfetcher.py	2020-02-20 21:41:17.649056883 -0500
@@ -1279,6 +1279,33 @@
         logging.debug(&quot;Didn&#039;t find any known codename in the URL string&quot;)
         return self.os_variant
 
+class DevuanDistro(DebianDistro):
+    name = &quot;Devuan&quot;
+    urldistro = &quot;devuan&quot;
+    def _is_install_cd(self):
+        # For install CDs
+        if not self._check_info(&quot;.disk/info&quot;):
+            return False
+
+        if self.arch == &quot;x86_64&quot;:
+            kernel_initrd_pair = (&quot;linux&quot;,
+                                  &quot;initrd.gz&quot;)
+        elif self.arch == &quot;i686&quot;:
+            kernel_initrd_pair = (&quot;install.386/vmlinuz&quot;,
+                                  &quot;install.386/initrd.gz&quot;)
+        elif self.arch == &quot;aarch64&quot;:
+            kernel_initrd_pair = (&quot;install.a64/vmlinuz&quot;,
+                                  &quot;install.a64/initrd.gz&quot;)
+        elif self.arch == &quot;ppc64le&quot;:
+            kernel_initrd_pair = (&quot;install/vmlinux&quot;,
+                                  &quot;install/initrd.gz&quot;)
+        elif self.arch == &quot;s390x&quot;:
+            kernel_initrd_pair = (&quot;boot/linux_vm&quot;, &quot;boot/root.bin&quot;)
+        else:
+            kernel_initrd_pair = (&quot;install/vmlinuz&quot;, &quot;install/initrd.gz&quot;)
+        self._hvm_kernel_paths += [kernel_initrd_pair]
+        self._xen_kernel_paths += [kernel_initrd_pair]
+        return True
 
 class UbuntuDistro(DebianDistro):
     # http://archive.ubuntu.com/ubuntu/dists/natty/main/installer-amd64/</code></pre></div><p>It looks like upstream <a href="https://github.com/virt-manager/virt-manager" rel="nofollow">virt-manager</a> has moved in from virt-manager 1.5 and has refactored the code, but file <a href="https://github.com/virt-manager/virt-manager/blob/master/virtinst/install/urldetect.py" rel="nofollow">https://github.com/virt-manager/virt-ma … ldetect.py</a> is the one that could be patched to include Devuan disc info.</p><p>Do you expect that the initrd and kernel file names on the install media will be stable? I would not mind submitting a patch to upstream. I have no relationship with them, but I want Devuan to be easier to install on virtualization platforms!</p>]]></description>
			<author><![CDATA[dummy@example.com (bgstack15)]]></author>
			<pubDate>Fri, 21 Feb 2020 01:56:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20155#p20155</guid>
		</item>
	</channel>
</rss>
