diff options
author | Dalon Westergreen <dwesterg@gmail.com> | 2018-02-27 14:03:18 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-04-23 10:00:58 -0700 |
commit | 56b7337211d9cc2c72189a3fac5c9d38bfc32211 (patch) | |
tree | d7442e565e6de0556d3088c6b69946826282d817 | |
parent | d0732bda2af674b64e7894f07db959e0482aad6d (diff) | |
download | meta-altera-56b7337211d9cc2c72189a3fac5c9d38bfc32211.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.wks | 2 | ||||
-rw-r--r-- | 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 @@ | |||
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 | ||
6 | part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 16 | 6 | part --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 16 |
7 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4 | 7 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4 |
8 | part /a2 --source rawcopy --sourceparams="file=u-boot-with-spl.sfp" --ondisk mmcblk --system-id=a2 --align 4 --fixed-size 1M | 8 | 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 @@ | |||
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 | ||
5 | part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 16 | 5 | part --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 16 |
6 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4 | 6 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4 |