I’m trying to build my own image for UCC with the ucc-image comand. I have found several bugs:
- selecting btrfs as filesystem is not possible. The command in ucc-image for formating a filesystem hardcodes the -F flag into the commandline. This is not a valid flag for mkfs.btrfs. (line 292 in /usr/sbin/ucc-image)
- UCC 2.0 is based on trusty. The debboostrap supplied with ucs 4.0-2 does not have trusty defintion and so cannot bootstrap a trusty image. /usr/share/debootstrap/scripts/trusty does not exist.
ucc-image -c /usr/share/doc/ucc-image-toolkit/example/ucc-thinclient.cfg -t /tmp/foo -d"foobar" -i"foobar.img"
Creating working directory done (/tmp/tmp7wkqJN)
Preparing logfile done (/var/log/univention/ucc-image-toolkit.log)
Creating debootstrap image done
Installing base system (this may take a while)
ERROR: The command “/usr/sbin/debootstrap --arch=i386 trusty /tmp/tmp7wkqJN/bootstrap ucc2.software-univention.de/” failed with the error code 1