From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6738347277421641728 Date: Thu, 19 Sep 2019 04:48:53 -0700 (PDT) From: benbrenson89@googlemail.com To: isar-users Message-Id: Subject: WIC doesn't touch fstab for partition /boot MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1645_146840305.1568893733466" X-Google-Token: EKXWjewFpldGC-GpyrQ0 X-Google-IP: 178.27.66.188 X-TUID: iOdshbwD0uG2 ------=_Part_1645_146840305.1568893733466 Content-Type: multipart/alternative; boundary="----=_Part_1646_654795587.1568893733466" ------=_Part_1646_654795587.1568893733466 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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? ------=_Part_1646_654795587.1568893733466 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi guys,

is there any partic= ular reason why WIC doesn't touch the fstab file if=C2=A0 a partition w= ith the mountpoint "/boot" is specified?


I created a *.wks file with:

part = /boot --source bootimg-partition --ondisk mmcblk0 --fstype=3Dvfat --label b= oot --active --align 4 --size 200

The --ondisk par= ameter should trigger the fstab update but in the direct.py plugin the foll= owing snippet indicates that in this case
the update is skipped.<= /div>

= def = _update_fstab(self, fstab_line= s, parts):
&= quot;""Assume partition order same as in wks"""
updated =3D False
for part in= parts:
if<= /span> not part.realnum or not par= t.mountpoint \
= or part.mountpoint in<= span style=3D"color: #000000;"> (&qu= ot;/", "/boot"):
=C2=A0 continue


Any ideas?





------=_Part_1646_654795587.1568893733466-- ------=_Part_1645_146840305.1568893733466--