summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDalon Westergreen <dwesterg@gmail.com>2018-02-27 14:03:18 -0800
committerKhem Raj <raj.khem@gmail.com>2018-02-27 15:48:16 -0800
commitb118b9d166d1b7026411ee14bc512c131264b2a4 (patch)
tree059fe0a685f9e2d1b7727ff12edf0535e43f3525
parent84f3884e005e7ba97498d82859d9ec578aebd95b (diff)
downloadmeta-altera-b118b9d166d1b7026411ee14bc512c131264b2a4.tar.gz
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 <dwesterg@gmail.com>
-rw-r--r--wic/sdimage-cyclone5-arria5.wks2
-rw-r--r--wic/sdimage-stratix10.wks2
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 @@
3# Boot files are located in the first vfat partition and u-Boot is located in 3# Boot files are located in the first vfat partition and u-Boot is located in
4# the third partition. 4# the third partition.
5 5
6part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 16 6part --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 16
7part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4 7part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4
8part /a2 --source rawcopy --sourceparams="file=u-boot-with-spl.sfp" --ondisk mmcblk --system-id=a2 --align 4 --fixed-size 1M 8part /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 @@
2# long-description: Creates a partitioned SD card image for the Intel 2# long-description: Creates a partitioned SD card image for the Intel
3# Stratix 10 SoC. Boot files are located in the first vfat partition. 3# Stratix 10 SoC. Boot files are located in the first vfat partition.
4 4
5part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 16 5part --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 16
6part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4 6part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4