This repo contains scripts to proper build a EOSIO xubuntu livecd.
tools.sh - Installs packages needed for other scripts.
rootfs-bootstrap.sh - Creates the base root filesystem.
rsync-overlay.sh - Copy the overlay folder to rootfs
chroot.sh - Sets up a proper chroot environment.
create-image.sh - creates a bootable .iso image.
overlay - Contains eosio-livecd specific files that should be copied to a base rootfs. these are copied during rsync-overlay.sh
overlay/scripts - contains scripts that should run in chrooted environment. these are copied during rsync-overlay.sh
config - misc config files used to create image, create base rootfs etc.
image - working directory for building the iso image.
rootfs - working directory for livecd root filesystem
output - resulting .iso directory
-
First run
tools.shto prepare host system. -
Run
rootfs-boostrap.shto create a base root filesystem.You can start from a custom state (previous livecd) by extracting the
casper/filesystem.squashfsfrom theiso-file. -
Run
rsync-overlay.shto copy over the eosio-live setup scripts and config files. -
Run
chroot.shthat will construct a proper chroot environment insiderootfs/ -
(Optional) run
./script/configure.shin chrooted environment to install and configure the livecd. (only needed if you started from a base rootfs).DO NOT install grub on any disk when asked.
Answer
NOto any question about overriding files with package provided file. -
Make any other changes you want inside chroot.
Run
exitto exit the chroot environment when you are done. -
Run
create-image.shMake sure to edit
config/image.varsif you want another name or update the version number.When done. you should have a iso file at
output/${IMAGE_FILENAME}
Henrik Hautakoski - henrik@eossweden.org