Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using the Ubuntu customization kit, is there a way to include all the updates on the created CD (up to the point when the CD gets created)?


share|improve this question
not sure about UCK.. but I think remastersys is right tool for this requirement. – Web-E Jun 22 '12 at 8:48
up vote 4 down vote accepted

In general, you can do this with the LiveCD by chrooting into the expanded squashfs filesystem and running apt-get with upgrade or dist-upgrade. Note that the repacked customized filesystem may not fit on a 700MB CD (run clean, delete apt caches, etc. anyway)

share|improve this answer
Many thanks for the accept, Mitch: I was typing this answer on the phone, I will update soon with some more detail and better formatting. – izx Jun 22 '12 at 14:19

Using ubuntu-defaults-builder, you can make your original iso image including update packages.

Step1. Install ubuntu-defaults-builder

sudo apt-get install ubuntu-defaults-builder

Step2. Making Template

ubuntu-defaults-template ubuntu-12.04-desktop-i386

This command makes directory named ubuntu-12.04-desktop-i386 within several files and some folders.

Step3. Customizing Template

In ubuntu-12.04-desktop-i386 directory, hooks/chroot file is there. Add below 3 lines to last part of the file.

apt-get update
apt-get upgrade --yes
apt-get clean

If you want to localize, change i18n/language.txt, i18n/langpacks.txt, and i18n/keyboard.txt. Or if you want to add some applications, add package names into depends.txt in top of directory.

Step4. Making DEB Package

dpkg-buildpackage -us -uc

This command makes package named "ubuntu-12.04-desktop-i386_0.1_all.deb" in upper directory.

Step5. Execute ubuntu-defaults-image

cd ../
sudo ubuntu-defaults-image --package ubuntu-12.04-desktop-i386_0.1_all.deb

This command makes iso image named "binary-hybrid.iso".

But this image is over 726MB, you should burn this iso image to DVD disc, or install this iso image to USB drive.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.