Bug#258307: Create ubd devices for UML
* Matt Zimmerman <mdz@debian.org> [2004-07-08 12:41]:
> created. Behaviour with the patch is only different if the installation is
> happening under UML.
>
> http://www.no-name-yet.com/patches/base-installer.ubd.diff
Thanks, but please attach it next time so it's properly archived in
the BTS.
diff -Nru /tmp/CLxQpUfDES/base-installer-0.087/debian/changelog /tmp/bfMCWezniA/base-installer-0.087ubuntu1/debian/changelog
diff -Nru /tmp/CLxQpUfDES/base-installer-0.087/debian/po/da.po /tmp/bfMCWezniA/base-installer-0.087ubuntu1/debian/po/da.po
diff -Nru /tmp/CLxQpUfDES/base-installer-0.087/debian/po/el.po /tmp/bfMCWezniA/base-installer-0.087ubuntu1/debian/po/el.po
diff -Nru /tmp/CLxQpUfDES/base-installer-0.087/debian/po/fr.po /tmp/bfMCWezniA/base-installer-0.087ubuntu1/debian/po/fr.po
diff -Nru /tmp/CLxQpUfDES/base-installer-0.087/debian/po/he.po /tmp/bfMCWezniA/base-installer-0.087ubuntu1/debian/po/he.po
diff -Nru /tmp/CLxQpUfDES/base-installer-0.087/debian/po/lt.po /tmp/bfMCWezniA/base-installer-0.087ubuntu1/debian/po/lt.po
diff -Nru /tmp/CLxQpUfDES/base-installer-0.087/debian/po/nl.po /tmp/bfMCWezniA/base-installer-0.087ubuntu1/debian/po/nl.po
diff -Nru /tmp/CLxQpUfDES/base-installer-0.087/debian/po/ro.po /tmp/bfMCWezniA/base-installer-0.087ubuntu1/debian/po/ro.po
diff -Nru /tmp/CLxQpUfDES/base-installer-0.087/debian/po/sk.po /tmp/bfMCWezniA/base-installer-0.087ubuntu1/debian/po/sk.po
diff -Nru /tmp/CLxQpUfDES/base-installer-0.087/debian/postinst /tmp/bfMCWezniA/base-installer-0.087ubuntu1/debian/postinst
--- /tmp/CLxQpUfDES/base-installer-0.087/debian/postinst 2004-06-24 10:19:20.000000000 -0700
+++ /tmp/bfMCWezniA/base-installer-0.087ubuntu1/debian/postinst 2004-07-08 11:30:25.000000000 -0700
@@ -261,6 +261,10 @@
chroot /target vgscan --mknodes || true
umount /target/proc
fi
+ # UML: create ubd devices
+ if grep -q "model.*UML" /proc/cpuinfo; then
+ chroot /target /bin/sh -c '(cd /dev; ./MAKEDEV ubd)'
+ fi
}
kernel_update_list () {
--
Martin Michlmayr
tbm@cyrius.com
Reply to: