On Wed, Apr 23, 2014 at 08:56:18PM -0000, Iain Lane wrote:
> On Wed, Apr 23, 2014 at 06:55:34PM -0000, Steve Langasek wrote:
> > Iain, I thought ubuntukylin-default-settings already  had support for
> > removing packages that had previously been isntalled from the ubuntu-
> > desktop task; this is one of the facilities that ubuntu-defaults-builder
> > is supposed to provide.  Am I missing some reason that this isn't
> > sufficient for the ubuntu-kylin-docs case?

> I've had a look and I don't see such a facility in
> ubuntu-defaults-builder. Hopefully I'm missing it, but I think that it
> wouldn't be very easy to add it properly.

> I guess though that ubuntukylin-default-settings could do such mangling
> as I suggested earlier in its hook, assuming it's appropriate for the
> hook to poke around in the internals of the image build process.

So maybe it's not part of the ubuntu-defaults-builder interfaces per se, but
I'm pretty sure that's what hooks/chroot in ubuntukylin-default-settings is
for.

rawlist=$(cat /usr/share/ubuntukylin-default-settings/remove-package.list)
list=$(dpkg -l $rawlist | awk '/^i/ {print $2}')
[ -z "$list" ] || apt-get purge --auto-remove -y $list

ubuntu-docs is already listed there, though.

It's possible this isn't fixable properly without moving ubuntukylin
handling to a seed + meta package.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1308889

Title:
  ubuntu-kylin-docs was not installed by default in latest image

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntukylin/+bug/1308889/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to