From 3331432f501a4ed930697737f521b850d7c7acbe Mon Sep 17 00:00:00 2001 From: larche Date: Fri, 23 Jun 2017 11:51:28 +0900 Subject: [PATCH] = fusing script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fdisk 관련 수정 (EOF 사용시 공백이 없어야 다른 시스템에서도 호환된다) --- .../rootfs_overlay/root/.falinux/mk-emmc-fusing.sh | 46 +++++++++++----------- release/mk-fusingsd.sh | 28 ++++++------- scripts/mk-emmc-fusing.sh | 46 +++++++++++----------- scripts/mk-fusingsd.sh | 28 ++++++------- 4 files changed, 74 insertions(+), 74 deletions(-) diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/mk-emmc-fusing.sh b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/mk-emmc-fusing.sh index 1bf4eb8..760e4c8 100755 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/mk-emmc-fusing.sh +++ b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/mk-emmc-fusing.sh @@ -40,29 +40,29 @@ function create_partition() echo "" echo -e "${C_LRED}### Fdisk Create Partition - create_partition() ###${C_NC}" echo "" - fdisk ${EMMC_DEV_PATH} << EOF - o - n - p - 1 - 4096 - 8191 - n - p - 2 - 8192 - 16383 - n - p - 3 - 16384 - 32767 - n - p - 32768 - - p - w +fdisk ${EMMC_DEV_PATH} << EOF +o +n +p +1 +4096 +8191 +n +p +2 +8192 +16383 +n +p +3 +16384 +32767 +n +p +32768 + +p +w EOF } diff --git a/release/mk-fusingsd.sh b/release/mk-fusingsd.sh index 990169b..ff44bfa 100755 --- a/release/mk-fusingsd.sh +++ b/release/mk-fusingsd.sh @@ -23,20 +23,20 @@ function create_partition() echo "" echo -e "${C_LRED}### Fdisk Create Partition - create_partition() ###${C_NC}" echo "" - fdisk $DEV_PATH << EOF - o - n - p - 1 - 262144 - 1310719 - n - p - 2 - 1310720 - - p - w +fdisk $DEV_PATH << EOF +o +n +p +1 +262144 +1310719 +n +p +2 +1310720 + +p +w EOF } diff --git a/scripts/mk-emmc-fusing.sh b/scripts/mk-emmc-fusing.sh index 1bf4eb8..760e4c8 100755 --- a/scripts/mk-emmc-fusing.sh +++ b/scripts/mk-emmc-fusing.sh @@ -40,29 +40,29 @@ function create_partition() echo "" echo -e "${C_LRED}### Fdisk Create Partition - create_partition() ###${C_NC}" echo "" - fdisk ${EMMC_DEV_PATH} << EOF - o - n - p - 1 - 4096 - 8191 - n - p - 2 - 8192 - 16383 - n - p - 3 - 16384 - 32767 - n - p - 32768 - - p - w +fdisk ${EMMC_DEV_PATH} << EOF +o +n +p +1 +4096 +8191 +n +p +2 +8192 +16383 +n +p +3 +16384 +32767 +n +p +32768 + +p +w EOF } diff --git a/scripts/mk-fusingsd.sh b/scripts/mk-fusingsd.sh index 990169b..ff44bfa 100755 --- a/scripts/mk-fusingsd.sh +++ b/scripts/mk-fusingsd.sh @@ -23,20 +23,20 @@ function create_partition() echo "" echo -e "${C_LRED}### Fdisk Create Partition - create_partition() ###${C_NC}" echo "" - fdisk $DEV_PATH << EOF - o - n - p - 1 - 262144 - 1310719 - n - p - 2 - 1310720 - - p - w +fdisk $DEV_PATH << EOF +o +n +p +1 +262144 +1310719 +n +p +2 +1310720 + +p +w EOF } -- 2.1.4