Skip to content

fstab: mount boot and data partition#355

Open
TSAnsari wants to merge 1 commit into
Pelagicore:masterfrom
TSAnsari:rpi_wic_support
Open

fstab: mount boot and data partition#355
TSAnsari wants to merge 1 commit into
Pelagicore:masterfrom
TSAnsari:rpi_wic_support

Conversation

@TSAnsari

@TSAnsari TSAnsari commented Aug 8, 2019

Copy link
Copy Markdown
Contributor

RPI image was changed to wic format as well as
a new data partition was added to the image in
the following commits,

26079f1
0d70eaf

fstab was not updated to mount the partitions
added to the wks file. This commit adds these
partitions to fstab.

WIC_CREATE_EXTRA_ARGS = "--no-fstab-update" is
also added to the local.conf for rpi. This stops
wic script to generated fstab file from wks file.
This is required to support swupdate swu image to
use the hardcoded fstab file instead.

Comment thread scripts/lib/wic/canned-wks/raspberrypi.wks Outdated
@sashko
sashko requested a review from a team August 8, 2019 09:06
RPI image was changed to wic format as well as
a new data partition was added to the image in
the following commits,

26079f1
0d70eaf

fstab was not updated to mount the partitions
added to the wks file. This commit adds these
partitions to fstab.

WIC_CREATE_EXTRA_ARGS = "--no-fstab-update" is
also added to the local.conf for rpi. This stops
wic script to generated fstab file from wks file.
This is required to support swupdate swu image to
use the hardcoded fstab file instead.

Also the --uuid is removed from wks, as uuid is
not used to identify boot dev. Instead labels are
used to identify devices.
@martin-ejdestig
martin-ejdestig removed their request for review September 28, 2019 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants