From the documentation for the files
section:
Entries in
files
section are managed as single files. The attributesfilename
andpath
are mandatory. Attributesdevice
andfilesystem
are optional; they tell SWUpdate to mount device (of the given filesystem type, egext4
) before copyingfilename
topath
.Without
device
andfilesystem
, thefilename
will be copied topath
in the current rootfs.
You have specified device
but not filesystem
, therefore SWUpdate ignores the device
attribute, and copies your files to whichever filesystem is already mounted at /
.
You need to specify filesystem
eg ext4
.
正如@Justin 所提到的,您也必须提及文件系统,因为您更新的是文件而不是整个图像,因此 swupdate 不关心您在文件更新中更新的内容。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.