diff options
author | TJ Rana <[email protected]> | 2017-07-27 06:11:07 -0400 |
---|---|---|
committer | XECDesign <[email protected]> | 2017-07-27 12:11:07 +0200 |
commit | 3441133d1c77f377871798dffd1795e319d82486 (patch) | |
tree | 627414808f611baedfd6ec4e2020b8b7d43ba8e7 /export-image | |
parent | fe45b739871c2eba65ec520e00816299abbfbc5b (diff) |
Corrected various typos (#91)
* Rename License.md to LICENSE
* Correct typos
* Clean up code layout
Organize layout with extra lines
Diffstat (limited to 'export-image')
-rw-r--r-- | export-image/00-allow-rerun/files/policy-rc.d | 1 | ||||
-rwxr-xr-x | export-image/02-network/01-run.sh | 2 | ||||
-rwxr-xr-x | export-image/03-set-partuuid/00-run.sh | 1 | ||||
-rwxr-xr-x | export-image/prerun.sh | 1 |
4 files changed, 4 insertions, 1 deletions
diff --git a/export-image/00-allow-rerun/files/policy-rc.d b/export-image/00-allow-rerun/files/policy-rc.d index 0b1556d..1924710 100644 --- a/export-image/00-allow-rerun/files/policy-rc.d +++ b/export-image/00-allow-rerun/files/policy-rc.d @@ -1,2 +1,3 @@ #!/bin/sh + exit 101 diff --git a/export-image/02-network/01-run.sh b/export-image/02-network/01-run.sh index 9026a1f..e21b791 100755 --- a/export-image/02-network/01-run.sh +++ b/export-image/02-network/01-run.sh @@ -1,3 +1,3 @@ -#/bin/bash -e +#!/bin/bash -e install -m 644 files/resolv.conf ${ROOTFS_DIR}/etc/ diff --git a/export-image/03-set-partuuid/00-run.sh b/export-image/03-set-partuuid/00-run.sh index f19884e..dccc55e 100755 --- a/export-image/03-set-partuuid/00-run.sh +++ b/export-image/03-set-partuuid/00-run.sh @@ -1,4 +1,5 @@ #!/bin/bash -e + IMG_FILE="${STAGE_WORK_DIR}/${IMG_DATE}-${IMG_NAME}${IMG_SUFFIX}.img" IMGID="$(fdisk -l ${IMG_FILE} | sed -n 's/Disk identifier: 0x\([^ ]*\)/\1/p')" diff --git a/export-image/prerun.sh b/export-image/prerun.sh index 67da3da..7acfedc 100755 --- a/export-image/prerun.sh +++ b/export-image/prerun.sh @@ -1,4 +1,5 @@ #!/bin/bash -e + IMG_FILE="${STAGE_WORK_DIR}/${IMG_DATE}-${IMG_NAME}${IMG_SUFFIX}.img" unmount_image ${IMG_FILE} |