@ -1,6 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }
#check_dependency
# -> 0 | -> 16
#check_user
function check_user() {
#chroot_clean [chroot_dir]
function chroot_clean() {
#chroot_initial [chroot_dir]
function chroot_initial() {
#chroot_is_mounted [chroot_dir]
#(Boolean)-> true | false
#chroot_sh [chroot_dir] [command]
function chroot_sh() {
#chroot_umount [chroot_dir]
function chroot_umount() {
#error_code [error_level]
function error_code() {
#filesystem_extract [filesystem_img_source] [chroot_path]
function filesystem_extract() {
#filesystem_get_type [dir]
#(String)-> ext4, ext2, btfs, fuse, ...
#filesystem_pack [chroot_path] [filesystem_img_destination]
function filesystem_pack() {
#iso_create [chroot_path] [iso_extr_dir] [iso_destination] [iso_lable]
function iso_create() {
#iso_extract [iso_source] [iso_extr_dir]
function iso_extract() {
#on_exit [error_level]
function on_exit() {
#workspace_erase [workspace_path]
function workspace_erase() {
@ -1,6 +1,7 @@
####################################
##### Base Template D E B I A N ####
#desinfect.17
# . -Y ubuntu.16.04 -> ubuntu -> debian
##### Base Template U B U N T U ####
#ubuntu.16.04
# . -> ubuntu -> debian