[Bug 11086] Kubuntu live says "Starting Ubuntu" on bootup

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Wed Jun 29 13:01:11 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=11086
Ubuntu (branding, kubuntu, livecd) | kubuntu-live


toddmaynard at comcast.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




------- Additional Comments From toddmaynard at comcast.net  2005-06-29 14:01 UTC -------
I am able to observe this as well.  Looking at the grub source - The script
update-grub in the debian directory has a function write_kernel_entry (for
updating the /boot/grub/menu.lst file which hardcodes the title to Ubuntu : 
"echo "title		Ubuntu, kernel $kernel_version $recovery_desc" >> $buffer"

The question becomes how to determine whether we are Kubuntu or Ubuntu.  A
possibility would be to set $distro to "Kubuntu"  if
/usr/share/doc/kubuntu-desktop exists and /usr/share/doc/ubuntu-desktop doesn't
exist:

distro="Ubuntu"
if ! [ -d /usr/share/doc/ubuntu-desktop ] ; then
   if  [ -d /usr/share/doc/kubuntu-desktop ] ; then
   distro="Kubuntu"
   fi
fi
"echo "title		$distro, kernel $kernel_version $recovery_desc" >> $buffer"


This seems a bit cludgy and imprecise.... Any install without the
kubuntu-desktop would be Ubuntu.  A cleaner solution would seem to be having a
distroname set somewhere on the filesystem (/etc/distroname kinda like
/etc/hostname ) that could be referenced by any script/prog wanting to know.
This would help clear the way for future [A-Z]ubuntu's as well , so that each
"derivative" wouldn't need to s/Ubuntu/[A-Z]ubuntu all over the place.






 

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the kubuntu-bugs mailing list