UCK 2.4.0 is out!

It was a long awaited release, and we’ve a huge changelog too! The most visible thing we worked on is the complete maverick support but there are a lot of changes under the hood to give a better user experience to every user.

Our great developer Wolf introduced an experimental feature (disabled by default) to use unionfs mounts instead of extracting the full ISO/squashfs, it’s a great new approach and really speeds up the first phases of a remastering operation (the squashfs/iso packing is still the same and can’t be optimized anymore). The point is that we DO NOT suggest to use this feature because it relies on some experimental versions of unionfs that are still a bit buggy and not completely released at the moment.

We also implemented a few methods to allow the installation of particular software in the remaster ISO, like MySQL and deamons requiring the deamon itself to start right after the installation.

Here you’ve the complete changelog

* GUI:
* GUI now uses kdialog, zenity, dialog or builtin (in that order) if
available. (#577197)
* Updated uck-gui to accept parameters for loopback/unionfs mounting
and added the possibility to specify a directory different from ~/tmp
for remaster-dir. Change is backward compatible to uck-2.2.0.
(Question/Answer 110374)
* Backend:
* Sequence of actions in uck-remaster changed so that initrd is
unpacked/customized/packed after the changes to the root file system
and the ISO have been done. This avoids problems when customize_iso
installs a new Live-CD kernel and initrd (which would previously be
overwritten by the contents of the old initrd, causing a mismatch
between the kernel (new) and the initrd (old)).
* Extended remaster-live-cd.sh by two procedures to perform
loopback+union mounts. (#72727)
* Added a -m option to uck-gui, uck-remaster, uck-remaster-unpack-iso
and uck-remaster-unpack-rootfs that uses a combination of loopback
and unionfs mounts instead of copying. This is an experimental
feature as of now and not activated by default. It also depends on
the packages fuse-utils and unionfs-fuse or aufs-tools, which are not
(yet?) pre-requisites for UCK. Documentation for these commands
updated accordingly. (#72727)
At least unionfs-fuse 0.25~hg.20100315-1 is required (Currently
only available from https://launchpad.net/~aakef/+archive/ppa )!
Thanks to Bernd Schubert for the superb support in fixing the
problems encountered.
* Added two new commands (uck-remaster-mount and uck-remaster-umount)
and documentation. These commands are used to do the loopback/
unionfs mounts/umounts required by the -m option described above.
(#72727)
* Added code to library for union_umount to kill processes still using
files in the mount. This happens when updates start daemons in the
root fs.
* Updated all manual pages to reference the source / bug reporting URLs.
* initctl is disabled (replaced with /bin/true) during chroot sessions.
With this change is now possible to install mysql/apache and other
services in the guest system.
* update-grub is disabled (replaced with /bin/true) during chroot sessions.
With this change is now possible to upgrade kernel in maverick too.
* host’s fstab/mtab are copied to the guest so that chrooted “df” can work.
* Backend now checks for kpackagekit as packaging tool, too.
Note: This requires that packagekit ist installed on the hosting
system – otherwise the dbus queries to packagekitd will fail.
FIXME: Running packagekitd on the host will give wrong results!!!
–> We need to change the strategy here! Upstart has similar issues
–> need to start “private” dbus system bus instance?!?
* Added error checking for arguments to uck-remaster-mount.
* improved error checking and handling for union mounts: either all or
nothing now; imply -m if tell-tale directory (-cache) is found;
made reentrant for use by uck-flow; pointless check for
uck-remaster-mount removed; fallback to copy if union mount not
possible; do not remove target when using mounts.
* uck-remaster-remove-win32-files now removes usb-creator.exe which
was added in maverick
* Fixed immediate umount in uck-remaster-unpack-{iso,rootfs} by trap
EXIT handling when using -m.
* unmount strategy (after chroot) was rewritten to unmount every mountpoint
found inside remaster-root.
* Package:
* gfxboot-dev dep added for maverick
* Internal:
* New target updman in Makefile to update manual page version numbers.
* Updated localbuild.sh procedure to patch the debian/changelog file
so that a local unsigned test version can be generated correctly.

Download UCK 2.4.0 or use our new PPA.

6 thoughts on “UCK 2.4.0 is out!

  1. tramm

    27c27
    echo “Usage: $0 [-m] iso-file.iso [customization-scripts-dir] [new-iso-file-name]”
    59a60,61
    > NEW_ISO_FILE_NAME=”$4″
    >
    199c201
    $SCRIPTS_DIR/uck-remaster-pack-iso “$NEW_ISO_FILE_NAME” “$REMASTER_HOME”

  2. Rüti

    Could I save settings as default? If the some times the mastering get broken and I hate it to set-up every time the language, the desktop and the Name.

  3. Fabrizio Balliano Post author

    @Rüti: you can save the ~/tmp/customization-scripts directory and simply recall uck-remaster isofile cust-script-dir.

    For bugs and troubles post on our launchpad page

  4. Rüti

    Sorry but my English is not the best, and the launchpad page is confusing me. So i’am not sure what and how to do.

Leave a Reply

Your email address will not be published. Required fields are marked *