

The Debian Live Systems Manual 12 is an excellent reference for live-build configuration and testing.You can also execute scripts at boot time of the generated live image: you must arrange for them to be installed in /usr/lib/live/config/ XXXX- name, for example by relying on the includes.chroot config directory. You can execute scripts during the live system’s chroot setup process by installing them as hooks/live/*.chroot files.You can add files to the live filesystem by putting them at their expected location below the.Their installation can be preseeded with preseed/*.cfg files. Custom packages can be included in the live image by placing the.Packages can be added to (or removed from) a live ISO by modifying package-lists/*.There are several ways to customize your ISO by modifying live-build’s configuration directory: The various variants are defined by their configuration directories kali-config/variant-*. If you add -variant variant to the command line, it will build the given variant of the Kali ISO image. When finished, you will find the new ISO image in the images directory. The build will take a long time to complete as it will download all the packages to include. To generate an updated but unmodified Kali ISO image, simply run. The Kali live-build configuration can be retrieved from Kali’s Git repositories with two com- mands: apt install curl git live-build followed by git clone kalilinux/build-scripts/live-build-config.git Your Kali system must be completely up-to-date before using live-build.

Official Kali ISO images are built with live-build 11, which is a set of scripts that allows for the complete automation and customization of all facets of ISO image creation. Summary Tips for Building Custom Kali Live ISO Images
