Change bash history to /data/.bash_history

This commit is contained in:
Calin Crisan 2019-12-13 20:55:38 +02:00
parent d7641cd9c8
commit 0659ef300f
4 changed files with 4 additions and 2 deletions

View File

@ -19,6 +19,7 @@ rm -rf ${TARGET}/etc/ssl/man
rm -rf ${TARGET}/etc/ssl/misc
rm -rf ${TARGET}/etc/ssl/private
rm -rf ${TARGET}/etc/logrotate.d
rm -rf ${TARGET}/etc/fstab
rm -f ${TARGET}/etc/rc_maps.cfg
rm -f ${TARGET}/etc/udev/hwdb.d/20-pci-vendor-model.hwdb

View File

@ -1,4 +1,4 @@
# <file system> <mount pt> <type> <options> <dump> <pass>
/dev/mmcblk0p1 /boot vfat ro,defaults 0 0
/dev/mmcblk0p3 /data ext4 defaults,noatime 0 0
overlay /usr overlay lowerdir=/usr,upperdir=/data/usr,workdir=/data/.overlay 0 0

View File

@ -4,4 +4,3 @@ devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs mode=0777 0 0
tmpfs /tmp tmpfs mode=1777 0 0
sysfs /sys sysfs defaults 0 0
overlay /usr overlay lowerdir=/usr,upperdir=/data/usr,workdir=/data/.overlay 0 0

View File

@ -27,6 +27,8 @@ if [ "$PS1" ]; then
export TERM=linux
fi;
export HISTFILE=/data/.bash_history
# custom local profile
test -f /data/etc/profile && source /data/etc/profile