From b118b9d166d1b7026411ee14bc512c131264b2a4 Mon Sep 17 00:00:00 2001 From: Dalon Westergreen Date: Tue, 27 Feb 2018 14:03:18 -0800 Subject: Fix wic mount of sdcard fat partition wic modifies /etc/fstab to add mount points listed in the wks file. We do not want the fat partition mounted by default Signed-off-by: Dalon Westergreen --- wic/sdimage-cyclone5-arria5.wks | 2 +- wic/sdimage-stratix10.wks | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wic/sdimage-cyclone5-arria5.wks b/wic/sdimage-cyclone5-arria5.wks index d377b7f..b5e8ca6 100644 --- a/wic/sdimage-cyclone5-arria5.wks +++ b/wic/sdimage-cyclone5-arria5.wks @@ -3,6 +3,6 @@ # Boot files are located in the first vfat partition and u-Boot is located in # the third partition. -part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 16 +part --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 16 part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4 part /a2 --source rawcopy --sourceparams="file=u-boot-with-spl.sfp" --ondisk mmcblk --system-id=a2 --align 4 --fixed-size 1M diff --git a/wic/sdimage-stratix10.wks b/wic/sdimage-stratix10.wks index 44486c2..3e04dac 100644 --- a/wic/sdimage-stratix10.wks +++ b/wic/sdimage-stratix10.wks @@ -2,5 +2,5 @@ # long-description: Creates a partitioned SD card image for the Intel # Stratix 10 SoC. Boot files are located in the first vfat partition. -part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 16 +part --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 16 part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4 -- cgit v1.2.3-54-g00ecf