Develop/Compiling

Generating deepOfix install CD images

This article explain how to generate fresh deepOfix install CD images from the source code.

Steps to generate the deepOfix install CD image

  • Check out the source code the deepOfix tag or trunk that you are interested in.

  • Change into the main directory of the checked out source code. For example, if you checked out the trunk source code to a directory called trunk, then after changing into this directory, this what you should see in that directory:
     deepofix:~$ cd trunk
     deepofix:~/trunk$ ls
     bin  install_cd  LICENSE  packages  sources
  • Run the bin/mkcd script to generate the new image. The new image file will be called deepofix-cd.iso.
     deepofix:~/trunk$ bin/mkcd

Here is a sample output after running this command:

INFO:	UTF-8 character encoding detected by locale settings.
	Assuming UTF-8 encoded filenames on source filesystem,
	use -input-charset to override.
Using APACH000.DEB;1 for  install_cd/deepofix/packages/apache2-mpm-prefork_2.0.55-3_i386.deb (apache2-utils_2.0.55-3_i386.deb)
Using CPP_4000.DEB;1 for  install_cd/deepofix/packages/cpp_4.0.2-2_i386.deb (cpp-4.0_4.0.2-5_i386.deb)
Using APACH001.DEB;1 for  install_cd/deepofix/packages/apache2-utils_2.0.55-3_i386.deb (apache2_2.0.55-3_i386.deb)
Using PYTHO000.DEB;1 for  install_cd/deepofix/packages/python2.3_2.3.5-8_i386.deb (python2.3-gdbm_2.3.5-8_i386.deb)
Using DEBCO000.DEB;1 for  install_cd/deepofix/packages/debconf_1.4.30.13_all.deb (debconf-i18n_1.4.30.13_all.deb)
Using SOCKL000.DEB;1 for  install_cd/deepofix/packages/socklog_2.0.2-2_i386.deb (socklog-run_2.0.2-1_all.deb)
Using LIBRE000.DEB;1 for  install_cd/deepofix/packages/libreadline4_4.3-18_i386.deb (libreadline5_5.1-5_i386.deb)
Using GCC_4000.DEB;1 for  install_cd/deepofix/packages/gcc_4.0.2-2_i386.deb (gcc-4.0_4.0.2-5_i386.deb)
Using LIBNE000.DEB;1 for  install_cd/deepofix/packages/libnet-daemon-perl_0.38-1_all.deb (libnet-dns-perl_0.53-2_i386.deb)
Using HYLAF000.DEB;1 for  install_cd/deepofix/packages/hylafax-client_2%3a4.2.5-1_i386.deb (hylafax-doc_2%3a4.2.5-1_all.deb)
Using SUBVE000.DEB;1 for  install_cd/deepofix/packages/subversion-tools_1.2.3dfsg1-3_all.deb (subversion_1.2.3dfsg1-3_i386.deb)
Using APACH002.DEB;1 for  install_cd/deepofix/packages/apache2_2.0.55-3_i386.deb (apache2-common_2.0.55-3_i386.deb)
Using LIBHT000.DEB;1 for  install_cd/deepofix/packages/libhtml-parser-perl_3.45-2_i386.deb (libhtml-tree-perl_3.19.01-2_all.deb)
Using CONSO000.DEB;1 for  install_cd/deepofix/packages/console-tools_0.2.3dbs-56_i386.deb (console-common_0.7.49_all.deb)
Using LIBMA000.DEB;1 for  install_cd/deepofix/packages/libmagick9_6%3a6.2.4.5-0.6_i386.deb (libmagic1_4.15-2_i386.deb)
Using PROFT000.DEB;1 for  install_cd/deepofix/packages/proftpd-common_1.2.10-26_i386.deb (proftpd_1.2.10-26_i386.deb)
Using FOOMA000.DEB;1 for  install_cd/deepofix/packages/foomatic-filters_3.0.2-20050720-1_all.deb (foomatic-filters-ppds_20050913-1_all.deb)
Using LIBCO000.DEB;1 for  install_cd/deepofix/packages/libconfuse0_2.5-1_i386.deb (libconfuse-dev_2.5-1_i386.deb)
Using COURI000.DEB;1 for  install_cd/deepofix/packages/courier-base_0.47-4_i386.deb (courier-imap_3.0.8-4_i386.deb)
Using LIBHT001.DEB;1 for  install_cd/deepofix/packages/libhtml-tree-perl_3.19.01-2_all.deb (libhtml-tagset-perl_3.04-1_all.deb)
Using APACH003.DEB;1 for  install_cd/deepofix/packages/apache2-common_2.0.55-3_i386.deb (apache2-mpm-worker_2.0.54-4_i386.deb)
Using LIBPC000.DEB;1 for  install_cd/deepofix/packages/libpcap0.7_0.7.2-7_i386.deb (libpcap0.8_0.9.4-1_i386.deb)
Using LIBMA001.DEB;1 for  install_cd/deepofix/packages/libmail-imapclient-perl_2.2.9+deb-3_all.deb (libmail-spf-query-perl_1.998-1_all.deb)
Using CONSO001.DEB;1 for  install_cd/deepofix/packages/console-common_0.7.49_all.deb (console-data_2002.12.04dbs-49_all.deb)
Using LIBMA002.DEB;1 for  install_cd/deepofix/packages/libmatrixssl1.7_1.7.3-1_i386.deb (libmatrixssl1.2_1.2.5-1_i386.deb)
Using LIBST000.DEB;1 for  install_cd/deepofix/packages/libstdc++6_4.0.2-5_i386.deb (libstdc++5_3.3.5-13_i386.deb)
Using PYTHO001.DEB;1 for  install_cd/deepofix/packages/python2.3-gdbm_2.3.5-8_i386.deb (python2.3-subversion_1.2.3dfsg1-3_i386.deb)
Using LIBGN000.DEB;1 for  install_cd/deepofix/packages/libgnutls11_1.0.16-13.1_i386.deb (libgnutls12_1.2.9-2_i386.deb)
Using LIBDB000.DEB;1 for  install_cd/deepofix/packages/libdb4.3_4.3.29-3_i386.deb (libdb4.3-dev_4.3.29-3_i386.deb)
Using LIBAP000.DEB;1 for  install_cd/deepofix/packages/libapache2-mod-auth-sys-group_1.1.1-6_i386.deb (libapache2-mod-php4_4.4.0-4_i386.deb)
Using GCC_3000.DEB;1 for  install_cd/deepofix/packages/gcc-3.3_3.3.5-13_i386.deb (gcc-3.3-base_3.3.5-13_i386.deb)
Using FOOMA001.DEB;1 for  install_cd/deepofix/packages/foomatic-filters-ppds_20050913-1_all.deb (foomatic-db_20050720-1_all.deb)
Using LIBPA000.DEB;1 for  install_cd/deepofix/packages/libpaper1_1.1.14-5_i386.deb (libpaper-utils_1.1.14-5_i386.deb)
Using LIBNE001.DEB;1 for  install_cd/deepofix/packages/libneon24_0.24.7.dfsg-3_i386.deb (libneon25_0.25.5.dfsg-6_i386.deb)
Using LIBSS000.DEB;1 for  install_cd/deepofix/packages/libssl0.9.8_0.9.8c-3_i386.deb (libssl0.9.7_0.9.7e-3_i386.deb)
Using COURI001.DEB;1 for  install_cd/deepofix/packages/courier-imap_3.0.8-4_i386.deb (courier-authdaemon_0.47-4_i386.deb)
Using LIBTE000.DEB;1 for  install_cd/deepofix/packages/libtext-iconv-perl_1.2-3_i386.deb (libtext-wrapi18n-perl_0.06-1_all.deb)
Using COURI002.DEB;1 for  install_cd/deepofix/packages/courier-authdaemon_0.47-4_i386.deb (courier-pop_0.47-4_i386.deb)
Using LIBWV000.DEB;1 for  install_cd/deepofix/packages/libwvstreams4.0-base_4.0.2-4.1_i386.deb (libwvstreams4.0-extras_4.0.2-4.1_i386.deb)
Using DISCO000.DEB;1 for  install_cd/deepofix/packages/discover_2.0.7-2.1_i386.deb (discover-data_2.2005.02.13-1_all.deb)
Using LIBNC000.DEB;1 for  install_cd/deepofix/packages/libncursesw5_5.5-1_i386.deb (libncurses5_5.5-1_i386.deb)
Using LIBCU000.DEB;1 for  install_cd/deepofix/packages/libcupsys2-gnutls10_1.1.23-12_all.deb (libcupsys2_1.1.23-12_i386.deb)
Using LIBVP000.DEB;1 for  install_cd/deepofix/packages/libvpopmail-dev_5.4.4-1_i386.deb (libvpopmail1_5.4.4-1_i386.deb)
Using LIBDI000.DEB;1 for  install_cd/deepofix/packages/libdigest-hmac-perl_1.01-3_all.deb (libdigest-sha1-perl_2.10-1_i386.deb)
Using LIBAP001.DEB;1 for  install_cd/deepofix/packages/libapache2-mod-php4_4.4.0-4_i386.deb (libapache2-mod-auth-pam_1.1.1-6_i386.deb)
Using LIBSN000.DEB;1 for  install_cd/deepofix/packages/libsnmp-base_5.2.1.2-4_all.deb (libsnmp-session-perl_1.08-1_all.deb)
Using LIBVP001.DEB;1 for  install_cd/deepofix/packages/libvpopmail1_5.4.4-1_i386.deb (libvpopmail-freecdb_5.4.4-1_i386.deb)
Using GCC_4001.DEB;1 for  install_cd/deepofix/packages/gcc-4.0_4.0.2-5_i386.deb (gcc-4.0-base_4.0.2-5_i386.deb)
Using HYLAF001.DEB;1 for  install_cd/deepofix/packages/hylafax-doc_2%3a4.2.5-1_all.deb (hylafax-server_2%3a4.2.5-1_i386.deb)
Using LIBTE001.DEB;1 for  install_cd/deepofix/packages/libtext-wrapi18n-perl_0.06-1_all.deb (libtext-charwidth-perl_0.04-1_i386.deb)
Using OPENS000.DEB;1 for  install_cd/deepofix/packages/openssh-client_4.2p1-5_i386.deb (openssh-server_4.2p1-5_i386.deb)
Using NCURS000.DEB;1 for  install_cd/deepofix/packages/ncurses-bin_5.4-4_i386.deb (ncurses-base_5.4-4_all.deb)
Using DEEPO000.DEB;1 for  install_cd/deepofix/deepofix-packages/deepofix-webmail-1.4.6-10-i386.deb (deepofix-qmail-scanner-1.10-7-i386.deb)
Using DEEPO001.DEB;1 for  install_cd/deepofix/deepofix-packages/deepofix-qmail-scanner-1.10-7-i386.deb (deepofix-altermime-0.3.6-2-i386.deb)
Using DEEPO002.DEB;1 for  install_cd/deepofix/deepofix-packages/deepofix-altermime-0.3.6-2-i386.deb (deepofix-serialmail-0.75-4-i386.deb)
Using DEEPO003.DEB;1 for  install_cd/deepofix/deepofix-packages/deepofix-serialmail-0.75-4-i386.deb (deepofix-qmail-tools-1.0-i386.deb)
Using DEEPO004.DEB;1 for  install_cd/deepofix/deepofix-packages/deepofix-qmail-tools-1.0-i386.deb (deepofix-system-config-2.1-4-i386.deb)
Using DEEPO005.DEB;1 for  install_cd/deepofix/deepofix-packages/deepofix-system-config-2.1-4-i386.deb (deepofix-services-1.1-3-i386.deb)
Using EASYP000.DEB;1 for  install_cd/deepofix/deepofix-packages/easypush-webserver-2.5b4-6-i386.deb (easypush-3.0.12.1-i386.deb)
Using DEEPO006.DEB;1 for  install_cd/deepofix/deepofix-packages/deepofix-services-1.1-3-i386.deb (deepofix-uschedule-1.0-2-i386.deb)
Using DEEPO007.DEB;1 for  install_cd/deepofix/deepofix-packages/deepofix-uschedule-1.0-2-i386.deb (deepofix-qmail-ldap-1.03-20060201-13-i386.deb)
Using DEEPO008.DEB;1 for  install_cd/deepofix/deepofix-packages/deepofix-qmail-ldap-1.03-20060201-13-i386.deb (deepofix-mta_1.0_all.deb)
Using DEEPO009.DEB;1 for  install_cd/deepofix/deepofix-packages/deepofix-mta_1.0_all.deb (deepofix-djbdns-1.05-2-i386.deb)
Using DEEPO00A.DEB;1 for  install_cd/deepofix/deepofix-packages/deepofix-djbdns-1.05-2-i386.deb (deepofix-openldap-2.3.20-4-i386.deb)
Using DEEPO00B.DEB;1 for  install_cd/deepofix/deepofix-packages/deepofix-openldap-2.3.20-4-i386.deb (deepofix-firewall-3.0.12.1-i386.deb)
Using DEEPO000.;1 for  install_cd/deepofix/installer/deepofix-installer-second-stage (deepofix-installer-first-stage)
Using GMT_0000.;1 for  install_cd/deepofix/installer/zoneinfo/GMT-0 (GMT+0)
Using GMT_9000.;1 for  install_cd/deepofix/installer/zoneinfo/Etc/GMT-9 (GMT+9)
Using GMT_8000.;1 for  install_cd/deepofix/installer/zoneinfo/Etc/GMT-8 (GMT+8)
Using GMT_7000.;1 for  install_cd/deepofix/installer/zoneinfo/Etc/GMT-7 (GMT+7)
Using GMT_6000.;1 for  install_cd/deepofix/installer/zoneinfo/Etc/GMT-6 (GMT+6)
Using GMT_5000.;1 for  install_cd/deepofix/installer/zoneinfo/Etc/GMT-5 (GMT+5)
Using GMT_4000.;1 for  install_cd/deepofix/installer/zoneinfo/Etc/GMT-4 (GMT+4)
Using GMT_3000.;1 for  install_cd/deepofix/installer/zoneinfo/Etc/GMT-3 (GMT+3)
Using GMT_2000.;1 for  install_cd/deepofix/installer/zoneinfo/Etc/GMT-2 (GMT+2)
Using GMT_1000.;1 for  install_cd/deepofix/installer/zoneinfo/Etc/GMT-1 (GMT+1)
Using GMT_0000.;1 for  install_cd/deepofix/installer/zoneinfo/Etc/GMT-0 (GMT+0)
Using GMT_1001.;1 for  install_cd/deepofix/installer/zoneinfo/Etc/GMT-12 (GMT+12)
Using GMT_1002.;1 for  install_cd/deepofix/installer/zoneinfo/Etc/GMT-11 (GMT+11)
Using GMT_1003.;1 for  install_cd/deepofix/installer/zoneinfo/Etc/GMT-10 (GMT+10)
Using GMT_0000.;1 for  install_cd/deepofix/installer/zoneinfo/posix/GMT-0 (GMT+0)
Using GMT_9000.;1 for  install_cd/deepofix/installer/zoneinfo/posix/Etc/GMT-9 (GMT+9)
Using GMT_8000.;1 for  install_cd/deepofix/installer/zoneinfo/posix/Etc/GMT-8 (GMT+8)
Using GMT_7000.;1 for  install_cd/deepofix/installer/zoneinfo/posix/Etc/GMT-7 (GMT+7)
Using GMT_6000.;1 for  install_cd/deepofix/installer/zoneinfo/posix/Etc/GMT-6 (GMT+6)
Using GMT_5000.;1 for  install_cd/deepofix/installer/zoneinfo/posix/Etc/GMT-5 (GMT+5)
Using GMT_4000.;1 for  install_cd/deepofix/installer/zoneinfo/posix/Etc/GMT-4 (GMT+4)
Using GMT_3000.;1 for  install_cd/deepofix/installer/zoneinfo/posix/Etc/GMT-3 (GMT+3)
Using GMT_2000.;1 for  install_cd/deepofix/installer/zoneinfo/posix/Etc/GMT-2 (GMT+2)
Using GMT_1000.;1 for  install_cd/deepofix/installer/zoneinfo/posix/Etc/GMT-1 (GMT+1)
Using GMT_0000.;1 for  install_cd/deepofix/installer/zoneinfo/posix/Etc/GMT-0 (GMT+0)
Using GMT_1001.;1 for  install_cd/deepofix/installer/zoneinfo/posix/Etc/GMT-12 (GMT+12)
Using GMT_1002.;1 for  install_cd/deepofix/installer/zoneinfo/posix/Etc/GMT-11 (GMT+11)
Using GMT_1003.;1 for  install_cd/deepofix/installer/zoneinfo/posix/Etc/GMT-10 (GMT+10)
Using GMT_0000.;1 for  install_cd/deepofix/installer/zoneinfo/right/GMT-0 (GMT+0)
Using GMT_9000.;1 for  install_cd/deepofix/installer/zoneinfo/right/Etc/GMT-9 (GMT+9)
Using GMT_8000.;1 for  install_cd/deepofix/installer/zoneinfo/right/Etc/GMT-8 (GMT+8)
Using GMT_7000.;1 for  install_cd/deepofix/installer/zoneinfo/right/Etc/GMT-7 (GMT+7)
Using GMT_6000.;1 for  install_cd/deepofix/installer/zoneinfo/right/Etc/GMT-6 (GMT+6)
Using GMT_5000.;1 for  install_cd/deepofix/installer/zoneinfo/right/Etc/GMT-5 (GMT+5)
Using GMT_4000.;1 for  install_cd/deepofix/installer/zoneinfo/right/Etc/GMT-4 (GMT+4)
Using GMT_3000.;1 for  install_cd/deepofix/installer/zoneinfo/right/Etc/GMT-3 (GMT+3)
Using GMT_2000.;1 for  install_cd/deepofix/installer/zoneinfo/right/Etc/GMT-2 (GMT+2)
Using GMT_1000.;1 for  install_cd/deepofix/installer/zoneinfo/right/Etc/GMT-1 (GMT+1)
Using GMT_0000.;1 for  install_cd/deepofix/installer/zoneinfo/right/Etc/GMT-0 (GMT+0)
Using GMT_1001.;1 for  install_cd/deepofix/installer/zoneinfo/right/Etc/GMT-12 (GMT+12)
Using GMT_1002.;1 for  install_cd/deepofix/installer/zoneinfo/right/Etc/GMT-11 (GMT+11)
Using GMT_1003.;1 for  install_cd/deepofix/installer/zoneinfo/right/Etc/GMT-10 (GMT+10)
Using USE_E000.SH;1 for  install_cd/deepofix/installer/first-stage/use_existing_partitions.sh (use_existing_or_make_new_partitions.sh)
Size of boot image is 4 sectors -> No emulation
  3.52% done, estimate finish Tue Jan  9 11:58:10 2007
  7.05% done, estimate finish Tue Jan  9 11:58:10 2007
 10.56% done, estimate finish Tue Jan  9 11:58:10 2007
 14.09% done, estimate finish Tue Jan  9 11:58:10 2007
 17.60% done, estimate finish Tue Jan  9 11:58:10 2007
 21.13% done, estimate finish Tue Jan  9 11:58:14 2007
 24.64% done, estimate finish Tue Jan  9 11:58:14 2007
 28.17% done, estimate finish Tue Jan  9 11:58:17 2007
 31.68% done, estimate finish Tue Jan  9 11:58:19 2007
 35.20% done, estimate finish Tue Jan  9 11:58:18 2007
 38.72% done, estimate finish Tue Jan  9 11:58:20 2007
 42.24% done, estimate finish Tue Jan  9 11:58:19 2007
 45.76% done, estimate finish Tue Jan  9 11:58:20 2007
 49.28% done, estimate finish Tue Jan  9 11:58:22 2007
 52.80% done, estimate finish Tue Jan  9 11:58:25 2007
 56.33% done, estimate finish Tue Jan  9 11:58:25 2007
 59.84% done, estimate finish Tue Jan  9 11:58:26 2007
 63.36% done, estimate finish Tue Jan  9 11:58:27 2007
 66.88% done, estimate finish Tue Jan  9 11:58:29 2007
 70.39% done, estimate finish Tue Jan  9 11:58:28 2007
 73.92% done, estimate finish Tue Jan  9 11:58:30 2007
 77.44% done, estimate finish Tue Jan  9 11:58:30 2007
 80.96% done, estimate finish Tue Jan  9 11:58:30 2007
 84.48% done, estimate finish Tue Jan  9 11:58:31 2007
 88.00% done, estimate finish Tue Jan  9 11:58:31 2007
 91.51% done, estimate finish Tue Jan  9 11:58:32 2007
 95.04% done, estimate finish Tue Jan  9 11:58:33 2007
 98.55% done, estimate finish Tue Jan  9 11:58:33 2007
Total translation table size: 2048
Total rockridge attributes bytes: 198767
Total directory bytes: 421888
Path table size(bytes): 1408
Max brk space used 1ad000
142057 extents written (277 MB)
  • After running bin/mkcd, you should fine the deepofix-cd.iso file in your trunk directory. This image can be written on to a CD for deepOfix installation.