To setup a simple-cdd workspace from scratch, you will need to setup a number of stuff before you can start proceeding to build your image. This guide will show you how to create one such workspace.
The first thing to do is to create the main workspace directory. This can be done easily with command line. In this tutorial, we use a simple name "customISO". Once created, we change directory into it.
$ mkdir customISO$ cd customISONext is to create all critical directories. They are:
profiles - holds all the profiles for compilationsconfs - holds all the compilations configurationslocal_packages - holds all your custom packagesThe can be done easily using the make directory command. If you're using git, you want to create .gitkeep in each directories:
$ mkdir profiles confs local_packages$ touch profiles/.gitkeep$ touch confs/.gitkeep$ touch local_packages/.gitkeepOnce everything is done, you may create your standard .gitignore file if you're using git version control. At minimum, the file must have:
imagestmpthe images is the large output directory that holds the output ISO file while the tmp is the temporary working directory to download all the deb and udeb packages for compilations.
You may then proceed to add all your repository metadata files like README.md, LICENSE, CONTRIBUTING.md, etc. Once you're done, you can git commit the working directory as initialization.
That's all for setting up simple-cdd working directory. You may find the guide in the index page.