ubuntu folder not created on a disk made by usb-creator

Bug #1108327 reported by Brian Murray on 2013-01-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
usb-creator (Ubuntu)
Medium
Unassigned

Bug Description

On a usb stick that I created with usb-creator there was no "ubuntu" folder, subsequently update-notifier did not detect this as a volume with packages on it. However, if I dd a .iso file to a partition on my usb stick the "ubuntu" folder, actually a symlink to ., is created.

Here is the relevant checking code from update-notifier:

check_mount_point_for_packages (const char *mount_point, gpointer data)
{
   if (!mount_point)
      return;
   //g_print("checking mount point %s\n", p);

   char *ubuntu_dir = g_strdup_printf("%s/ubuntu",mount_point);
   char *cdromupgrade = g_strdup_printf("%s/cdromupgrade",mount_point);
   char *aptoncd_file = g_strdup_printf("%s/aptoncd.info",mount_point);
   if(! (g_file_test (ubuntu_dir, G_FILE_TEST_IS_SYMLINK) ||
         g_file_test (cdromupgrade, G_FILE_TEST_EXISTS) ||
         g_file_test (aptoncd_file, G_FILE_TEST_IS_REGULAR) )) {
      g_free(ubuntu_dir);
      g_free(cdromupgrade);
      g_free(aptoncd_file);
      return;
   }
   g_free(ubuntu_dir);
   g_free(cdromupgrade);
   g_free(aptoncd_file);

Changed in usb-creator (Ubuntu):
importance: Undecided → Medium
summary: - ubuntu folder not created on a disk made usb-creator
+ ubuntu folder not created on a disk made by usb-creator
tags: added: raring
Dimitri John Ledkov (xnox) wrote :

Ok, but. The packages that are available on the desktop-cd is a very limited set of optional packages we sometimes install.
It's not a full repository that one can upgrade from.
This is expected, since we do not dd the iso to usb stick, but take the bits that are needed to run the live and/or persistent live sessions.

I'm not sure if this is a bug or a feature. E.g. ubiquity when running from such a usb-stick will also be missing those debs.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers