diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-06-14 18:45:21 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-23 11:47:26 +0100 |
commit | 891cdacb62059c60106837905d3175918f7ab9e6 (patch) | |
tree | b6e8a17bba42af80dfa86838e7ece52cc19d0b62 /meta/recipes-core/initrdscripts/files/init-install-efi.sh | |
parent | 1f7d16b6db75d2d91647791625eaa1fa67d86989 (diff) | |
download | poky-891cdacb62059c60106837905d3175918f7ab9e6.tar.gz |
init-install: Specify filesystem type in parted command line
Explicitly specified filesystem type for parted mkpart command.
This makes partition table to look more informative.
(From OE-Core rev: 945a5172c2b996f0f307813d061250c39f77ebd2)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/initrdscripts/files/init-install-efi.sh')
-rw-r--r-- | meta/recipes-core/initrdscripts/files/init-install-efi.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-install-efi.sh b/meta/recipes-core/initrdscripts/files/init-install-efi.sh index 5fb4d4d05c..7f3e889f32 100644 --- a/meta/recipes-core/initrdscripts/files/init-install-efi.sh +++ b/meta/recipes-core/initrdscripts/files/init-install-efi.sh | |||
@@ -134,14 +134,14 @@ echo "Creating new partition table on /dev/${device} ..." | |||
134 | parted /dev/${device} mklabel gpt | 134 | parted /dev/${device} mklabel gpt |
135 | 135 | ||
136 | echo "Creating boot partition on $bootfs" | 136 | echo "Creating boot partition on $bootfs" |
137 | parted /dev/${device} mkpart primary 0% $boot_size | 137 | parted /dev/${device} mkpart primary fat32 0% $boot_size |
138 | parted /dev/${device} set 1 boot on | 138 | parted /dev/${device} set 1 boot on |
139 | 139 | ||
140 | echo "Creating rootfs partition on $rootfs" | 140 | echo "Creating rootfs partition on $rootfs" |
141 | parted /dev/${device} mkpart primary $rootfs_start $rootfs_end | 141 | parted /dev/${device} mkpart primary ext3 $rootfs_start $rootfs_end |
142 | 142 | ||
143 | echo "Creating swap partition on $swap" | 143 | echo "Creating swap partition on $swap" |
144 | parted /dev/${device} mkpart primary $swap_start 100% | 144 | parted /dev/${device} mkpart primary linux-swap $swap_start 100% |
145 | 145 | ||
146 | parted /dev/${device} print | 146 | parted /dev/${device} print |
147 | 147 | ||