#!/bin/bash

build() {
	add_binary cp
	add_binary mkfs.ext4
	add_binary zramctl
	#add_file /usr/bin/bash /bin/bash 0755
	#add_binary ram-booter
	add_dir /local_root
	add_dir /zram_root
	add_file /etc/ram-booter.conf
	#add_file /usr/share/ultimate_edition/ram_lib
	#add_file /usr/share/ultimate_edition/ultimate-common
	#add_file /usr/share/ultimate_edition/init /
	add_module ext4
	add_module lzo
	add_module vfat
	add_module zram
	add_runscript
}

help() {
	cat <<HELPEOF
This hook optionally loads the root filesystem into zram during boot
HELPEOF
}
