image_builder: split image_config.sh & standardization headers

This commit is contained in:
Artem Smirnov
2018-09-21 19:19:48 +03:00
parent d7e6629567
commit c828effd23
14 changed files with 247 additions and 156 deletions

View File

@@ -1,11 +1,17 @@
#! /usr/bin/env bash
#
# Script for image configure
# @urpylka Artem Smirnov
#
# Exit immidiately on non-zero result
set -e
cd ${IMAGE_BUILDER}
# Make free space
./image_config.sh resize_fs ${IMAGE_PATH} '7G'
./resize_fs.sh ${IMAGE_PATH} '7G'
./image_config.sh copy_to_chroot ${IMAGE_PATH} ${SCRIPTS_DIR}'/init_rpi.sh' '/root/'
./image_config.sh copy_to_chroot ${IMAGE_PATH} ${SCRIPTS_DIR}'/hardware_setup.sh' '/root/'

View File

@@ -1,10 +1,11 @@
#!/bin/bash
#! /usr/bin/env bash
#
# Script for image configure
# @urpylka Artem Smirnov
#
# Exit immidiately on non-zero result
set -e
echo_stamp() {

View File

@@ -1,4 +1,12 @@
#!/bin/bash
#! /usr/bin/env bash
#
# Script for image configure
# @urpylka Artem Smirnov
#
# Exit immidiately on non-zero result
set -e
##################################################################################################################################
# Image initialisation

View File

@@ -1,4 +1,12 @@
#!/bin/bash
#! /usr/bin/env bash
#
# Script for image configure
# @urpylka Artem Smirnov
#
# Exit immidiately on non-zero result
set -e
echo_stamp() {
# TEMPLATE: echo_stamp <TEXT> <TYPE>

View File

@@ -1,5 +1,11 @@
#!/bin/bash
#! /usr/bin/env bash
#
# Script for image configure
# @urpylka Artem Smirnov
#
# Exit immidiately on non-zero result
set -e
echo_stamp() {

View File

@@ -1,5 +1,11 @@
#!/usr/bin/env bash
#! /usr/bin/env bash
#
# Script for image configure
# @urpylka Artem Smirnov
#
# Exit immidiately on non-zero result
set -e
echo_stamp() {

View File

@@ -1,5 +1,11 @@
#!/usr/bin/env bash
#! /usr/bin/env bash
#
# Script for image configure
# @urpylka Artem Smirnov
#
# Exit immidiately on non-zero result
set -e
##################################################################################################################################