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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user