1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
# vim: filetype=sh
# Note: commented functions are optional.
target_get_name() {
echo "Skeleton target!"
}
# system-type=installer option support requires:
# 1- target_use_lvm() to echo true
# 2- target_get_bootloader_install_command() to echo
# an appropriate command (e.g. grub-install)
target_use_lvm() {
echo false
}
# for details about the following functions
# see 'steps' file
#target_preliminary_steps() {
# preliminary_steps $@
#}
#target_final_customization_steps() {
# final_customization_steps $@
#}
# for details about the following functions
# see 'packages' file
target_kernel_default_package() {
kernel_default_package
}
#target_custom_packages() {
# custom_packages
#}
# for details about the following functions
# see 'bootloader' file
target_configure_bootloader() {
configure_bootloader
}
target_install_bootloader() {
install_bootloader
}
#target_get_bootloader_install_command() {
# echo my-bootloader-install
#}
# for details about the following functions
# see 'rootfs' file
# (these functions are also optional, but
# often needed.)
target_prepare_rootfs() {
prepare_rootfs $@
}
target_cleanup_rootfs() {
cleanup_rootfs $@
}
|