I propose something like the attached 030-fat-client script (warning:
UNTESTED).

 * It starts with 030-f, so it should run after 030-early-packages and before 
030-late-packages, giving the sysadmin some more control over the packages that 
are contained in the fat chroot.
 * At that point /proc is already mounted, so there's no need to remount it or 
unmount it.
 * The package cache also shouldn't need to be cleaned, as it gets cleaned in 
090-clean-package-cache, resulting in fewer downloaded packages.
 * It uses tasksel *-desktop instead of apt-get install, so that apt-get purge 
--auto-remove afterwards doesn't remove the recommented packages.
 * It installs all the -desktop tasks that are already installed on the server, 
and it falls back to ubuntu-desktop if none is installed.


** Attachment added: "030-fat-client"
   http://launchpadlibrarian.net/37767964/030-fat-client

-- 
010-fat-client fails to squashfs the image because proc is still mounted
https://bugs.launchpad.net/bugs/504678
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to