public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* WIC doesn't touch fstab for partition /boot
@ 2019-09-19 11:48 benbrenson89
  2019-09-19 12:32 ` Quirin Gylstorff
  0 siblings, 1 reply; 2+ messages in thread
From: benbrenson89 @ 2019-09-19 11:48 UTC (permalink / raw)
  To: isar-users


[-- Attachment #1.1: Type: text/plain, Size: 677 bytes --]

Hi guys,

is there any particular reason why WIC doesn't touch the fstab file if  a 
partition with the mountpoint "/boot" is specified?


I created a *.wks file with:

part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat 
--label boot --active --align 4 --size 200

The --ondisk parameter should trigger the fstab update but in the direct.py 
plugin the following snippet indicates that in this case
the update is skipped.

def _update_fstab(self, fstab_lines, parts):
"""Assume partition order same as in wks"""
updated = False
for part in parts:
if not part.realnum or not part.mountpoint \
or part.mountpoint in ("/", "/boot"):
  continue


Any ideas?






[-- Attachment #1.2: Type: text/html, Size: 3501 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-19 12:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-19 11:48 WIC doesn't touch fstab for partition /boot benbrenson89
2019-09-19 12:32 ` Quirin Gylstorff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox