[Bug 1108327] Re: ubuntu folder not created on a disk made by usb-creator
Dmitrijs Ledkovs
launchpad at surgut.co.uk
Wed Jan 30 16:14:26 UTC 2013
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.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to usb-creator in Ubuntu.
https://bugs.launchpad.net/bugs/1108327
Title:
ubuntu folder not created on a disk made by usb-creator
Status in “usb-creator” package in Ubuntu:
New
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);
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1108327/+subscriptions
More information about the foundations-bugs
mailing list