Skip to content
Commit 7aa678ce authored by Markus Volk's avatar Markus Volk Committed by Richard Purdie
Browse files

wic:direct.py: ignore invalid mountpoints during fstab update



wic fstab-update creates invalid entries for partitons that are not supposed to
be mounted from userspace eg u-boot partitions.

The following lines were added to fstab on a rock-pi-4:
/dev/mmcblk1p1 loader1 vfat defaults 0 0
/dev/mmcblk1p2 reserved1 vfat defaults 0 0
/dev/mmcblk1p3 reserved2 vfat defaults 0 0
/dev/mmcblk1p4 loader2 vfat defaults 0 0
/dev/mmcblk1p5 atf vfat defaults 0 0
/dev/mmcblk1p6 /boot vfat defaults 0 0

With this patch only valid entries should be added
/dev/mmcblk1p6 /boot vfat defaults 0 0

Signed-off-by: default avatarMarkusVolk <f_l_k@t-online.de>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 6a807731
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment