Copy file list to top directory of partition as '.filesystem'

The file '.filesystem' contains the files that must be copied and stored
in the partition.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I92ac336f23e70846f81c419d18a176e475cdb609
This commit is contained in:
Dongjin Kim
2021-05-08 04:14:15 +09:00
parent 5854723844
commit 8c7a0bac78

View File

@@ -164,6 +164,10 @@ oem_mkfs_ext4() {
fi
done < ${TOPDIR}/custom/${CUSTOMOS}/${src}
# Copy file list to root of partition
cp -a ${TOPDIR}/custom/${CUSTOMOS}/${src} \
${overlayfs_dir}/.filesystem
src=${overlayfs_dir}
else
if [ "x${src}" = "x" ]; then