post-build.sh: Add debugfs and pstore in fstab

Change-Id: Ic1d09ce06621473c7b13255d4e9b10aaed6751df
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
Jeffy Chen
2022-05-06 18:56:29 +08:00
parent 1382493ffc
commit e0954a4796

View File

@ -67,6 +67,14 @@ function fixup_fstab()
;;
esac
sed -i "/[[:space:]]debugfs[[:space:]]/d" ${TARGET_DIR}/etc/fstab
echo -e "debugfs\t/sys/kernel/debug\tdebugfs\tdefaults\t0 0" >> \
${TARGET_DIR}/etc/fstab
sed -i "/[[:space:]]pstore[[:space:]]/d" ${TARGET_DIR}/etc/fstab
echo -e "pstore\t/sys/fs/pstore\tpstore\tdefaults\t0 0" >> \
${TARGET_DIR}/etc/fstab
for part in ${RK_EXTRA_PARTITIONS//@/ }; do
fixup_part $part
done